Update src/storage/v3/shard_rsm.cpp
Co-authored-by: János Benjamin Antal <antaljanosbenjamin@users.noreply.github.com>
This commit is contained in:
parent
c4e22ffde3
commit
68e51e73ba
@ -563,7 +563,7 @@ msgs::ReadResponses ShardRsm::HandleRead(msgs::ExpandOneRequest &&req) {
|
||||
break;
|
||||
}
|
||||
|
||||
results.emplace_back(maybe_result.value());
|
||||
results.emplace_back(std::move(maybe_result.value()));
|
||||
if (batch_limit.has_value() && results.size() >= batch_limit.value()) {
|
||||
break;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user