From b1884fda9d2663b3642ffe0dd3d25ed8e023027d Mon Sep 17 00:00:00 2001 From: Jan Eitzinger Date: Wed, 25 Mar 2026 07:18:27 +0100 Subject: [PATCH] Prepare bug fix release 1.5.3 Entire-Checkpoint: 84d4ab77be71 --- Makefile | 2 +- ReleaseNotes.md | 43 +++++++++++++++++++++++++++++++++- web/frontend/package-lock.json | 4 ++-- web/frontend/package.json | 2 +- 4 files changed, 46 insertions(+), 5 deletions(-) diff --git a/Makefile b/Makefile index 61e74c71..4de1623a 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,6 @@ TARGET = ./cc-backend FRONTEND = ./web/frontend -VERSION = 1.5.2 +VERSION = 1.5.3 GIT_HASH := $(shell git rev-parse --short HEAD || echo 'development') CURRENT_TIME = $(shell date +"%Y-%m-%d:T%H:%M:%S") LD_FLAGS = '-s -X main.date=${CURRENT_TIME} -X main.version=${VERSION} -X main.commit=${GIT_HASH}' diff --git a/ReleaseNotes.md b/ReleaseNotes.md index 42e8e149..20e66322 100644 --- a/ReleaseNotes.md +++ b/ReleaseNotes.md @@ -1,4 +1,4 @@ -# `cc-backend` version 1.5.2 +# `cc-backend` version 1.5.3 Supports job archive version 3 and database version 11. @@ -15,6 +15,47 @@ While we are confident that the memory issue with the metricstore cleanup move policy is fixed, it is still recommended to use delete policy for cleanup. This is also the default. +## Changes in 1.5.3 + +### Bug fixes + +- **Doubleranged filter fixes**: Range filters now correctly handle zero as a + boundary value. Improved validation and UI text for "more than equal" and + "less than equal" range selections. +- **Lineprotocol body parsing interrupted**: Switched from `ReadTimeout` to + `ReadHeaderTimeout` so that long-running metric submissions are no longer + cut off mid-stream. +- **Checkpoint archiving continues on error**: A single cluster's archiving + failure no longer aborts the entire cleanup operation. Errors are collected + and reported per cluster. +- **Parquet row group overflow**: Added periodic flush during checkpoint + archiving to prevent exceeding the parquet-go 32k column-write limit. +- **Removed metrics excluded from subcluster config**: Metrics removed from a + subcluster are no longer returned by `GetMetricConfigSubCluster`. + +### MetricStore performance + +- **WAL writer throughput**: Decoupled WAL file flushing from message processing + using a periodic 5-second batch flush (up to 4096 messages per cycle), + significantly increasing metric ingestion throughput. +- **Improved shutdown time**: HTTP shutdown timeout reduced; metricstore and + archiver now shut down concurrently. Overall shutdown deadline raised to + 60 seconds. + +### New features + +- **Manual checkpoint cleanup flag**: New `-cleanup-checkpoints` CLI flag + triggers checkpoint cleanup without starting the server, useful for + maintenance windows or automated cleanup scripts. +- **Explicit node state queries in node view**: Node health and scheduler state + are now fetched independently from metric data for fresher status information. + +### Logging improvements + +- **Reduced tagger log noise**: Missing metrics and expression evaluation errors + in the job classification tagger are now logged at debug level instead of + error level. + ## Changes in 1.5.2 ### Bug fixes diff --git a/web/frontend/package-lock.json b/web/frontend/package-lock.json index 339f5eea..78a8212e 100644 --- a/web/frontend/package-lock.json +++ b/web/frontend/package-lock.json @@ -1,12 +1,12 @@ { "name": "cc-frontend", - "version": "1.5.2", + "version": "1.5.3", "lockfileVersion": 4, "requires": true, "packages": { "": { "name": "cc-frontend", - "version": "1.5.2", + "version": "1.5.3", "license": "MIT", "dependencies": { "@rollup/plugin-replace": "^6.0.3", diff --git a/web/frontend/package.json b/web/frontend/package.json index fee61f5a..dbe6f984 100644 --- a/web/frontend/package.json +++ b/web/frontend/package.json @@ -1,6 +1,6 @@ { "name": "cc-frontend", - "version": "1.5.2", + "version": "1.5.3", "license": "MIT", "scripts": { "build": "rollup -c",