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 <leqiyue@amazon.com>
* let redis cache logs log with context (#4785)
* let redis cache logs log with context
Signed-off-by: Mengmeng Yang <mengmengyang616@gmail.com>
* fix import
Signed-off-by: Mengmeng Yang <mengmengyang616@gmail.com>
Signed-off-by: Alex Le <leqiyue@amazon.com>
* DoBatch preference to 4xx if error (#4783)
* DoBatch preference to 4xx if error
Signed-off-by: Daniel Blando <ddeluigg@amazon.com>
* Fix comment
Signed-off-by: Daniel Blando <ddeluigg@amazon.com>
Signed-off-by: Alex Le <leqiyue@amazon.com>
* Updated CHANGELOG and ordered imports
Signed-off-by: Alex Le <leqiyue@amazon.com>
* Fixed lint and removed groupCallLimit
Signed-off-by: Alex Le <leqiyue@amazon.com>
* 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 <leqiyue@amazon.com>
* Fix updateCachedShippedBlocks - new thanos (#4806)
Signed-off-by: Alan Protasio <approtas@amazon.com>
Signed-off-by: Alex Le <leqiyue@amazon.com>
* Join memberlist on starting with no retry (#4804)
Signed-off-by: Daniel Blando <ddeluigg@amazon.com>
* Fix alertmanager log message (#4801)
Signed-off-by: Xiaochao Dong (@damnever) <the.xcdong@gmail.com>
Signed-off-by: Alex Le <leqiyue@amazon.com>
* 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 <alvinlin123@gmail.com>
* Improve doc
Signed-off-by: Alvin Lin <alvinlin@amazon.com>
Signed-off-by: Alex Le <leqiyue@amazon.com>
* Created block_locker to handle all block lock file operations. Added block lock metrics.
Signed-off-by: Alex Le <leqiyue@amazon.com>
* 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 <leqiyue@amazon.com>
* Updated documents
Signed-off-by: Alex Le <leqiyue@amazon.com>
* Return concurrency number of group. Use ticker for lock file heart beat
Signed-off-by: Alex Le <leqiyue@amazon.com>
* Renamed lock file to be visit marker file
Signed-off-by: Alex Le <leqiyue@amazon.com>
* Fixed unit test
Signed-off-by: Alex Le <leqiyue@amazon.com>
* Make sure visited block can be picked by compactor visited it
Signed-off-by: Alex Le <leqiyue@amazon.com>
Signed-off-by: Alex Le <leqiyue@amazon.com>
Signed-off-by: Mengmeng Yang <mengmengyang616@gmail.com>
Signed-off-by: Daniel Blando <ddeluigg@amazon.com>
Signed-off-by: Alan Protasio <approtas@amazon.com>
Signed-off-by: Xiaochao Dong (@damnever) <the.xcdong@gmail.com>
Signed-off-by: Alvin Lin <alvinlin@amazon.com>
Signed-off-by: Alex Le <emoc1989@gmail.com>
Co-authored-by: Mengmeng Yang <mengmengyang616@gmail.com>
Co-authored-by: Daniel Blando <ddeluigg@amazon.com>
Co-authored-by: Alan Protasio <approtas@amazon.com>
Co-authored-by: Xiaochao Dong <the.xcdong@gmail.com>
Co-authored-by: Alvin Lin <alvinlin@amazon.com>
Copy file name to clipboardExpand all lines: CHANGELOG.md
+1Lines changed: 1 addition & 0 deletions
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