]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
PG, PrimaryLogPG: trim log and rollback info for error log entries
authorJosh Durgin <jdurgin@redhat.com>
Thu, 8 Mar 2018 03:09:19 +0000 (22:09 -0500)
committerJosh Durgin <jdurgin@redhat.com>
Sat, 10 Mar 2018 01:01:11 +0000 (20:01 -0500)
commit7de0ffccad8ce6c0063fbd0a0882cad3c2467bd1
tree5d111aaa17a0966c45f7b68a324d4528731db872
parenteb3c67fe7dc9040960a73ce780585d10072ac20a
PG, PrimaryLogPG: trim log and rollback info for error log entries

Regular updates piggyback some osd state for this purpose with
MOSDRepOp[Reply]. Do the same thing for pure log entry updates (write
errors and lost/revert additions) via MOSDPGUpdateLogMissing[Reply].

Fixes: http://tracker.ceph.com/issues/22050
Signed-off-by: Josh Durgin <jdurgin@redhat.com>
(cherry picked from commit b50186bfe6c8981700e33c8a62850e21779d67d5)

Conflicts:
qa/standalone/osd/repro_long_log.sh
src/messages/MOSDPGUpdateLogMissing.h
src/messages/MOSDPGUpdateLogMissingReply.h
trival, encode/decode not namespaced
qa/standalone/osd/repro_long_log.sh
src/messages/MOSDPGUpdateLogMissing.h
src/messages/MOSDPGUpdateLogMissingReply.h
src/osd/PG.cc
src/osd/PG.h
src/osd/PrimaryLogPG.cc