]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
FileStore: On mount, scan collections for unstable state
authorSamuel Just <samuel.just@dreamhost.com>
Tue, 23 Aug 2011 15:53:26 +0000 (08:53 -0700)
committerSamuel Just <samuel.just@dreamhost.com>
Tue, 30 Aug 2011 00:43:06 +0000 (17:43 -0700)
commit279e16354ae7bc641c5850d987f12bbe694a4be1
tree9d46ed9c3ad2fd59add904caf029d5766f0be046
parent42742ccd31cb966d8200e2cb1f66a24e4fe34994
FileStore: On mount, scan collections for unstable state

CollectionIndex implementations may perform compound operations
leaving invalid state if interrupted.  index->cleanup() gives
the implementation an oportunity to cleanup any in-progress
operation.  For HashIndex, split and merge fall in this
category

Signed-off-by: Samuel Just <samuel.just@dreamhost.com>
src/os/CollectionIndex.h
src/os/FileStore.cc