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 <igofman99@gmail.com>
* Fix formatting issues
Signed-off-by: ilangofman <igofman99@gmail.com>
* Address PR comments and remove unit test no longer required
Signed-off-by: ilangofman <igofman99@gmail.com>
* Remove closed bool no longer used
Signed-off-by: ilangofman <igofman99@gmail.com>
* Remove error no longer used
Signed-off-by: ilangofman <igofman99@gmail.com>
* Remove comment and change return var
Signed-off-by: ilangofman <igofman99@gmail.com>
* Update log message to debug
Signed-off-by: ilangofman <igofman99@gmail.com>
* Moved log message to separate function
Signed-off-by: ilangofman <igofman99@gmail.com>
* change function name for checking if tsdb is closing
Signed-off-by: ilangofman <igofman99@gmail.com>
* ingester should read/write only when state is running for block store
Signed-off-by: ilangofman <igofman99@gmail.com>
* Move running check to ingester v2 file
Signed-off-by: ilangofman <igofman99@gmail.com>
* Remove extra space
Signed-off-by: ilangofman <igofman99@gmail.com>
* Remove duplication from push func
Signed-off-by: ilangofman <igofman99@gmail.com>
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
@@ -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