]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
osd/ECBackend: use an explicit backfill field on ECSubWrite
authorSamuel Just <sjust@redhat.com>
Wed, 19 Oct 2016 16:56:46 +0000 (09:56 -0700)
committerSamuel Just <sjust@redhat.com>
Thu, 17 Nov 2016 18:41:33 +0000 (10:41 -0800)
commit327dd257d3aacc50c560a34cf6e3f61111813ba8
tree8397784e41a099b256a46b65dc262b89042b5567
parent126ada47494658242d2c20c947bc7d9c8f21721e
osd/ECBackend: use an explicit backfill field on ECSubWrite

Previously, we used an empty transaction to indicate when we
were sending the op to a backfill peer which needs the logs,
but can't run the transaction.  I'd like to be able to send
and empty transaction for the rollforward side effect without
it causing the peer to think it missed a backfill op, so
instead, use an explicit flag.  Compatability is handled by
interpretting an old version encoding with an empty transaction
as having the backfill field filled.

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