]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
PGLog: store extra duplicate ops beyond the normal log entries
authorJosh Durgin <jdurgin@redhat.com>
Tue, 18 Apr 2017 22:49:21 +0000 (15:49 -0700)
committerJ. Eric Ivancich <ivancich@redhat.com>
Wed, 26 Jul 2017 15:04:44 +0000 (11:04 -0400)
commit2c856473990fceaa4f75f50b75f2b99f4492c86b
treeb7a5d8182d9e757cfc6641e3ba728c7ca1f8846e
parent8a3876049d7a58788b3bb8d565d85cb272dce662
PGLog: 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: Josh Durgin <jdurgin@redhat.com>
src/osd/PGLog.cc
src/osd/PGLog.h
src/osd/osd_types.cc
src/osd/osd_types.h