mirror of
https://github.com/ceph/ceph
synced 2025-03-30 07:19:14 +00:00
Merge pull request #37882 from cbodley/wip-rgw-data-sync-notification-fix
rgw: data sync: fix obligation check Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
This commit is contained in:
commit
66cafc8312
@ -1317,7 +1317,8 @@ public:
|
||||
|
||||
// loop until the latest obligation is satisfied, because other callers
|
||||
// may update the obligation while we're syncing
|
||||
while (state->progress_timestamp < state->obligation->timestamp &&
|
||||
while ((state->obligation->timestamp == ceph::real_time() ||
|
||||
state->progress_timestamp < state->obligation->timestamp) &&
|
||||
obligation_counter != state->counter) {
|
||||
obligation_counter = state->counter;
|
||||
progress = ceph::real_time{};
|
||||
|
Loading…
Reference in New Issue
Block a user