starrocks
starrocks copied to clipboard
Tablet balancing in high-frequency load scenarios might lead to increased transaction publishing latency
Enhancement
In high-frequency load scenarios, newly cloned tablets are likely to have missing versions. If the repair task remains pending, it will increase the transaction publishing latency. There are two specific manifestations:
- Missing versions in newly cloned tablet may cause a single BE publish version task to be blocked. Concurrent balancing across multiple BEs might lead to other tablets failing to reach quorum (currently alleviated by setting report_tablet_interval_seconds=1)
- Transaction publishing requires waiting for all tablets to complete or until the timeout threshold is reached (currently alleviated by setting quorum_publish_wait_time_ms=0)
The queuing of version repair tasks is attributed to:
- Full cloning being a time-consuming operation
- Saturation of clone slots
Optimization suggestions:
- Allocate dedicated slot resources for version repair tasks to avoid resource contention with full cloning operations
- Perform version checks and repairs after tablet cloning completes
We have marked this issue as stale because it has been inactive for 6 months. If this issue is still relevant, removing the stale label or adding a comment will keep it active. Otherwise, we'll close it in 10 days to keep the issue queue tidy. Thank you for your contribution to StarRocks!