diff options
author | Matan Breizman <mbreizma@redhat.com> | 2024-04-11 15:21:02 +0200 |
---|---|---|
committer | Matan Breizman <mbreizma@redhat.com> | 2024-04-15 15:16:19 +0200 |
commit | 2e060f7daf5974bbc4f2933ed312b814428df223 (patch) | |
tree | 66b997aecb0ad27c3f086de50a3e05610cdd7669 | |
parent | Merge PR #56629 into main (diff) | |
download | ceph-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.cc | 2 |
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 = |