]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
crimson/osd/pg: make clone object's version consistent with pglog 51202/head
authorXuehan Xu <xxhdx1985126@gmail.com>
Tue, 25 Apr 2023 06:21:07 +0000 (06:21 +0000)
committerXuehan Xu <xxhdx1985126@gmail.com>
Tue, 25 Apr 2023 06:46:12 +0000 (06:46 +0000)
commit1fd6324bb8baaee4d413f188c78b821f84e5d4ff
treeb0a7779f4544df084574c7e916228dad097ea677
parent23183260c5da251698b083bc9866c22a17af5ec8
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>
src/crimson/osd/ops_executer.cc
src/crimson/osd/ops_executer.h