mymeiyi opened a new pull request, #67761:
URL: https://github.com/apache/doris/pull/67761

   `get_prepare_txn_by_coordinator` scans all `txn_info_key` records in a 
single KV transaction, which may frequently fail with `KV_TXN_TOO_OLD` when 
there are many records. Creating a new transaction and resuming from the failed 
page addresses the expiry issue, but scanning all transaction info records 
remains expensive.
   
   Scan `txn_running_key` records instead and batch-read the corresponding 
transaction info in groups of 128, while retaining the ability to resume from 
the failed page after transaction expiry.


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