]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
FileStore::_collection_move_rename: handle missing dst dir on replay
authorSamuel Just <sam.just@inktank.com>
Mon, 4 Nov 2013 19:25:31 +0000 (11:25 -0800)
committerSamuel Just <sam.just@inktank.com>
Tue, 5 Nov 2013 04:33:56 +0000 (20:33 -0800)
commit154ee0b0345482bdfdeb84b7d3b00dba71577d97
tree052ff4fdf616e76de7f10cf771e904bfa7b07885
parent1cd2e6534cc524b1ca3fc9d3e309b8636b3c89f5
FileStore::_collection_move_rename: handle missing dst dir on replay

In case of a replay, a missing destination directory indicates that
the destination object and directory have been removed by a later
transaction.  Thus, we need to remove the src object and return
0.

Fixes: #6714
Signed-off-by: Samuel Just <sam.just@inktank.com>
Reviewed-by: Greg Farnum <greg@inktank.com>
src/os/FileStore.cc