]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
os/bluestore: accept undecodable multi-block bluefs transactions on log 43024/head
authorIgor Fedotov <ifedotov@suse.com>
Wed, 18 Aug 2021 10:39:02 +0000 (13:39 +0300)
committerIgor Fedotov <ifedotov@suse.com>
Thu, 2 Sep 2021 09:56:02 +0000 (12:56 +0300)
commitb5e685f21b92e161cabbc654c49f32534b326bce
treee994805785818b2db8eb1c92433541203ae258e9
parent59c73c082189c0f279d86688707294694fd83e97
os/bluestore: accept undecodable multi-block bluefs transactions on log
replay.

We should proceed with OSD startup when detecting undecodable bluefs
transaction spanning multiple disk blocks during log replay.
The rationale is that such a transaction might appear during unexpected
power down - just not every disk block is written to disk. Hence we can
consider this a normal log replay stop condition.

https://tracker.ceph.com/issues/52079

Signed-off-by: Igor Fedotov <ifedotov@suse.com>
(cherry picked from commit 2ba5cb7865c2a7452ee2abda5e0986ce9c42f4b9)

 Conflicts:
src/os/bluestore/BlueFS.cc (trivial)
src/os/bluestore/BlueFS.cc