]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
KeyValueStore: Remove assert for collection_getattr method
authorHaomai Wang <haomaiwang@gmail.com>
Wed, 19 Nov 2014 03:52:33 +0000 (11:52 +0800)
committerHaomai Wang <haomaiwang@gmail.com>
Wed, 19 Nov 2014 03:52:33 +0000 (11:52 +0800)
commitffb6f78fd098425499ed15ddc4fbe09a41b9cf1c
treefca47bfba1436ab84be4c0c34ceb6909296b6778
parentef2565ecf1922f089cff53b8e72ea4c44f9aebf4
KeyValueStore: Remove assert for collection_getattr method

Merge 22b6c1a5317504e87042ffeff2b2d0d0b71cac5e introduce
5dc990c1ca821620993417ef4acc51a2b0a34606 commit which will lookup "remove"
attr. It shouldn't exist for most of cases but KeyValueStore will crash
if attr isn't exist. It seemed that this assert isn't correct.

Signed-off-by: Haomai Wang <haomaiwang@gmail.com>
src/os/KeyValueStore.cc