]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
PGLog: continuation, store extra duplicate ops beyond the normal log entries 16172/head
authorJ. Eric Ivancich <ivancich@redhat.com>
Mon, 8 May 2017 20:48:18 +0000 (16:48 -0400)
committerJ. Eric Ivancich <ivancich@redhat.com>
Thu, 27 Jul 2017 15:09:04 +0000 (11:09 -0400)
commita3d2c6b6a0cffe6201d1d695b2fb1cd24ae0141d
tree5470bcf8652632831a7c52ec2ed5b28dc76bcc2c
parent2c856473990fceaa4f75f50b75f2b99f4492c86b
PGLog: continuation, store extra duplicate ops beyond the normal log entries

This helps us avoid replaying non-idempotent client operations when
the pg log is very short, e.g. in an effort to force OSDs to use
backfill rather than regular recovery. This can be advantageous to
avoid blocking i/o to objects, at the cost of longer total time to
become clean (since backfill requires scanning the objects to see what
is missing).

Signed-off-by: J. Eric Ivancich <ivancich@redhat.com>
src/common/legacy_config_opts.h
src/common/options.cc
src/osd/PG.cc
src/osd/PGLog.cc
src/osd/PGLog.h
src/osd/osd_types.cc
src/osd/osd_types.h
src/test/osd/TestPGLog.cc
src/tools/ceph_objectstore_tool.cc