Yukang-Lian opened a new pull request, #67247:
URL: https://github.com/apache/doris/pull/67247

   ### What problem does this PR solve?
   
   Issue Number: None
   
   Related PR: #62946
   
   Problem Summary: Schema change and rollup jobs exposed shadow indexes to 
load planning before reserving their watershed transaction boundary. A 
transaction could therefore miss the shadow index while being ordered after the 
watershed, leaving a rowset version gap that the alter job would not wait for. 
Reserve the boundary under the same table write lock used to publish the shadow 
metadata in local and cloud jobs, and keep schema-change jobs pending when the 
second stability check aborts publication.
   
   ### Release note
   
   None
   
   ### Check List (For Author)
   
   - Test: Unit Test
       - SchemaChangeJobV2Test
       - RollupJobV2Test
       - CloudIndexTest
   - Behavior changed: Yes (shadow indexes are published only after their 
transaction watershed is reserved)
   - Does this need documentation: No
   
   Co-authored-by: Siyang Tang <[email protected]>
   


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