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
Prevent read on TSDB once closeAllTSDB function has been called (#4304)
* Prevent read on TSDB once closeAllTSDB function has been called
Signed-off-by: ilangofman <[email protected]>
* Fix formatting issues
Signed-off-by: ilangofman <[email protected]>
* Address PR comments and remove unit test no longer required
Signed-off-by: ilangofman <[email protected]>
* Remove closed bool no longer used
Signed-off-by: ilangofman <[email protected]>
* Remove error no longer used
Signed-off-by: ilangofman <[email protected]>
* Remove comment and change return var
Signed-off-by: ilangofman <[email protected]>
* Update log message to debug
Signed-off-by: ilangofman <[email protected]>
* Moved log message to separate function
Signed-off-by: ilangofman <[email protected]>
* change function name for checking if tsdb is closing
Signed-off-by: ilangofman <[email protected]>
* ingester should read/write only when state is running for block store
Signed-off-by: ilangofman <[email protected]>
* Move running check to ingester v2 file
Signed-off-by: ilangofman <[email protected]>
* Remove extra space
Signed-off-by: ilangofman <[email protected]>
* Remove duplication from push func
Signed-off-by: ilangofman <[email protected]>
Copy file name to clipboardExpand all lines: CHANGELOG.md
+1
Original file line number
Diff line number
Diff line change
@@ -28,6 +28,7 @@
28
28
*[ENHANCEMENT] Memberlist: expose configuration of memberlist packet compression via `-memberlist.compression=enabled`. #4346
29
29
*[BUGFIX] HA Tracker: when cleaning up obsolete elected replicas from KV store, tracker didn't update number of cluster per user correctly. #4336
30
30
*[BUGFIX] Ruler: fixed counting of PromQL evaluation errors as user-errors when updating `cortex_ruler_queries_failed_total`. #4335
31
+
*[BUGFIX] Ingester: When using block storage, prevent any reads or writes while the ingester is stopping. This will prevent accessing TSDB blocks once they have been already closed. #4304
0 commit comments