]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
KeyValueStore: Fix the prefix comparion to avoid object leaks. 4693/head
authorVarada Kari <varada.kari@sandisk.com>
Fri, 15 May 2015 14:16:26 +0000 (19:46 +0530)
committerVarada Kari <varada.kari@sandisk.com>
Fri, 15 May 2015 14:16:26 +0000 (19:46 +0530)
commit9eb760d1d5edba6afa289a6edc6daf05050f80fe
treeda6e3c1e20bb94e8636b0bffae74ccafe6d41082
parente63c44b253027b9fa5f6566a089ec18b39e16b45
KeyValueStore: Fix the prefix comparion to avoid object leaks.

Iterator becomes invalid due to a partial prefix comparision in
rmkeys_by_prefix, resulting in not deleting the objects from backend.
Modified the comparision to the given prefix.

Signed-off-by: Varada Kari <varada.kari@sandisk.com>
src/os/KeyValueDB.h