(storage.mongodb) Handle AutoReconnect

Bug #1169821 reported by Kurt Griffiths
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fix Released
Flavio Percoco

Bug Description

AutoReconnect exceptions are not caught.

Kurt Griffiths (kgriffs)
Changed in marconi:
importance: Undecided → High
milestone: none → havana-1
Changed in marconi:
assignee: nobody → Flavio Percoco Premoli (flaper87)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to marconi (master)

Fix proposed to branch: master
Review: https://review.openstack.org/30230

Changed in marconi:
status: New → In Progress
Kurt Griffiths (kgriffs)
Changed in marconi:
milestone: havana-1 → havana-2
Revision history for this message
Flavio Percoco (flaper87) wrote :
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to marconi (master)

Reviewed: https://review.openstack.org/36353
Committed: http://github.com/stackforge/marconi/commit/1ca46da302a358413d859681b1ad3bac8171538b
Submitter: Jenkins
Branch: master

commit 1ca46da302a358413d859681b1ad3bac8171538b
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
    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.

    All storage back-end should support this.

    Fixes bug: #1169821

    Change-Id: I523232a7cefbd00082447403ceb3abada9af6db3

Changed in marconi:
status: In Progress → Fix Committed
Changed in marconi:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers