gavinchou commented on code in PR #51448:
URL: https://github.com/apache/doris/pull/51448#discussion_r2139377060
##########
cloud/src/recycler/recycler.cpp:
##########
@@ -1938,7 +2342,7 @@ int InstanceRecycler::recycle_rowsets() {
});
std::vector<std::string> rowset_keys;
- std::vector<doris::RowsetMetaCloudPB> rowsets;
+ std::map<std::string, doris::RowsetMetaCloudPB> rowsets;
Review Comment:
为什么需要改成map?
##########
cloud/src/recycler/recycler.cpp:
##########
@@ -2093,12 +2531,14 @@ int InstanceRecycler::recycle_rowsets() {
auto loop_done = [&]() -> int {
std::vector<std::string> rowset_keys_to_delete;
- std::vector<doris::RowsetMetaCloudPB> rowsets_to_delete;
+ std::map<std::string, doris::RowsetMetaCloudPB> rowsets_to_delete;
Review Comment:
同上
--
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]