]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
crimson/osd/pg: make clone object's version consistent with pglog 51639/head
authorXuehan Xu <xxhdx1985126@gmail.com>
Tue, 25 Apr 2023 06:21:07 +0000 (06:21 +0000)
committerMatan Breizman <mbreizma@redhat.com>
Sun, 21 May 2023 09:37:23 +0000 (09:37 +0000)
commit0f437f086ddacd441159e7b128158df9b62c7ba0
treec259e753fa7dc1f1e2295cfefd765c4cad96bfc5
parentbec53a5f29f0dd7516fd061d4caddf66bc0bf085
crimson/osd/pg: make clone object's version consistent with pglog

Right now, the head object's version is 1 less than clone object's
version in the pg log; while it's exactly the other way around when
it comes to the versions recorded in the object info of head/clone
objects

Fixes: https://tracker.ceph.com/issues/59536
Signed-off-by: Xuehan Xu <xxhdx1985126@gmail.com>
(cherry picked from commit 1fd6324bb8baaee4d413f188c78b821f84e5d4ff)
src/crimson/osd/ops_executer.cc
src/crimson/osd/ops_executer.h