]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
OSD: rollforward may need to mark pglog dirty 27015/head
authorZengran Zhang <zhangzengran@sangfor.com.cn>
Sun, 17 Mar 2019 02:05:11 +0000 (10:05 +0800)
committerZengran Zhang <zhangzengran@sangfor.com.cn>
Tue, 7 May 2019 02:16:42 +0000 (10:16 +0800)
commit10d0990dc69310864b4845ee57b32610a642464f
tree65ccd7eb63d7eb93d94aa8377c576c488440e224
parent6dbe49605e1a4bddaa455f67335cc8b422fab439
OSD: rollforward may need to mark pglog dirty

if we rollforward at the end of PG::activate(), we may advance the *crt*,
but we did not mart the log dirty, this means we will not update the crt
within the transaction of rollforward, so it is inconsistent.

Signed-off-by: Zengran Zhang <zhangzengran@sangfor.com.cn>
src/osd/PGLog.h