You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Introduced lock file to shuffle sharding grouper (#4805)
* Introduced lock file to shuffle sharding grouper
Signed-off-by: Alex Le <[email protected]>
* let redis cache logs log with context (#4785)
* let redis cache logs log with context
Signed-off-by: Mengmeng Yang <[email protected]>
* fix import
Signed-off-by: Mengmeng Yang <[email protected]>
Signed-off-by: Alex Le <[email protected]>
* DoBatch preference to 4xx if error (#4783)
* DoBatch preference to 4xx if error
Signed-off-by: Daniel Blando <[email protected]>
* Fix comment
Signed-off-by: Daniel Blando <[email protected]>
Signed-off-by: Alex Le <[email protected]>
* Updated CHANGELOG and ordered imports
Signed-off-by: Alex Le <[email protected]>
* Fixed lint and removed groupCallLimit
Signed-off-by: Alex Le <[email protected]>
* Changed lock file to json format and make sure planner would not pick up group that is locked by other compactor
Signed-off-by: Alex Le <[email protected]>
* Fix updateCachedShippedBlocks - new thanos (#4806)
Signed-off-by: Alan Protasio <[email protected]>
Signed-off-by: Alex Le <[email protected]>
* Join memberlist on starting with no retry (#4804)
Signed-off-by: Daniel Blando <[email protected]>
* Fix alertmanager log message (#4801)
Signed-off-by: Xiaochao Dong (@damnever) <[email protected]>
Signed-off-by: Alex Le <[email protected]>
* Grafana Cloud uses Mimir now, so remove Grafana Cloud as hosted service in documents (#4809)
* Grafana Cloud uses Mimir, for of Cortex, now
Signed-off-by: Alvin Lin <[email protected]>
* Improve doc
Signed-off-by: Alvin Lin <[email protected]>
Signed-off-by: Alex Le <[email protected]>
* Created block_locker to handle all block lock file operations. Added block lock metrics.
Signed-off-by: Alex Le <[email protected]>
* Moved lock file heart beat into planner and refined planner logic to make sure blocks are locked by current compactor
Signed-off-by: Alex Le <[email protected]>
* Updated documents
Signed-off-by: Alex Le <[email protected]>
* Return concurrency number of group. Use ticker for lock file heart beat
Signed-off-by: Alex Le <[email protected]>
* Renamed lock file to be visit marker file
Signed-off-by: Alex Le <[email protected]>
* Fixed unit test
Signed-off-by: Alex Le <[email protected]>
* Make sure visited block can be picked by compactor visited it
Signed-off-by: Alex Le <[email protected]>
Signed-off-by: Alex Le <[email protected]>
Signed-off-by: Mengmeng Yang <[email protected]>
Signed-off-by: Daniel Blando <[email protected]>
Signed-off-by: Alan Protasio <[email protected]>
Signed-off-by: Xiaochao Dong (@damnever) <[email protected]>
Signed-off-by: Alvin Lin <[email protected]>
Signed-off-by: Alex Le <[email protected]>
Co-authored-by: Mengmeng Yang <[email protected]>
Co-authored-by: Daniel Blando <[email protected]>
Co-authored-by: Alan Protasio <[email protected]>
Co-authored-by: Xiaochao Dong <[email protected]>
Co-authored-by: Alvin Lin <[email protected]>
Copy file name to clipboardExpand all lines: CHANGELOG.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -44,6 +44,7 @@
44
44
*[ENHANCEMENT] Ring: DoBatch prioritize 4xx errors when failing. #4783
45
45
*[ENHANCEMENT] Cortex now built with Go 1.18. #4829
46
46
*[ENHANCEMENT] Ingester: Prevent ingesters to become unhealthy during wall replay. #4847
47
+
*[ENHANCEMENT] Compactor: Introduced visit marker file for blocks so blocks are under compaction will not be picked up by another compactor. #4805
47
48
*[FEATURE] Compactor: Added `-compactor.block-files-concurrency` allowing to configure number of go routines for download/upload block files during compaction. #4784
48
49
*[FEATURE] Compactor: Added -compactor.blocks-fetch-concurrency` allowing to configure number of go routines for blocks during compaction. #4787
49
50
*[FEATURE] Compactor: Added configurations for Azure MSI in blocks-storage, ruler-storage and alertmanager-storage. #4818
f.Var(&cfg.EnabledTenants, "compactor.enabled-tenants", "Comma separated list of tenants that can be compacted. If specified, only these tenants will be compacted by compactor, otherwise all tenants can be compacted. Subject to sharding.")
225
242
f.Var(&cfg.DisabledTenants, "compactor.disabled-tenants", "Comma separated list of tenants that cannot be compacted by this compactor. If specified, and compactor would normally pick given tenant for compaction (via -compactor.enabled-tenants or sharding), it will be ignored instead.")
243
+
244
+
f.DurationVar(&cfg.BlockVisitMarkerTimeout, "compactor.block-visit-marker-timeout", 5*time.Minute, "How long block visit marker file should be considered as expired and able to be picked up by compactor again.")
245
+
f.DurationVar(&cfg.BlockVisitMarkerFileUpdateInterval, "compactor.block-visit-marker-file-update-interval", 1*time.Minute, "How frequently block visit marker file should be updated duration compaction.")
0 commit comments