summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatan Breizman <mbreizma@redhat.com>2024-04-11 15:21:02 +0200
committerMatan Breizman <mbreizma@redhat.com>2024-04-15 15:16:19 +0200
commit2e060f7daf5974bbc4f2933ed312b814428df223 (patch)
tree66b997aecb0ad27c3f086de50a3e05610cdd7669
parentMerge PR #56629 into main (diff)
downloadceph-2e060f7daf5974bbc4f2933ed312b814428df223.tar.xz
ceph-2e060f7daf5974bbc4f2933ed312b814428df223.zip
crimson/osd/replicated_recovery_backend: push_info to use 'need' version
Signed-off-by: Matan Breizman <mbreizma@redhat.com>
-rw-r--r--src/crimson/osd/replicated_recovery_backend.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/crimson/osd/replicated_recovery_backend.cc b/src/crimson/osd/replicated_recovery_backend.cc
index a62cb793272..f4745185d8c 100644
--- a/src/crimson/osd/replicated_recovery_backend.cc
+++ b/src/crimson/osd/replicated_recovery_backend.cc
@@ -401,7 +401,7 @@ ReplicatedRecoveryBackend::prep_push(
push_info.recovery_info.ss = push_info_ss;
push_info.recovery_info.soid = soid;
push_info.recovery_info.oi = obc->obs.oi;
- push_info.recovery_info.version = obc->obs.oi.version;
+ push_info.recovery_info.version = need;
push_info.recovery_info.object_exist =
missing_iter->second.clean_regions.object_is_exist();
push_info.recovery_progress.omap_complete =