]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
FileStore: set replay guard on create_collection
authorSamuel Just <sam.just@inktank.com>
Mon, 11 Feb 2013 20:52:07 +0000 (12:52 -0800)
committerSamuel Just <sam.just@inktank.com>
Tue, 12 Feb 2013 18:15:03 +0000 (10:15 -0800)
commit411770c45734c9827745ddc4018d86c14f2858a6
tree2f80e6740838f0d0091abf84c7c4ed13e13860c2
parentb184ff581a08c9e6ce5b858f06ccbe9d0e2a170b
FileStore: set replay guard on create_collection

This should prevent sequences like:

rmcoll a
mkcoll a
touch a foo
<crash>

from causing trouble by preventing the rmcoll
and mkcoll from being replayed.

Fixes: 4064
Backport: bobtail
Signed-off-by: Samuel Just <sam.just@inktank.com>
src/os/FileStore.cc
src/os/FileStore.h