gavinchou commented on code in PR #67820:
URL: https://github.com/apache/doris/pull/67820#discussion_r3991281361


##########
gensrc/proto/cloud.proto:
##########
@@ -1256,6 +1263,38 @@ message CheckTxnConflictResponse {
     repeated TxnInfoPB conflict_txns = 3;
 }
 
+message GetTsoRecoveryTransactionsRequest {
+    optional string cloud_unique_id = 1; // For auth
+    // Exclusive transaction-ID bound, fixed for the complete recovery scan.
+    optional int64 end_txn_id = 2;
+    // Maximum running records scanned per batch, including IDs above the 
bound.
+    optional int32 batch_size = 3;
+    optional bytes start_key = 4;
+    optional string request_ip = 5;
+    // Only committed TSO transactions at or below this inclusive fence are 
recovered.
+    optional int64 tso_fence = 6;
+}
+
+message GetTsoRecoveryTransactionsResponse {
+    optional MetaServiceResponseStatus status = 1;
+    // Includes expired running transactions from every database/table in the 
instance.
+    repeated TxnInfoPB txn_infos = 2;
+    // Always present on success; empty means the full instance has been 
scanned.
+    optional bytes next_start_key = 3;
+}
+
+message AdvanceTsoFenceRequest {
+    optional string cloud_unique_id = 1; // For auth
+    // Inclusive upper bound rejected by transaction commit.
+    optional int64 proposed_fence_tso = 2;
+    optional string request_ip = 3;

Review Comment:
   client_ip or request_ip?



-- 
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]

Reply via email to