]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mon: MonitorDBStore: make get_next_key() work properly 5360/head
authorJoao Eduardo Luis <joao@suse.de>
Mon, 7 Sep 2015 13:12:19 +0000 (14:12 +0100)
committerJoao Eduardo Luis <joao@redhat.com>
Wed, 9 Sep 2015 14:43:51 +0000 (15:43 +0100)
commitde53addac8234037a66cdd45cf8007deba7a0530
treef44a08722af46bd3c4ae425bc70f2c414d3723a7
parentd52187019d321fe8a2dc54fe8a67a5139c310db1
mon: MonitorDBStore: make get_next_key() work properly

We introduced a significant bug with 2cc7aee, when we fixed issue #11786.
Although that patch would fix the problem described in #11786, we
managed to not increment the iterator upon returning the current key.
This would have the iterator iterating over the same key, forever and
ever.

Signed-off-by: Joao Eduardo Luis <joao@suse.de>
(cherry picked from commit 70d31082fd3dc8c7857994104577f1a3631c678c)
src/mon/MonitorDBStore.h