platoneko commented on code in PR #21741:
URL: https://github.com/apache/doris/pull/21741#discussion_r1260925777
##########
be/src/olap/storage_engine.cpp:
##########
@@ -1139,4 +1143,23 @@ Status
StorageEngine::get_compaction_status_json(std::string* result) {
return Status::OK();
}
+void StorageEngine::add_quering_rowset(RowsetSharedPtr rs) {
+ std::lock_guard<std::mutex> lock(_quering_rowsets_mutex);
+ _querying_rowsets.emplace(rs->rowset_id(), rs);
Review Comment:
```suggestion
_querying_rowsets.emplace(rs->rowset_id(), std::move(rs));
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]