forked from apache/doris
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[opt](recycler) Improve robustness and observability (apache#45617)
1. Fix delete non-existed object, the original impl. does not handle correctly 2. Add recycle lag indicators: bvars for index, partition, rowset and txn 1. `recycle_index_earlest_ts_${instance_id}` dropped table/mv 2. `recycle_partition_earlest_ts_${instance_id}` dropped partitions 3. `recycle_rowset_earlest_ts_${instance_id}` compacted rowset 4. `recycle_tmp_rowset_earlest_ts_${instance_id}` aborted transactions tmp data 5. `recycle_expired_txn_label_earlest_ts_${instance_id}` expired labels and transactions 4. Add retry for scan_and_recycle() to prevent KV error like "Request future version" 6. Fix recycle delete instance may leak object data: we have to delete data first before delete KV 7. Improve code readability: remove duplicated code and add more comments
- Loading branch information
Showing
9 changed files
with
398 additions
and
281 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.