You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@doris.apache.org by GitBox <gi...@apache.org> on 2021/09/02 08:40:24 UTC

[GitHub] [incubator-doris] weizuo93 opened a new pull request #6552: [Bug] [Truncate] Fix tablet number is different between the new partition and base partition after truncate operation

weizuo93 opened a new pull request #6552:
URL: https://github.com/apache/incubator-doris/pull/6552


   
   ## Proposed changes
   Fix #6551 
   
   `Truncate` operation will create new partition to replace base partition. Tablets in new partition would be created based on table default bucket number. If the number of tablet for a partition is different from table default bucket number, the number of tablet will be different between the new created partition and base partition after truncate operation.
   
   In any case, the new partition should hava the same number of tablet as the base partition after truncate operation. Tablets in new partition should be created based on tablet number of base partition rather than table default bucket number for truncate operation.
   
   ## Types of changes
   
   What types of changes does your code introduce to Doris?
   _Put an `x` in the boxes that apply_
   
   - [x] Bugfix (non-breaking change which fixes an issue)
   - [ ] New feature (non-breaking change which adds functionality)
   - [ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
   - [ ] Documentation Update (if none of the other choices apply)
   - [ ] Code refactor (Modify the code structure, format the code, etc...)
   - [ ] Optimization. Including functional usability improvements and performance improvements.
   - [ ] Dependency. Such as changes related to third-party components.
   - [ ] Other.
   


-- 
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-unsubscribe@doris.apache.org

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



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


[GitHub] [incubator-doris] weizuo93 commented on pull request #6552: [Bug] [Truncate] Fix tablet number is different between the new partition and base partition after truncate operation

Posted by GitBox <gi...@apache.org>.
weizuo93 commented on pull request #6552:
URL: https://github.com/apache/incubator-doris/pull/6552#issuecomment-912392247


   > Could please add some UT for this case?
   
   Done.


-- 
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-unsubscribe@doris.apache.org

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



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


[GitHub] [incubator-doris] github-actions[bot] commented on pull request #6552: [Bug] [Truncate] Fix tablet number is different between the new partition and base partition after truncate operation

Posted by GitBox <gi...@apache.org>.
github-actions[bot] commented on pull request #6552:
URL: https://github.com/apache/incubator-doris/pull/6552#issuecomment-913339635






-- 
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-unsubscribe@doris.apache.org

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



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


[GitHub] [incubator-doris] morningman merged pull request #6552: [Bug] [Truncate] Fix tablet number is different between the new partition and base partition after truncate operation

Posted by GitBox <gi...@apache.org>.
morningman merged pull request #6552:
URL: https://github.com/apache/incubator-doris/pull/6552


   


-- 
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-unsubscribe@doris.apache.org

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



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