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

   ### What problem does this PR solve?
   
   Issue Number: close #67099
   
   Related PR: None
   
   Problem Summary: A cloud commit retry can return a VISIBLE transaction 
without partition versions after the original response was lost. FE then 
returns success while queries can still use stale partition caches. Refresh all 
partitions of txn_info.table_ids using the existing MS version query before 
returning success, including the MoW already-visible shortcut. Return refresh 
errors while keeping the callbacks consistent with the transaction's durable 
commit state.
   
   ### Release note
   
   Fix stale reads after cloud commit retries by refreshing local partition 
caches.
   
   ### Check List (For Author)
   
   - Test: Unit Test
       - 29 tests pass via run-fe-ut.sh (CloudGlobalTransactionMgrTest and 
CloudPartitionTest).
       - FE Checkstyle: 0 violations; git diff --check passes.
       - No cluster deployment or SQL regression run.
   - Behavior changed: Yes. VISIBLE retries missing version results refresh 
local partition caches synchronously; failed refreshes return an error.
   - Does this need documentation: No
   
   


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