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

   [fix](engine_clone_task) disable compact when tablet version discontinuous 
to avoid engine clone task failure
   
   Fix the Error case:
   1. if a version incomplete tablet's local version: 0-10, 12-12 (missed 
version 11-11)
   2. engine_clone task starts to snapshot and download from src be, the cloned 
version is 0-12, 13-13
   3. During download, local be accept data write and triggered compaction, now 
the local version is 0-10, 12-15
   4. after clone download finished, local version 12-15 report error: version 
cross src latest(max cloned version 13) the engine clone task failed
   
   To solve this, we diable compact when tablet version exist holes
   1. after clone download finished:
      local version  :        0-10, 12-12, 13-13, 14-14, 15-15
      cloned version :        0-12, 13-13
   2. local repaired result:  0-12, 13-13, 14-14, 15-15
   
   For more details and logs:https://github.com/apache/doris/issues/16424
   
   # Proposed changes
   
   Issue Number: close #16424
   
   ## Problem summary
   
   Describe your changes.
   
   ## Checklist(Required)
   
   1. Does it affect the original behavior: 
       - [x] Yes
       - [ ] No
       - [ ] I don't know
   2. Has unit tests been added:
       - [ ] Yes
       - [ ] No
       - [ ] No Need
   3. Has document been added or modified:
       - [ ] Yes
       - [ ] No
       - [ ] No Need
   4. Does it need to update dependencies:
       - [ ] Yes
       - [x] No
   5. Are there any changes that cannot be rolled back:
       - [ ] Yes (If Yes, please explain WHY)
       - [ ] No
   
   ## Further comments
   
   If this is a relatively large or complex change, kick off the discussion at 
[d...@doris.apache.org](mailto:d...@doris.apache.org) by explaining why you 
chose the solution you did and what alternatives you considered, etc...
   
   


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