]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
osd/PGLog: allow pg log trim when complete_to is less than trim_to
authorNeha Ojha <nojha@redhat.com>
Tue, 17 Jul 2018 01:11:27 +0000 (18:11 -0700)
committerNeha Ojha <nojha@redhat.com>
Fri, 18 Jan 2019 19:06:13 +0000 (14:06 -0500)
commit4bee8a0ebe7fe2b7c86cccee30e5468a2a89ea1e
treead57cdc161f6c05a0fe1420e2adafef7372dc6a1
parente8d9882ea63915fe63d8a9ac660e62920797b994
osd/PGLog: allow pg log trim when complete_to is less than trim_to

Signed-off-by: Neha Ojha <nojha@redhat.com>
(cherry picked from commit a5329ba8dd169e55deaff47d042354e53d8e722d)

Conflicts:
src/osd/PGLog.cc: Now it is possible to have complete_to version
        less than or equal to trim version, because the pg log length upper
        limit is a hard limit, and trim can proceed even when there is
        pending recovery/backfill. So do not complain when this happens.
src/osd/PGLog.cc