]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
PGLog::claim_log_and_clear_rollback_info: fix rollback_info_trimmed_to
authorSamuel Just <sam.just@inktank.com>
Mon, 15 Sep 2014 22:44:11 +0000 (15:44 -0700)
committerSamuel Just <sam.just@inktank.com>
Thu, 18 Sep 2014 16:47:02 +0000 (09:47 -0700)
commitc4685075f583ff58cc05220a3044a10b8392033c
tree8f64c14881ecf963b24761cbabfad644bf726f08
parent112f6f021bd063e2647169ba42729a447e5848e1
PGLog::claim_log_and_clear_rollback_info: fix rollback_info_trimmed_to

We have been setting it to the old head value.  This is usually
harmless since the new head will virtually always be ahead of the
old head for claim_log_and_clear_rollback_info, but can cause trouble
in some edge cases.

Fixes: #9481
Backport: firefly
Signed-off-by: Samuel Just <sam.just@inktank.com>
(cherry picked from commit 0769310ccd4e0dceebd8ea601e8eb5c0928e0603)
src/osd/PGLog.h