]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mon: MonitorDBStore: get_next_key() only if prefix matches 4783/head
authorJoao Eduardo Luis <joao@suse.de>
Wed, 27 May 2015 21:28:49 +0000 (22:28 +0100)
committerJoao Eduardo Luis <joao@suse.de>
Thu, 28 May 2015 07:12:48 +0000 (08:12 +0100)
commit2cc7aee1abe40453093306c8fef2312b650dff5d
tree11b2d5a6c078695ec9f25c06643286b6b5595905
parent770bd756b191d243fd7754aad57bf0bbbe38943f
mon: MonitorDBStore: get_next_key() only if prefix matches

get_next_key() had a bug in which we would always return the first key
from the iterator, regardless of whether its prefix had been specified
to the iterator.

Fixes: #11786
Signed-off-by: Joao Eduardo Luis <joao@suse.de>
src/mon/MonitorDBStore.h