Hi John,
Thanks very much for your response. Actually, I am using concurrent append/replace locks in the append ingestion task and the compaction task in my testing.
In my real case, it has more serious late event, which can be 40 days longer.
Before, for this case, the append ingestion task is using segment lock, and the compaction task is also using segment lock. The compaction tasks are scheduled to run twice a day. The compaction task can run successfully even when the append ingestion task is running, so the segment number introduced by the late event can be reduced by the compaction task.
Recently, we found some drawbacks of using segment lock to overwrite.
- the segment lock cost a lot of time when the interval contains lots of segment (1000+ in my case)
- the segment lock to compact will fail if the segment partition number is not consecutive (usually caused by append ingestion task failure)
We are expecting concurrent lock to solve our case. It is a fantastic feature.
So my question is: Is there any way to disable the condense behavior when append lock is used? You can still condense when replace lock is used. It is acceptable that we add an option in the task context to enforce this behavior.
Wish to get your option soon.
Thanks.