]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
PG: Create new snap directories independently on replica
authorSamuel Just <samuel.just@dreamhost.com>
Fri, 28 Oct 2011 21:18:12 +0000 (14:18 -0700)
committerSamuel Just <samuel.just@dreamhost.com>
Fri, 28 Oct 2011 21:25:15 +0000 (14:25 -0700)
commitbd3223f9e069f22fa5f126dbfbd3781e7d21e310
tree9ecac0cdefcea2354f2a17cac5e6982e03d7214a
parentb497b385ab8356b72d79c8cd0f3cf44a27184200
PG: Create new snap directories independently on replica

Previously, we shipped over the collection creation as part
of the transaction.  However, the snap directory on the
replica might or might not exist already due to recovery
progress.

Signed-off-by: Samuel Just <samuel.just@dreamhost.com>
src/osd/PG.cc
src/osd/PG.h
src/osd/ReplicatedPG.cc