Comment 6 for bug 1309555

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to ceilometer (stable/juno)

Reviewed: https://review.openstack.org/137133
Committed: https://git.openstack.org/cgit/openstack/ceilometer/commit/?id=b3307b1d6cd38572a78ca9f072b2e7ccd8cbd398
Submitter: Jenkins
Branch: stable/juno

commit b3307b1d6cd38572a78ca9f072b2e7ccd8cbd398
Author: Igor Degtiarov <email address hidden>
Date: Thu Oct 23 14:05:38 2014 +0300

    [MongoDB] Fix bug with reconnection to new master node

    Fixes bug with raising AutoReconnect exception when MongoDB ReplicaSet
    loses connection to primary node.

    Closes-Bug: #1309555

    Conflicts:
     ceilometer/event/storage/impl_db2.py
     ceilometer/event/storage/impl_mongodb.py
     ceilometer/storage/__init__.py
     ceilometer/storage/mongo/utils.py
            ceilometer/tests/storage/test_pymongo_base.py

    Conflicts are due to refactoring of the storage drivers and this patch
    has been modified to account for the refactor. The test case within the
    file test_pymongo_base.py was removed since equivalent test coverage
    was included in the cherry picked commit in the test_storage_scenarios.py
    file.

    Change-Id: Id0e81ba60b28d09adff6a10d04b412f25257d8ce
    (cherry-picked from commit 21d882c96cbbaeb8b78ff91e06e3615be97bff07)