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
* Added support for flushing blocks.
Flushing can be triggered by:
- using -experimental.tsdb.flush-blocks-on-shutdown option
- using /flush endpoint (works for chunks too) -- this triggers flush and shipping (if enabled), but endpoint returns immediately
- using /shutdown endpoint (works for chunks too) -- enables flush flag, and shuts down ingester. Endpoint waits until flushing and shipping has finished.
Signed-off-by: Peter Štibraný <[email protected]>
* Added tests to verify flushing behaviour.
Signed-off-by: Peter Štibraný <[email protected]>
* If shipping is triggered by /flush loop, log message after finished.
Signed-off-by: Peter Štibraný <[email protected]>
* Updated doc.
Signed-off-by: Peter Štibraný <[email protected]>
* Added CHANGELOG.md
Signed-off-by: Peter Štibraný <[email protected]>
* Fix check whether head is empty or not.
Signed-off-by: Peter Štibraný <[email protected]>
* Unified compaction into single method.
Both shipping and compaction now send completion notification back.
Flushing reacts on ingester stopping, and writes proper message.
Signed-off-by: Peter Štibraný <[email protected]>
* Fix logging.
Signed-off-by: Peter Štibraný <[email protected]>
* Fix tests after rebase.
Signed-off-by: Peter Štibraný <[email protected]>
* Update comment.
Signed-off-by: Peter Štibraný <[email protected]>
* Removed logger.
Signed-off-by: Peter Štibraný <[email protected]>
* Add user to log message.
Signed-off-by: Peter Štibraný <[email protected]>
* Change debug to info when logging idle compaction.
Signed-off-by: Peter Štibraný <[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
@@ -29,6 +29,7 @@
29
29
*[ENHANCEMENT] Query-tee: Support for custom API prefix by using `-server.path-prefix` option. #2814
30
30
*[ENHANCEMENT] Query-tee: Forward `X-Scope-OrgId` header to backend, if present in the request. #2815
31
31
*[ENHANCEMENT] Experimental TSDB: Added `-experimental.tsdb.head-compaction-idle-timeout` option to force compaction of data in memory into a block. #2803
32
+
*[ENHANCEMENT] Experimental TSDB: Added support for flushing blocks via `/flush`, `/shutdown` (previously these only worked for chunks storage) and by using `-experimental.tsdb.flush-blocks-on-shutdown` option. #2794
32
33
*[BUGFIX] Fixed a bug in the index intersect code causing storage to return more chunks/series than required. #2796
33
34
*[BUGFIX] Fixed the number of reported keys in the background cache queue. #2764
34
35
*[BUGFIX] Fix race in processing of headers in sharded queries. #2762
0 commit comments