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

   ### What problem does this PR solve?
   
   Issue Number: None
   
   Related PR: #62867
   
   Problem Summary: Delete rowsets can carry only the columns needed by their 
predicates and omit indexes after a light schema change. MetaService treated 
those inline schemas as authoritative: commit and restore paths could write 
them to shared schema KV, while get-rowset and retry collision paths could 
reuse them for normal rowsets with the same schema version. This could produce 
schema mismatches and fail later normal rowset commits. Keep delete rowset 
schemas inline and rowset-local, and exclude them from shared schema writes and 
reuse in both legacy and versioned metadata modes.
   
   ### Release note
   
   Prevent Cloud MetaService delete rowsets from corrupting or being reused as 
shared tablet schemas.
   
   ### Check List (For Author)
   
   - Test: Unit Test
       - `./run-cloud-ut.sh --run 
--filter=meta_service_test:MetaServiceTest.DeleteRowsetSchemaStaysRowsetLocal 
-j 32`
       - `./build.sh --cloud -j 32`
   - Behavior changed: Yes (delete rowset inline schemas are no longer shared 
across rowsets)
   - 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