AutoReconnect errors are not being handled and so, propagated to the client.
This patch adds a safe_call decorator. The purpose of safe_call is to catch
ConnectionFailure and raise a ConnectionError instead. Future patches will make
the transport catch ConnectionError and handle it correctly instead of
propagating it to the client.
Reviewed: https:/ /review. openstack. org/36353 github. com/stackforge/ marconi/ commit/ 1ca46da302a3584 13d859681b1ad3b ac8171538b
Committed: http://
Submitter: Jenkins
Branch: master
commit 1ca46da302a3584 13d859681b1ad3b ac8171538b
Author: Flaper Fesp <email address hidden>
Date: Wed Jul 10 00:14:36 2013 +0200
Handle AutoReconnect errors.
AutoReconnect errors are not being handled and so, propagated to the client.
This patch adds a safe_call decorator. The purpose of safe_call is to catch ailure and raise a ConnectionError instead. Future patches will make
ConnectionF
the transport catch ConnectionError and handle it correctly instead of
propagating it to the client.
All storage back-end should support this.
Fixes bug: #1169821
Change-Id: I523232a7cefbd0 0082447403ceb3a bada9af6db3