You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@doris.apache.org by "Yukang-Lian (via GitHub)" <gi...@apache.org> on 2024/10/12 07:22:55 UTC
[I] [Enhancement] Limit the Number of Delete Rowsets in Compaction to Prevent Version Accumulation Errors [doris]
Yukang-Lian opened a new issue, #41756:
URL: https://github.com/apache/doris/issues/41756
### Search before asking
- [X] I had searched in the [issues](https://github.com/apache/doris/issues?q=is%3Aissue) and found no similar issues.
### Description
In the current compaction process, delete rowsets must be merged during the base compaction phase. If there are too many delete rowsets, the system must wait for the base compaction to merge them. Since base compaction runs infrequently, an excessive number of delete rowsets can delay compaction, resulting in too many versions waiting for compaction and eventually causing errors.
### Solution
1. Implement a check during every delete operation to verify if the tablet already contains too many delete rowsets.
2. The threshold for the number of delete rowsets should be configurable via a setting in config.
3. If the number of delete rowsets exceeds this threshold, return an error to prevent further accumulation.
This solution aims to ensure that the compaction process is performed in a timely manner and prevent excessive versions from causing errors due to delayed compaction.
### Are you willing to submit PR?
- [ ] Yes I am willing to submit a PR!
### Code of Conduct
- [X] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct)
--
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.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
Re: [I] [Enhancement] Limit the Number of Delete Rowsets in Compaction to Prevent Version Accumulation Errors [doris]
Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on issue #41756:
URL: https://github.com/apache/doris/issues/41756#issuecomment-3283046763
We're closing this issue because it hasn't been updated in a while.
If you'd like to revive this issue, please reopen it and feel free a maintainer to remove the Stale tag!
--
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
Re: [I] [Enhancement] Limit the Number of Delete Rowsets in Compaction to Prevent Version Accumulation Errors [doris]
Posted by "Tech-Circle-48 (via GitHub)" <gi...@apache.org>.
Tech-Circle-48 commented on issue #41756:
URL: https://github.com/apache/doris/issues/41756#issuecomment-2443473530
please assign to me
--
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
Re: [I] [Enhancement] Limit the Number of Delete Rowsets in Compaction to Prevent Version Accumulation Errors [doris]
Posted by "morningman (via GitHub)" <gi...@apache.org>.
morningman closed issue #41756: [Enhancement] Limit the Number of Delete Rowsets in Compaction to Prevent Version Accumulation Errors
URL: https://github.com/apache/doris/issues/41756
--
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
Re: [I] [Enhancement] Limit the Number of Delete Rowsets in Compaction to Prevent Version Accumulation Errors [doris]
Posted by "junyizha (via GitHub)" <gi...@apache.org>.
junyizha commented on issue #41756:
URL: https://github.com/apache/doris/issues/41756#issuecomment-2440094569
Hi! I'd like to try out this issue. Could you assign it to me?
--
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