docker / libkv

Distributed key/value store abstraction library
Apache License 2.0
853 stars 205 forks source link

Increase transientTimeout of boltdb to 2mimute #135

Open coolljt0725 opened 8 years ago

coolljt0725 commented 8 years ago

During docker stress test, there are a lot of timeout errors on update libnetwork object to store. ERRO[0137] docker: Error response from daemon: failed to update store for object type *libnetwork.endpoint: timeout. error=exit status 125

I think we should increase the timeout to 2m because 2m is also the timeout of container starting timeout of docker.

Signed-off-by: Lei Jitang leijitang@huawei.com

thaJeztah commented 8 years ago

ping @abronan PTAL

abronan commented 8 years ago

I don't know if this is the right approach to bump the default transient timeout to fix the tests (hitting the error mostly because of limited resources on the CI), imho the field should be configurable with libnetwork and using a custom value for testing. But I'm not familiar with how libnetwork configures boltdb.

ping @sanimej as this impacts boltdb and libnetwork.