]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
filejournal: fix replay of non-idempotent ops
authorSage Weil <sage@newdream.net>
Thu, 10 Nov 2011 21:18:51 +0000 (13:18 -0800)
committerSage Weil <sage.weil@dreamhost.com>
Fri, 11 Nov 2011 05:12:38 +0000 (21:12 -0800)
commitadd04d15f42a621f8a999163422fa31deb9ade05
tree8251d090520f831e06fe04dbebc41750ebb0f76a
parent9f1673c15a1bd1fc3caffc45b625e06e819c8aa3
filejournal: fix replay of non-idempotent ops

- start sync thread prior to replay, so that we can commit as we replay
  operations
- keep applied_seq accurate
- pass seq (not old op_seq) to do_transactions
- carry open_ops ref so that commit blocks until we have finished applying
  the full transaction

Signed-off-by: Sage Weil <sage@newdream.net>
src/os/FileStore.cc
src/os/JournalingObjectStore.cc