]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
osd/: add projected_log to do client dup detection on not yet committed log entries
authorSamuel Just <sjust@redhat.com>
Fri, 28 Oct 2016 01:38:02 +0000 (18:38 -0700)
committerSamuel Just <sjust@redhat.com>
Thu, 17 Nov 2016 18:41:34 +0000 (10:41 -0800)
commitccbc90dd736770cafe928d7c038ebde471c06aad
tree7560d58fe5201e081330bd9b4402d43991abbe91
parent907b357e8fd8c7c8d5652e24fc1ee533ed442029
osd/: add projected_log to do client dup detection on not yet committed log entries

Log entries don't get added to the log for ECBackend until reads are
done, yet we still want any other requests with the same id to wait.

ReplicatedPG::update_range should consider the projected log as well.

Signed-off-by: Samuel Just <sjust@redhat.com>
src/osd/PG.cc
src/osd/PG.h
src/osd/PGLog.h
src/osd/ReplicatedPG.cc