]> 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 2518/head
authorSamuel Just <sam.just@inktank.com>
Mon, 15 Sep 2014 22:44:11 +0000 (15:44 -0700)
committerSamuel Just <sam.just@inktank.com>
Wed, 17 Sep 2014 03:56:21 +0000 (20:56 -0700)
commit0769310ccd4e0dceebd8ea601e8eb5c0928e0603
treeb164d1cdc362d44ab8dd57ef2feb5ebb709cb129
parenteb1b2e0072bf605095f4104c2b6c2abfba216dbe
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>
src/osd/PGLog.h