Merge pull request #38127 from tchaikov/wip-crimson-client-request-wait

crimson/osd: do not wait for sent epoch

Reviewed-by: Xuehan Xu <xxhdx1985126@gmail.com>
Reviewed-by: Samuel Just <sjust@redhat.com>
This commit is contained in:
Kefu Chai 2020-12-01 07:15:49 +08:00 committed by GitHub
commit f440f6d297
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -76,7 +76,7 @@ seastar::future<> ClientRequest::start()
handle.enter(pp(pg).await_map)
).then([this, &pg]() mutable {
return with_blocking_future(
pg.osdmap_gate.wait_for_map(m->get_map_epoch()));
pg.osdmap_gate.wait_for_map(m->get_min_epoch()));
}).then([this, &pg](auto map) mutable {
return with_blocking_future(
handle.enter(pp(pg).wait_for_active));