accre / lstore

LStore - A fault-tolerant, performant distributed data storage framework.
http://www.lstore.org
Apache License 2.0
4 stars 5 forks source link

should the api sleep? #128

Open PerilousApricot opened 8 years ago

PerilousApricot commented 8 years ago

seems odd:

https://github.com/accre/lstore/blob/ef08ece51b8b8d798f3fbbf7d4c057fb5669d785/src/lio/lio_core_os.c#L1030

tacketar commented 8 years ago

Definitely not ideal. We used to have a lot of failures connecting to the lserver that mainly showed up when setting attributes. A simple sleep and retry seemed to fix it. For all I know this is never hit.
It wouldn't be a bad idea to add some graphic data points here just to see if/how often this gets triggered. That may allow us to find the root problem and fix it.