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

   
   In cloud mode, when do schema change, shadow tablet encounters -235 because 
it cant do cumulative compaction in the case of a large number of loads. And it 
will prevents the user from continuing to loads. Implementation details:
   1. When start schema change, record the end convert rowset version 
`alter_version` into SchemaChangeJob.
   2. For origin tablet, only can do base compaction in [0, `alter_version`] 
and do cumulative compaction in (`alter_version`, N]. can not do compaction 
across `alter_verison` such as compaction [a, `alter_version` + n].
   3. For shadow tablet, cannot do base compaction and and do cumulative 
compaction in (`alter_version`, N].
   4. When the schema change failed because FE or BE coredump, it will retry. 
When retry the schema change, it will get the `alter_version` from meta_serive, 
and continue to do it.
   5. When finish the schema change job or cancel it, we need to clear the 
schema change job. Before this pr, it will cover by next schema change.
   
   ## Proposed changes
   
   Issue Number: close #xxx
   
   <!--Describe your changes.-->
   
   


-- 
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: commits-unsubscr...@doris.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org
For additional commands, e-mail: commits-h...@doris.apache.org

Reply via email to