gavinchou commented on code in PR #60310:
URL: https://github.com/apache/doris/pull/60310#discussion_r2791939433
##########
cloud/src/meta-service/meta_service.cpp:
##########
@@ -2553,6 +2553,43 @@ void
MetaServiceImpl::prepare_rowset(::google::protobuf::RpcController* controll
return;
}
+ // Record the BE's cluster_id in TxnInfoPB for compaction read-write
separation.
+ // prepare_rowset is called by BE directly, so cloud_unique_id is the BE's.
+ // commit_txn is called by FE, so we store the cluster_id here for later
use.
+ if (rowset_meta.has_load_id()) {
Review Comment:
there are performance issues
we should not touch these kvs every time we prepare rowset.
--
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]