]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mds: cleanly update snapserver table after snap purge
authorSage Weil <sage@newdream.net>
Fri, 17 Oct 2008 19:43:15 +0000 (12:43 -0700)
committerSage Weil <sage@newdream.net>
Fri, 17 Oct 2008 19:45:10 +0000 (12:45 -0700)
commit688dd38417f37afea2a8c05b33bfb482dac96ed5
tree05593fac76ff09eea5237966d273bc56edab439a
parent80532dd8c0060012132bad273032b587672a0569
mds: cleanly update snapserver table after snap purge

Any modifications to the table need to be journaled.  Create MDSTableServer infrastructure
for a simple update done by the server (no prepare/commit), and use it to
remove the snapid(s).  Replay no works.
src/mds/MDSTableServer.cc
src/mds/MDSTableServer.h
src/mds/SnapServer.cc
src/mds/SnapServer.h
src/mds/journal.cc
src/mds/mds_table_types.h