Self-host greptimedb
v1.3.0Metrics, logs, traces in one columnar telemetry store
$ curl -fsSL https://raw.githubusercontent.com/greptimeteam/greptimedb/main/scripts/install.sh | sh -s v1.2.1- Stars
- 6 810
- Rating
- 5.0 (1)
- Ports
- 4000 (HTTP API and the built-in dashboard), 4001 (gRPC server), 4002 (MySQL wire protocol), 4003 (PostgreSQL wire protocol)
greptime/greptimedbWhat is greptimedb?
GreptimeDB is a Rust telemetry database for teams that currently run one backend per signal. Its columnar engine, assembled from Apache Arrow and DataFusion, gives metrics, logs and traces the same shape — a timestamp, tag columns and field columns — so one SQL statement can line a trace up against the log lines emitted inside it. Data arrives over OTLP from OpenTelemetry, remote write from Prometheus, the push endpoint built for Loki, bulk indexing calls shaped like Elasticsearch's, InfluxDB's line protocol, or the project's own gRPC API; reads go through SQL, PromQL, a Jaeger-style trace query API, or the MySQL and PostgreSQL wire protocols. Objects live on S3, GCS, Azure Blob or any S3-compatible endpoint, while memory and local-disk caches hold hot data near compute. Time-to-live rules, downsampling, continuous aggregation via the Flow engine, hand-written partition clauses and inverted, skipping and full-text indexes all ship in the free Apache-2.0 build. Standalone is a single process suited to laptops, edge boxes and ARM hardware; scaling out means metasrv plus stateless frontends, datanodes and optional flow nodes, with cluster metadata in etcd or a relational store. Self-host it from the published Docker image, the install script that fetches Linux, macOS and Windows binaries, or the Helm charts and Kubernetes operator. Constraints to note: LogQL is not implemented, the Elasticsearch surface only takes inserts outside Enterprise, repartition and region migration and index creation stay manual, and the bundled dashboard has no login of its own. Read replicas, workload isolation, RBAC and LDAP with audit logging are sold as GreptimeDB Enterprise (fully-managed plans start at $290/month, bring-your-own-cloud is quoted), and GreptimeCloud is the managed offering.
greptimedb alternatives
ParseableParseable is a self-hosted, open-source observability platform in Rust on a Parquet data lake: logs, metrics and traces with alerting, dashboards, PromQL and SQL.CompareParseable with greptimedb
logtideOpen-source, self-hosted log management and SIEM unifying logs, traces and metrics on TimescaleDB, ClickHouse or MongoDB, an alternative to Datadog, Splunk and ELK.Comparelogtide with greptimedb
opentraceOpenTrace is a self-hosted, open-source observability server that lets AI coding assistants query production logs, errors, and database metrics directly via MCP.Compareopentrace with greptimedb
GrafanaMimirOpen-source, self-hosted long-term TSDB for Prometheus: multi-tenant, replicated metrics storage that scales past a billion active series.CompareGrafanaMimir with greptimedb
hertzbeatApache HertzBeat is a self-hosted, open-source observability system unifying agentless metrics and logs collection, alerting, and notification dispatch.Comparehertzbeat with greptimedb
RustrakRustrak is a self-hosted, open-source error tracker compatible with Sentry SDKs. Change one config line to send data to your own infrastructure.CompareRustrak with greptimedb
netdataNetdata is an open-source, self-hosted infrastructure monitoring platform with per-second metrics, automated dashboards, ML anomaly detection, and zero-config deployment.Comparenetdata with greptimedb
memgraphSelf-hosted, open-source in-memory graph database with Cypher, vector indexes and the MAGE algorithm library for GraphRAG and real-time graph analytics.Comparememgraph with greptimedb
All self-hosted alternatives to Grafana Mimir → All self-hosted alternatives to Thanos → All self-hosted alternatives to Elasticsearch →
Should you self-host greptimedb?
greptimedb scores 69/100 on selfhost.directory (how scoring works) and ranks #22 of 105 in Monitoring & observability. It has 6 810 GitHub stars, +84 in the last 30 days.
It shipped 14 stable releases in the past year. The latest, v1.2.1, came out on 16 September 2026. New versions land roughly every 7 days.
Setup is moderate: expect some configuration beyond a single command. An official Docker image is available. It is Apache-2.0-licensed and written mostly in Rust.
Its closest alternative on selfhost.directory is MeiliSearch (82/100, 59 850 stars). It scores higher overall, so compare the two before you pick. See greptimedb vs MeiliSearch side by side.
Features
- Automatic region failover
- Continuous aggregation (Flow engine)
- Distributed cluster deployment
- Inverted, skipping and fulltext indexesIndex creation is a manual operation in the open-source build.
- Jaeger-compatible trace queries
- Multi-protocol observability ingestion
- Object-storage backed columnar engine
- PromQL SupportGaps are listed in the PromQL compatibility doc.
- Read replicas and workload isolationGreptimeDB Enterprise only.
- Retention policies and downsampling
- Schemaless ingestion with automatic schema generation
- SQL querying
- TLS/SSL Support
- Unified metrics, logs and traces storage
- Web Dashboard
greptimedb README
User Guide · API Docs · Live Demo · Roadmap 2026 · Slack
stable for production · canary includes pre-releases · nightly is a weekly snapshot of main
How to install greptimedb
Install greptimedb with Docker
docker run -p 127.0.0.1:4000-4003:4000-4003 \
-v "$(pwd)/greptimedb_data:/greptimedb_data" \
--name greptime --rm \
greptime/greptimedb:v1.2.1 standalone start \
--http-addr 0.0.0.0:4000 \
--grpc-bind-addr 0.0.0.0:4001 \
--mysql-addr 0.0.0.0:4002 \
--postgres-addr 0.0.0.0:4003
Standalone mode; data is stored in the greptimedb_data/ directory.
Install greptimedb with macOS
curl -fsSL \
https://raw.githubusercontent.com/greptimeteam/greptimedb/main/scripts/install.sh | sh -s v1.2.1
./greptime standalone start
Windows binaries are offered from the official site; a Download page lists the latest stable builds.
How to configure greptimedb
storage.data_home=./greptimedb_dataDatabase storage root directory when using local file storage.values: directory path
http.enable_api_server=falseStarts a dedicated public HTTP API server serving /v1 and /dashboard only.values: true/false
grpc.bind_addr=127.0.0.1:4001Address the gRPC server binds to.values: host:port
wal.provider=raft_engineWAL provider used by the datanode/metasrv.values: raft_engine, kafka
--http-addr=127.0.0.1:4000CLI flag that sets the HTTP server bind address (dashboard, ingestion and query endpoints).values: host:port
greptimedb releases & version history
v1.2.1
Release date: September 16, 2026
GreptimeDB v1.2.1 is a maintenance release that fixes a JSON2 data-loss issue during compaction, several query-correctness bugs in PromQL and aggregations, MySQL-protocol compatibility with JDBC clients such as DataGrip, and stability issues in memory allocation and CPU profiling.
We recommend users on v1.2.0 upgrade to v1.2.1.
👍 Highlights
- JSON2 data-loss prevention. Misaligned Parquet statistics under projection could incorrectly prune JSON2 data during reads and cause data loss during strict-window compaction (#9129); mixed JSON2 types are now preserved during compaction (#9135), and native JSON2 row inserts over gRPC handle SQL NULL correctly (#9145; note this is the server-side fix — gRPC SDK support is being followed up in the client SDKs).
- Query correctness.
count(*)stays correct after online repartition or SPLIT PARTITION (#9154); PromQL rate windows accumulate counter resets correctly (#9089) and skip NULL samples with fixed extrapolation order (#9118); mixed MIN/MAX aggregates no longer apply incomplete dynamic filters (#9102). - MySQL compatibility. SQL statements with leading comments are now handled before federated statement filtering, so JDBC clients that prefix statements with comments (such as DataGrip) can introspect and query the database (#9156).
- Stability. jemalloc is updated to the 0.7 crate series with a pinned fix for thread-cache initialization crashes (#9103, #9119), and CPU profiling switches to the framehop unwinder to address profiling-related crashes (#9125).
🐛 Bug Fixes
- fix(query): prevent incomplete aggregate dynamic filtering by @discord9 in #9102
- fix(promql): correct counter reset accumulation in rate windows by @killme2008 in #9089
- fix(mito2): prevent JSON2 SWCS data loss from misaligned Parquet statistics due to projection by @v0y4g3r in #9129
- fix: bump jemalloc crates to 0.7 and patch tikv-jemalloc-sys with tcache init fix by @v0y4g3r in #9103
- fix(promql): skip NULL samples and fix counter extrapolation order by @killme2008 in #9118
- fix(mito): preserve mixed JSON2 types during compaction by @v0y4g3r in #9135
- fix: support native JSON2 row inserts over gRPC by @MichaelScofield in #9145
- fix: preserve count correctness after repartition by @WenyXu in #9154
- fix(mysql): strip leading comments before the federated statement filter by @killme2008 in #9156
- fix(wal): bound Kafka requests and extend latency buckets by @WenyXu in #9026
- fix(flow): drain frontend probe response before selecting peer by @discord9 in #9082
- fix(cli): sanitize store_addrs in kvbackend build log by @LiuQhahah in #8967
- fix(prometheus): align batch flush deadline with creation by @v0y4g3r in #8802
🚀 Features
⚙️ Miscellaneous Tasks
v1.2.0
Release date: September 8, 2026
We recommend users on v1.2.0 upgrade to v1.2.1, which fixes a JSON2 data-loss issue during compaction along with several query-correctness and stability fixes.
GreptimeDB v1.2.0 adds new structural stored JSON data type ("JSON2") and query capabilities, Prometheus Remote Write v2 ingestion, Flow runtime observability, and dashboard updates, alongside query and ingestion improvements.
👍 Highlights
New structural stored JSON data type and dot-style SQL access. JSON data can be stored as structs, instead of as a whole blob (JSONB). Featured with SQL paths and functions, list indexing, empty and null handling, and table-aware pipelines (#8909, #8928, #8940, #8979, #9007, #9010, #9013, #9027, and #8964). For example, JSON2 fields can be accessed with dot paths or json_get:
CREATE TABLE application_logs ( ts TIMESTAMP TIME INDEX, attrs JSON2 ) WITH ( 'append_mode' = 'true' ); INSERT INTO application_logs VALUES (1, '{"http":{"status":200,"path":"/api/orders"}}'); SELECT attrs.http.status::BIGINT AS status, json_get(attrs, 'http.path')::STRING AS path FROM application_logs;
Prometheus Remote Write v2 and experimental native histograms. GreptimeDB can ingest Prometheus Remote Write v2 requests and query native histograms through PromQL (#8361, #8382, #8654, #8664, and #8693). Native-histogram ingestion is experimental and disabled by default. To enable it in GreptimeDB:
[http] experimental_enable_prometheus_native_histogram = true
Configure Prometheus to use protobuf_message: io.prometheus.write.v2.Request:
remote_write: - url: http://greptimedb:4000/v1/prometheus/write protobuf_message: io.prometheus.write.v2.Request
More efficient series queries. Dictionary-encoded series keys, correct regex filtering on dictionary-encoded columns, and RangeSelect projection pruning improve query efficiency (#8541, #8688, and #8570).
Splunk HEC ingestion. Send structured events or raw logs directly to /v1/splunk/services/collector/event or /v1/splunk/services/collector/raw using Splunk HEC-compatible clients (#8321 and #8491).
Flow runtime status. SHOW FLOW STATUS and information_schema.flow_statistics expose Flow runtime statistics (#8392); distributed Flow reports start_time and uptime_seconds as NULL in this release. #8729 fixes Flow statistics aggregation and quoting.
SHOW FLOW STATUS LIKE 'my%'; SELECT * FROM information_schema.flow_statistics;
Dashboard
The bundled GreptimeDB dashboard is updated from v0.12.2 (bundled with v1.1.0) to v0.13.13. The update includes:
- Dashboard snapshots (dashboard#627).
- Resizable and expandable tables, and full-screen query results (dashboard#638 and dashboard#639).
- Trace-table selection and edition/build information (dashboard#640 and dashboard#641).
- A command palette and reconnection after changing hosts (dashboard#642 and dashboard#644).
Dashboard integration updates are included in #8687 and #8898.
Breaking changes
- Local SQL filesystem access is sandboxed. In standalone deployments, local
COPYand external-table paths are limited to the copy root; in distributed deployments, those local paths are disabled. Before upgrading, follow the local SQL file access migration guide to move data, set a dedicated copy root, or move the workflow to object storage (#8708) by @fengjiachun. holt_winterswas removed. Usedouble_exponential_smoothinginstead (#8457) by @shuiyisong.sparse_primary_key_encodingwas removed. Metric-engine data regions default to sparse primary-key encoding. Existing configurations still load, but this option is ignored. Remove it when updating configuration (#8470) by @sunng87.- Out-of-range pipeline integer conversions no longer silently wrap. Integer narrowing now checks the target range and follows the configured
on_failurebehavior when a value does not fit (#8589) by @discord9. - Soft-drop and recovery are Enterprise Edition features. In beta1, these operations were available in OSS; from beta2 onward, an OSS metasrv rejects
gc.experimental_soft_drop.enable = true. Before upgrading from beta1, recover any soft-dropped tables you need. OSS cannot recover or purge tables already soft-dropped in beta1 and does not clean up their expired tombstones; Enterprise Edition is required to continue that lifecycle (#8747) by @v0y4g3r. - Native histogram persisted fields changed signedness. Span-length list elements changed from
UInt32toInt32; integer count fields changed fromUInt64toInt64, withcount_u64/zero_count_u64renamed tocount_i64/zero_count_i64. Native-histogram Struct data written by earlier betas with the old schema may be unreadable. This caveat concerns the experimental beta feature, not ordinary v1.1 metric tables. There is no migration, downgrade, or mixed-version compatibility layer; plan migration or reingestion before upgrading (#8824) by @sunng87. - Legacy JSON2 tables require upgrade testing. Existing non-append tables using the legacy
greptime.jsontype can fail during flush or compaction after upgrade. This known limitation is not fixed in v1.2.0. For affected tables, defer the upgrade, or logically export data from a compatible old-version environment and import it into a newly created v1.2.0 table. Do not copy old table directories or metadata. Retain a backup; validate completeness and perform an actual flush and compaction on the new table before cutover. Test the migration with representative data. Settingappend_modealone is not a guaranteed remedy.
The changelog below covers changes since v1.1.0, excluding those already shipped in v1.1.1–v1.1.4. Earlier soft-drop work is listed for attribution but is Enterprise-only in this release.
🚀 Features
- feat(cli): add export-v2 chunk parallelism by @fengjiachun in #8292
- feat: pass Kafka pruned entry id when creating regions by @WenyXu in #8282
- feat(cli): add export-v2 progress reporting by @fengjiachun in #8294
- feat(cli): add import-v2 task parallelism by @fengjiachun in #8300
- feat: update dashboard to v0.13.1 by @ZonaHex in #8306
- feat: add repartition column hint by @WenyXu in #8291
- feat(cli): allow overriding import-v2 state path by @fengjiachun in #8302
- feat: decouple error retryability from status codes by @WenyXu in #8301
- feat: expose region read load metrics by @v0y4g3r in #8316
- feat: add flow batching metrics to grafana dashboard by @evenyag in #8353
- feat: add remote dynamic filter metrics by @discord9 in #8309
- feat: Add support for splunk HEC endpoints by @agrawalx in #8321
- feat:
prw_v2initial commit with sample ingestion by @shuiyisong in #8361 - feat: accept x-greptime-pipeline-name header on /events/logs by @BootstrapperSBL in #8371
- feat(json2): type hint by @fengys1996 in #8247
- feat: support table-level auto_flush_interval by @raphaelroshan in #8357
- feat: support structured instruction reply errors by @WenyXu in #8335
- feat(json2): reject non-object JSON values on write by @fengys1996 in #8381
- feat: stream explain analyze metrics over http by @discord9 in #8380
- feat: report region query stats in heartbeat by @WenyXu in #8401
- feat: add query regression perf harness by @discord9 in #8406
- feat: add soft-drop table recovery procedures by @v0y4g3r in #8061 (Enterprise-only in v1.2.0; see upgrade notes.)
- feat: persist Prometheus remote write v2 native histograms by @shuiyisong in #8382
- feat(query): add runtime provider interface by @discord9 in #8386
- feat: support ALTER TABLE SET auto_flush_interval by @srivtx in #8403
- feat: add Prom remote-write query regression scenario by @discord9 in #8413
- feat(json2): validate append mode for tables with JSON2 columns by @fengys1996 in #8434
- feat(json2): encode json2 variant payloads as jsonb by @fengys1996 in #8435
- feat: add fuzz CI failure investigation skill by @WenyXu in #8456
- feat: add strict CSV header validation by @QuakeWang in #8426
- feat: more region lifecycle hooks by @sunng87 in #8467
- feat: prepare soft-drop WAL retirement by @v0y4g3r in #8475 (Enterprise-only in v1.2.0; see upgrade notes.)
- feat: clean up soft-dropped regions offline by @v0y4g3r in #8458 (Enterprise-only in v1.2.0; see upgrade notes.)
- feat: enlarge file meta cache by @waynexia in #8499
- feat: support per-region write buffer limits by @evenyag in #8473
- feat: support SCRAM auth for Postgres by @killme2008 in #8304
- feat(meta): add retention GC for soft-dropped tables by @v0y4g3r in #8526 (Enterprise-only in v1.2.0; see upgrade notes.)
- feat: support soft-drop recycle bin and UNDROP TABLE by @v0y4g3r in #8546 (Enterprise-only in v1.2.0; see upgrade notes.)
- feat: support splunk HEC raw endpoint by @agrawalx in #8491
- feat: enable soft-drop table lifecycle by @v0y4g3r in #8554 (Enterprise-only in v1.2.0; see upgrade notes.)
- feat: allow unknown PluginOptions with a warning message by @sunng87 in #8550
- feat(mito2): expose adaptive batch APIs by @evenyag in #8578
- feat: grant creators access to newly created databases by @shuiyisong in #8566
- feat(flow): handle time_ranges in DirtyWindowRequest by @v0y4g3r in #8582
- feat: add mysql object store backend by @fengys1996 in #8560
- feat: add a region hook for gc cleanup by @sunng87 in #8547
- feat(json2): support JSON2 nested path fallback reads by @fengys1996 in #8540
- feat: update flow windows after metric batch flush by @v0y4g3r in #8544
- feat: make parquet row group size configurable by @evenyag in #8446
- feat(mito): add candidate series scanner by @evenyag in #8586
- feat: invoke gc hook for offline region cleanup by @sunng87 in #8613
- feat(procedure): support trigger-aware procedure events by @WenyXu in #8549
- feat(event-recorder): configure lifecycle event recording by @WenyXu in #8648
- feat: add database DDL procedure events by @WenyXu in #8623
- feat(common-query): add native histogram runtime model by @shuiyisong in #8656
- feat: add procedure events for Flow DDL by @WenyXu in #8632
- feat: update dashboard to v0.13.8 by @sunchanglong in #8666
- feat: add extra http router provider in metasrv plugin by @MichaelScofield in #8662
- feat(promql): add native histogram functions by @shuiyisong in #8664
- feat: add events for create and drop view by @WenyXu in #8626
- feat: add a dedicated http api server port by @sunng87 in #8657
- feat: record metrics for timed out explain analyze by @v0y4g3r in #8668
- feat: update dashboard to v0.13.9 by @sunchanglong in #8674
- feat(metasrv): add repartition lifecycle events by @WenyXu in #8665
- feat: support time range in manual compaction by @v0y4g3r in #8669
- feat: update dashboard to v0.13.10 by @sunchanglong in #8687
- feat: add table DDL procedure events by @WenyXu in #8627
- feat: expose MitoRegion::all_manifest_files for metadata rebuild by @sunng87 in #8680
- feat(metasrv): record WAL prune procedure events by @WenyXu in #8677
- feat(query): add native histogram result plumbing by @shuiyisong in #8693
- feat(metasrv): add batch GC lifecycle events by @WenyXu in #8673
- feat(mito2): support cancelling flush jobs by @evenyag in #8685
- feat: support enabling skip_wal with ALTER TABLE by @evenyag in #8817
- feat: make frontend heartbeat extensible and lifecycle-safe by @fengjiachun in #8726
- feat(mito2): discard unflushed region data safely by @evenyag in #8600
- feat: add admin function to discard unflushed data by @evenyag in #8768
- feat(flow): add information_schema.flow_statistics and SHOW FLOW STATUS (distributed start_time/uptime_seconds are NULL) by @onepizzateam in #8392
- feat: update to pgwire 0.40.7 by @sunng87 in #8860
- feat: update dashboard to v0.13.13 by @sunchanglong in #8898
- feat(event): add event context to procedure events by @WenyXu in #8734
- feat(event): record admin function executions by @WenyXu in #8835
- feat(procedure): record event actor by @WenyXu in #8849
- feat(mito2): adapt bulk memtable encode threshold to write buffer size [Backport release/v1.2] by @MichaelScofield in #9061
- feat(pipeline): support table-aware JSON2 transforms by @shuiyisong in #8964
- feat(json2): support JSON2 paths in SQL functions by @MichaelScofield in #9007
- feat(json2): support empty and null JSON2 value by @fengys1996 in #9010
- feat(json2): support list indexing for JSON2 columns by @MichaelScofield in #9013
🐛 Bug Fixes
- fix(metric-engine): report query load under physical region id by @v0y4g3r in #8355
- fix(mito): failed to compact memtable with json2 by @fengys1996 in #8297
- fix(mito): honor unknown file lingering time by @discord9 in #8365
- fix(meta): configure heartbeat message size by @discord9 in #8411
- fix(flow): rebind stale snapshot fence by @discord9 in #8409
- fix: spawn read operations on query runtime by @v0y4g3r in #8433
- fix: collect lightweight query-load metrics by @v0y4g3r in #8437
- fix: preserve close-time flush responses by @fengjiachun in #8443
- fix: pause GC during maintenance mode by @discord9 in #8450
- fix: compare all LoggingOptions fields in PartialEq by @raphaelroshan in #8449
- fix: Use prepared file locations for CSV strict headers integration test by @evenyag in #8493
- fix: disable WAL index creation by default by @WenyXu in #8505
- fix: require metasrv GC for repartition by @WenyXu in #8497
- fix: reject datanode startup on GC config mismatch by @discord9 in #8509
- fix: close database ACL gaps in permission checks by @shuiyisong in #8492
- fix(promql): preserve ordinary NaN samples by @discord9 in #8494
- fix(promql): handle missing labels in or matching by @discord9 in #8504
- fix(ci): harden query regression runner by @discord9 in #8534
- fix: count Postgres SCRAM auth failures and correct auth config docs by @killme2008 in #8538
- fix(ci): summarize query regression in one table by @discord9 in #8536
- fix(mito2): adapt batch size for wide rows by @evenyag in #8543
- fix: stream remote analyze metrics while pending by @discord9 in #8405
- fix: enforce table-aware permissions across query and ingest protocols by @shuiyisong in #8552
- fix: stabilize remote analyze stage ordering by @discord9 in #8584
- fix: bind Prom remote read schema per query by @discord9 in #8591
- fix: convert literals in joins and subqueries by @discord9 in #8501
- fix(query): harden range time conversion by @discord9 in #8515
- fix(json2): treat empty object as null when insert by @MichaelScofield in #8602
- fix(json2): encode deeply nested values as jsonb by @fengys1996 in #8612
- fix: enforce COPY FROM row limit by @discord9 in #8551
- fix(flow): avoid duplicate incremental planning warnings by @discord9 in #8611
- fix: fail closed on malformed password assignments by @fengjiachun in #8622
- fix(metric-engine): validate logical projection indices by @discord9 in #8535
- fix(datatypes): replicate nested list and struct vectors by @shuiyisong in #8638
- fix: honor default prefix for all metric columns by @shuiyisong in #8640
- fix(servers): validate remote write native histograms by @shuiyisong in #8654
- fix(promql): preserve query-aligned range tail by @discord9 in #8650
- fix(partition): avoid panic on missing route columns by @discord9 in #8645
- fix(prometheus): make remote write timeout retryable by @v0y4g3r in #8639
- fix: configure datanode client gRPC message limits by @evenyag in #8642
- fix: scope live analyze metrics to streaming requests by @discord9 in #8644
- fix(mito2): suppress empty compaction skip logs by @v0y4g3r in #8667
- fix(mysql): fail closed on unrepresentable timestamps by @discord9 in #8580
- fix: enforce permissions for restricted HTTP endpoints by @shuiyisong in #8672
- fix(repartition): enforce GC across lifecycle by @killme2008 in #8678
- fix(json2): standardize widening and projection cast semantics by @fengys1996 in #8661
- fix: preserve dictionary regex filter semantics by @discord9 in #8688
- fix(query): use physical partition types for metric route pruning by @discord9 in #8590
- fix(query): handle empty operands in PromQL or by @discord9 in #8502
- fix(mito2): make async index publication conditional by @killme2008 in #8676
- fix(metric-engine): prevent stale metadata cache fills by @shuiyisong in #8699
- fix(mito2): fence async index builds by schema generation by @killme2008 in #8697
- fix: make select whole json2 column worked by @MichaelScofield in #8683
- fix(meta): preserve legacy WAL options compatibility by @WenyXu in #8707
- fix: add public constructor for compactor by @sunng87 in #8724
- fix: backport Prometheus and skip_wal fixes to v1.2 by @evenyag in #8838
- fix(mito2): limit compaction picker threads by @v0y4g3r in #8704
- fix: clear pooled Prometheus Remote Write decoder state by @shuiyisong in #8921
- fix(flow): fix flow stats aggregation and df_plan_to_sql quoting by @discord9 in #8729
- fix(frontend): remove gRPC DDL panics for DropView and non-timestamp time index by @discord9 in #8739
- fix(prometheus): custom column remote reads by @grezzko in #8659
- fix(query): avoid unsafe count wildcard rewrites by @discord9 in #8522
- fix(query): validate merge scan remote schema by @discord9 in #8579
- fix(mito2): fail open when Bloom IN predicate has non-literal or unencodable members by @discord9 in #8709
- fix(mito): re-encode bulk WAL entry after filling missing columns by @fengjiachun in #8808
- fix(mito2): keep deletion markers when compacting part of a window by @fengjiachun in #8872
- fix(query): respect query timezone in timestamp casts by @fzlzjerry in #8859
- fix(query): preserve timestamp literal semantics in inserts by @killme2008 in #8889
- fix(metric-engine): handle Utf8View tag/label columns without panicking by @discord9 in #8772
- fix: cache physical table metadata lookups by @shuiyisong in #8777
- fix: harden permission checks and process visibility by @shuiyisong in #8852
- fix(event): preserve procedure lifecycle locators by @WenyXu in #8787
- fix(meta): release region guards after drop rollback by @WenyXu in #8751
- fix(object-store): fix unused import on Windows after #8735 by @discord9 in #8752
- fix(frontend): isolate internal Flight authentication by @discord9 in #9045
- fix: match system schema names case-insensitively [Backport release/v1.2] by @MichaelScofield in #9041
- fix: re-scan stream-backed tables in recursive CTEs [Backport release/v1.2] by @MichaelScofield in #9052
- fix(pipeline): coalesce concurrent pipeline cache misses and restore cache TTL configuration for v1.2 by @killme2008 in #9022 The release also retains configurable
pipeline.cache_ttl(default10s). - fix(mito2): fence checkpoints during region transitions by @WenyXu in #8847
- fix(mito2): split SSTs at primary key series boundaries by @v0y4g3r in #8888
- fix(query): keep INSERT timestamp conversion out of the source query by @killme2008 in #8911
- fix(mysql): interpret prepared statement datetime params in session timezone by @wy471x in #8923
- fix(meta): allow manual migration from offline datanodes by @WenyXu in #8934
- fix(flight): bound DoGet response wait by @WenyXu in #8943
- fix(mito2): use target sequence for foreign SSTs by @discord9 in #8946
- fix: update tokio-postgres and correct explain/fetch cursor output schema by @sunng87 in #8955
- fix: postgres describe for more statements by @sunng87 in #8974
- fix(promql): resolve derived labels in aggregation arithmetic by @shuiyisong in #8994
- fix(json2): keep empty structs in remainder by @MichaelScofield in #9027
🚜 Refactor
- refactor(meta): centralize backend retry classification by @WenyXu in #8333
- refactor: try best to make sure hook is called on manifest update by @sunng87 in #8329
- refactor: extract region hook function for extension by @sunng87 in #8375
- refactor: optimize json2 write by @MichaelScofield in #8393
- refactor: model distributed inspect fan-in as exec by @fengjiachun in #8447
- refactor: suppress region hook notifications for staging-only manifest writes by @sunng87 in #8471
- refactor: optimize json2 write, again by @MichaelScofield in #8498
- refactor: reconcile OTLP trace schemas request-wide by @shuiyisong in #8485
- refactor: add field id and extension type to histogram by @sunng87 in #8528
- refactor: simplify scan projection to root column indices by @fengys1996 in #8629
- refactor(mito2): add prerequisites for range-based series reads by @evenyag in #8679
- refactor: replace endpoint permission variants with named actions by @shuiyisong in #8692
- refactor(mito2): split compaction scheduler modules by @v0y4g3r in #8698
- refactor(event): store procedure trigger as JSONB by @WenyXu in #8700
- refactor: separate a json2 extension type by @MichaelScofield in #8745
- refactor(json2): push down json2 type hints to parquet reads by @fengys1996 in #8833
- refactor(procedure): centralize event context handling by @WenyXu in #8834
- refactor(event): separate procedure submission context by @WenyXu in #8856
- refactor(json2): support JSON2 storage layout settings in DDL by @MichaelScofield in #8895
- refactor(json2): add JSON2 v2 physical layout primitives by @MichaelScofield in #8901
- refactor(json2): add bounded auto-expansion to the JSON2 vector builder by @MichaelScofield in #8909
- refactor(json2): optimize JSON2 building without auto-expanded paths by @MichaelScofield in #8928
- refactor(json2): support querying v2 storage layout by @MichaelScofield in #8940
- refactor: json2 v2 storage layout by @MichaelScofield in #8979
- refactor(json2): concretize JSON2 schemas at merge scan boundaries by @MichaelScofield in #9016
📚 Documentation
- docs(agents): add per-crate guides, architecture invariants, and generated-files list by @killme2008 in #8346
- docs: add project-level AGENTS.md as the shared agent guide by @killme2008 in #8358
- docs: add entity relationships and graph query RFC by @killme2008 in #8605
⚡ Performance
- perf: reduce parquet metadata cache footprint by @waynexia in #8527
- perf: preserve dictionary-encoded query labels by @waynexia in #8541
- perf: optimize OTLP trace ingestion by @shuiyisong in #8604
- perf(servers): optimize PromQL read conversion by @lyang24 in #8587
- perf(mito2): make compaction picker asynchronous to avoid blocking the region worker by @v0y4g3r in #8624
- perf(query): prune RangeSelect input projections by @discord9 in #8570
🧪 Testing
- test(cli): harden export/import-v2 e2e roundtrip by @fengjiachun in #8310
- test(cli): add import-v2 resume e2e coverage by @fengjiachun in #8311
- test(cli): harden import-v2 schema filter e2e by @fengjiachun in #8312
- test(cli): harden incomplete import-v2 snapshot e2e by @fengjiachun in #8313
- test(cli): add minio export-import v2 e2e by @fengjiachun in #8314
- test: add sqlness compatibility runner by @discord9 in #8334
- test: choose compat runner cli args by version by @discord9 in #8376
- test: add recent sqlness compat cases by @discord9 in #8395
- test: add flow scheduled now compat case by @discord9 in #8400
- test: add comment metadata compat case by @discord9 in #8402
- test: add ssts limit compat case by @discord9 in #8427
- test: add auto flush interval compat case by @discord9 in #8448
- test(perf): add remote write storage inspection by @discord9 in #8444
- test: add json2 variant payload compat case by @discord9 in #8459
- test: add legacy JSON2 non-append compat case by @discord9 in #8513
- test: gate pluginoption test for oss repo only by @sunng87 in #8569
- test: stabilize ttl instant sqlness case by @v0y4g3r in #8595
- test: stabilize remote dynamic filter left join e2e by @discord9 in #8711
- test: fix unknown channel event context expectation by @WenyXu in #8832
- test: renew etcd TLS certificates by @WenyXu in #8956
⚙️ Miscellaneous Tasks
- chore: add release runbook skills for maintainers by @evenyag in #8296
- ci: compare jsonbench insert results by @MichaelScofield in #8326
- ci: add remote WAL logical pruning fuzz by @WenyXu in #8307
- chore: share agent release skills by @evenyag in #8336
- chore: bump version to 1.2.0 by @evenyag in #8344
- ci: tune jsonbench runner by @MichaelScofield in #8345
- chore: declare GreptimeDB Enterprise License for enterprise-gated sources by @killme2008 in #8364
- ci: add cargo.lock changeset size check by @sunng87 in #8348
- ci: add sqlness compat smoke by @discord9 in #8370
- chore: pin datafusion to merged branch commit by @discord9 in #8422
- ci: run query regression on self-hosted runners by @discord9 in #8423
- chore: add sqlness regression for timestamp precision comparison by @fengys1996 in #8424
- chore(ci): stabilize remote wal fuzz tests by @WenyXu in #8436
- ci: check kafka readiness before fuzz tests by @WenyXu in #8461
- chore: update star history link by @killme2008 in #8483
- ci: increase Kafka resource requests by @WenyXu in #8482
- chore: add development Docker image skill by @WenyXu in #8477
- chore(skill): Add ca-certificates to Dockerfile by @WenyXu in #8507
- ci: add persistent query regression cache by @discord9 in #8474
- ci: nightly jsonbench test 100m dataset by @MichaelScofield in #8529
- chore: ignore mysql connection reset error by @shuiyisong in #8556
- ci: split export import v2 e2e test by @WenyXu in #8564
- ci: gate releases on compat and query regression by @discord9 in #8469
- chore: pin DataFusion cardinality effect by @discord9 in #8562
- chore: enlarge fuzz failover test timeout waiting for datanodes online by @v0y4g3r in #8633
- Support unquoted postgres intervalstyle by @yimeng in #8637
- ci: add OTLP trace ingestion regression testing by @shuiyisong in #8631
- ci: add heavy query regression label by @discord9 in #8619
- ci: keep prereleases off stable release channels by @discord9 in #8653
- chore: update nix flake to 26.05 by @sunng87 in #8681
- ci: limit fuzz test parallelism by @WenyXu in #8690
- chore: update flake to use zlib by @sunng87 in #8691
- chore: remove iceberg read by @shuiyisong in #8858
- chore: bump release version to v1.2.0 by @discord9 in #9054
New Contributors
- @agrawalx made their first contribution in #8321
- @raphaelroshan made their first contribution in #8357
- @srivtx made their first contribution in #8403
- @yimeng made their first contribution in #8637
- @grezzko made their first contribution in #8659
- @fzlzjerry made their first contribution in #8859
- @wy471x made their first contribution in #8923
All Contributors
We would like to thank the following contributors from the GreptimeDB community:
@agrawalx, @BootstrapperSBL, @discord9, @evenyag, @fengjiachun, @fengys1996, @fzlzjerry, @grezzko, @killme2008, @lyang24, @MichaelScofield, @onepizzateam, @QuakeWang, @raphaelroshan, @shuiyisong, @srivtx, @sunchanglong, @sunng87, @v0y4g3r, @waynexia, @WenyXu, @wy471x, @yimeng, @ZonaHex
Full Changelog: v1.1.0...v1.2.0
AI summary Enterprise-only table soft-drop, histogram config moved
v1.3.0
Release date: October 28, 2026
GreptimeDB v1.3.0 adds native histogram ingestion, a semantic entity graph over metrics and traces, an opt-in trace schema with JSON2 attributes, and automatic retries for distributed writes. It also fixes incorrect SQL and PromQL results, write routing during schema changes, and storage recovery failures.
👍 Highlights
Ingest native histograms without experimental switches
Prometheus Remote Write v2 native histograms and cumulative OTLP/HTTP exponential histograms are accepted by default. PromQL can query native histograms, including quantiles and fractions. Remote Write v1 native histograms, native histogram Remote Read, and OTel Arrow exponential histograms remain unsupported. (#9301, #8758, #8874)
Trace V2: JSON2 attributes with Jaeger and semantic entity graph support
The opt-in greptime_trace_v2 pipeline stores span, scope, and resource attributes in three JSON2 columns instead of adding a SQL column for every attribute. Its 19-column schema also preserves span events and links as JSON arrays. Jaeger queries and semantic entity graph derivation support the new model.
Select greptime_trace_v2 with the x-greptime-pipeline-name header on OTLP trace ingestion requests. Use a separate destination table from Trace V1. After ingesting into a table named traces_v2, query typed attributes directly:
SELECT trace_id, span_attributes."http.status_code"::BIGINT AS http_status, resource_attributes."service.name"::STRING AS service_name FROM traces_v2;
Existing Trace V1 tables are not automatically migrated. Events and links use JSON in this release; ARRAY(JSON2) is deferred. See #9192, #9232, #9257, and #9278.
Semantic entity graph (experimental)
Semantic entity graph is experimental. Future releases may introduce breaking changes.
GreptimeDB derives an entity graph of services, hosts, containers, and Kubernetes objects from metrics and traces at query time, using built-in conventions for OpenTelemetry, Prometheus, and Kubernetes data. Query it with SQL through greptime_private.semantic_entities and greptime_private.semantic_relationships. information_schema.table_semantics shows what each table contributes to the graph, and ALTER TABLE ... SET/UNSET adjusts a table’s semantic options. GreptimeDB MCP Server v0.6.0 and later lets AI agents query the graph through query_semantic_graph and find tables by concept through search_table_semantics.
See #8614, #8854, #8880, #8904, #8936.
Retry distributed writes without replaying successful entries
Frontends retry transient distributed write failures up to three times by default, refreshing routes when regions move or partitions change. Per-datanode batches remain intact, and partial-failure responses let the frontend retry failed entries without replaying acknowledged successes. Whole-RPC failures can still have an uncertain outcome. Retries do not provide exactly-once ingestion. (#9542, #9543, #9728, #9720)
The frontend defaults are:
[write_retry] max_retries = 3 initial_backoff = "1500ms" max_backoff = "10s" backoff_multiplier = 2.0
Set max_retries = 0 to disable retries. These settings apply to distributed frontends, not standalone deployments.
Improved compaction algorithms and TWCS tuning
TWCS reduces repeated rewrites for continuously ingested time-series data and lets you tune compaction separately for active and inactive time windows.
Three new tuning options accompany the renamed active-window file-count trigger; the example below shows their defaults:
ALTER TABLE my_table SET 'compaction.twcs.active_window.trigger_file_num' = '4', 'compaction.twcs.active_window.l1_merge_trigger' = '16', 'compaction.twcs.inactive_window.trigger_file_num' = '2', 'compaction.twcs.inactive_window.l1_merge_trigger' = '8';
The existing compaction.twcs.trigger_file_num option remains accepted as an alias for compaction.twcs.active_window.trigger_file_num; inactive windows now use their own thresholds. See #8989, #9064, and #9011.
Query and write correctness fixes
- SQL and PromQL fixes preserve matching rows and requested ordering, retain
IGNORE NULLSsemantics, and prevent NaN ratios from triggering false alerts. They also correct folded-histogram operations and logical metric-table ordering. (#9600, #10026, #9601, #9479, #9509, #9522) - Fulltext bloom indexes no longer skip matching rows containing underscores or mixed Han and ASCII text. Eligible case-sensitive
LIKEpatterns can also use bloom pruning; see Upgrade notes for rebuilding existing indexes. (#9470) - Storage fixes preserve newer writes during bulk merges, flush skip-WAL writes on graceful region close, and keep repartition routing consistent. Flush and compaction also retain SSTs after ambiguous manifest-save failures instead of deleting files that may already be referenced. (#9517, #9440, #9458, #9898)
Dashboard
The bundled Dashboard v0.14.2 adds Signals Explore for exploring metrics, logs, and traces with label filters and links between logs and traces. Native and gauge histograms are not charted yet. Timezone settings apply consistently to display and SQL requests, including the browser's IANA timezone when Browser is selected. This version also fixes log scrolling, loading indicators, and trace-ID queries. (Signals Explore, timezone settings, v0.14.2)
JSON result columns also retain the per-column action to show or hide null fields introduced during beta.1 (dashboard#653).
Authentication
Bearer-token authentication is now supported over HTTP and SQL protocols, and MySQL authentication methods can be selected per user. (#8719, #8899, #9078)
PromQL compatibility
Measured with promql-compat (rev 1203cd8) against the Prometheus v3.15.0 engine. The following rates compare labels and values while ignoring differences only in __name__.
| Suite | v1.2.1 | v1.3.0 |
|---|---|---|
| Prometheus test corpus (852 cases) | 6.7% | 88.5% |
| PromQL compliance tester (539 cases) | 88.7% | 94.8% |
| Fuzz (1999 queries, seed 1) | 79.0% | 93.4% |
With __name__ included, v1.3.0 scores:
| Suite | v1.3.0 |
|---|---|
| Prometheus test corpus | 53.5% |
| PromQL compliance tester | 54.2% |
| Fuzz | 63.8% |
1391 corpus cases (native histograms, experimental features, start timestamps, delayed name removal, nondeterministic results) and 1 fuzz query are excluded from all rates. These rates do not assess the excluded cases.
Improvements since v1.2.1:
@modifier, including timestamps before 1970.- Subqueries evaluated at timestamps not aligned to the step.
group_left/group_rightjoins against aggregated operands.- Duplicate-series and many-to-many matching errors are now raised in cases where they were previously missed.
label_replaceno longer fails with "vector cannot contain metrics with the same labelset" on valid input.histogram_fractionis supported.- Panics in
count_valuesover range functions are fixed.
Known issue: a filtering comparison (without bool) re-attaches __name__ even when its left operand has none, and aggregations and *_over_time functions over the result keep it. For example, sum(x > 0) returns {__name__="x"} instead of {}.
Remaining gaps: __name__ handling in general, first_over_time, vector(time()) as a function argument, absent_over_time, and scalar() as a quantile_over_time / topk parameter.
Benchmark results
Compared with v1.2.1 using the same hardware and data for both versions, with warm caches.
- 30-day PromQL range queries over 1,720 series and 158.5M samples, with a 30-minute step (c7i.2xlarge, 8 vCPUs, 16 GiB): median latency decreased by 9.9%–41.8% for four of five queries.
- SQL queries over 100M agent observability records (c7i.2xlarge, 8 vCPUs, 16 GiB): median latency decreased by 6.3%–32.8% across the 16 measured queries.
- Queries over 100.1M spans (m7i.2xlarge, 8 vCPUs, 32 GiB): median latency decreased by 6.0%–94.0% for six of eight queries, including client-side processing.
These are single-run diagnostic results.
Upgrade notes
- Keep metasrv maintenance mode enabled throughout a rolling upgrade so Batch GC does not run against mixed metasrv/datanode versions: its new packed protocol has no legacy fallback. Disable maintenance mode only after the upgrade is complete. (#9009)
- Upgrade all datanodes before frontends; roll back frontends before datanodes. New frontend write retries require per-entry datanode results: mixing new frontends with old datanodes can replay successful writes and duplicate rows in append-mode tables. New PromQL plans also use functions absent from older datanodes; operator-managed rollbacks must also stage frontends first. (#9720, #9479)
- Review
region_engine.mito.scan_memory_limit, which now defaults to25%of available system memory, andscan_memory_mode, which defaults tobasicand accounts for projected Parquet row-group decoding. Existing explicit nonzero limits also change behavior:basicno longer charges cumulative streamed batches. Useextendedto account for both decoding and streamed batches, but review capacity because the same limit may now reject previously successful scans. Explicitly setscan_memory_limit = "unlimited"to retain disabled scan enforcement and file-count checks; this does not restore the old series-merge memory pool. (#9101) - Replace
scan_memory_on_exhausted = "wait"or"wait(<duration>)"with"fail": old values still load but are normalized to immediate failure. Reviewquery.memory_pool_size, now shared by internal two-phase series merges, and scan-memory alerts, whose usage metric now reflects decoder reservations in basic mode and reservations plus streamed batches in extended mode. (#9101) - Check existing VRL pipelines for environment, filesystem, hostname, local-timezone, network, and explicit logging functions. These functions, Grok file imports, and local or dynamic timezone arguments are rejected by default, including when stored pipelines reload; set
pipeline.allow_vrl_host_access = trueonly if those capabilities are required. (#9610) - Rebuild legacy fulltext bloom indexes through compaction or
ADMIN BUILD_INDEXto regain pruning. Table data remains readable, but legacy bloom index blobs are bypassed until rebuilt. New v2 blobs also fall back to scans after downgrade, and Han bigram tokenization can increase index size. Tantivy-backedmatches_termnow uses a full scan;matches()is unchanged. (#9470) - Remove the obsolete native-histogram experimental switches: they are ignored, including values set to
false. Keepprom_validation_modeunder[prom_store]. (#8744, #9301) - Review automatic flush frequency if it was not configured: the Mito default changes from 30 minutes to 10 minutes. Explicit global and per-table overrides remain unchanged. (#8971)
- Flow mirroring has a one-million-row pending budget, counting copies sent to each flownode. Ordinary writes can succeed while their Flow mirror batches are dropped, leaving gaps in Flow output; instant-TTL writes are rejected before datanode dispatch when the budget is exhausted, and a single oversized instant-TTL batch must be split. Monitor
greptime_table_operator_mirror_pending_rowsandgreptime_operator_dist_mirror_dropped_rows. (#9421) - Existing JSON2 regions recover with flat SST output; CREATE and ALTER reject incompatible SST formats. JSON2 bulk inserts remain unsupported and are rejected before WAL persistence. (#9893, #9698)
Breaking changes
uddsketch_stateanduddsketch_mergenow produce a new binary format. v1.3 reads legacy states, but v1.2.1 readers do not understand newly produced states; preserve pre-upgrade state data if rollback is required, and do not send new states to old readers. (#8867)- OTLP metrics with a nonempty
service.namespacenow usejob="<namespace>/<service.name>"instead of just the service name. Update dashboard selectors and alert rules; existing rows are not relabeled, so queries spanning the upgrade may need both label values. This change applies even whenotlp.experimental_enable_resource_infois disabled. (#8904) - OTLP delta metrics use the reserved
otlp_aggregation_temporality="delta"label. Existing series carrying this label also use raw-delta semantics for PromQLrate()andincrease(); OTLP attributes resolving to the reserved label are rejected. Fixed-schema tables need the nullable tag to accept delta writes. (#8970) - DataFusion 55.1 changes integer-input
median,approx_median, andapprox_percentile_contresults to floating point; exact median interpolates even-sized inputs. Review fixed-schema consumers such as views and Flow sinks, and expect approximate aggregate results to differ. (#8555, #9177) REPLACE(s, '', replacement)returnssunchanged; generated structunnestcolumn names change, so use explicit aliases. PostgreSQL result metadata now reports OID aliases such asREGCLASSandREGTYPErather than only their former integer or string types. (#8555)- MySQL timestamp text output truncates fractional seconds to microseconds. Stored nanoseconds remain unchanged; use an explicit string or integer cast when a client needs the full precision. (#9831)
- SQL expression depth above 128 is rejected during planning. Simplify deeply nested generated predicates. (#9564)
- Decompressed Prometheus Remote Read/Write and Loki bodies above 512 MiB return HTTP 400. With
max_in_flight_write_bytesconfigured, HTTP admission also charges decoded bodies and streamed bytes beyondContent-Length; quota exhaustion returns HTTP 429 or gRPCRESOURCE_EXHAUSTED. Compressed gRPC requests reservemax_recv_message_sizebefore decoding, so review the quota and client batch sizes rather than relying on compressed wire size. (#9264) - JSON2 type hints no longer accept
nullableordefault; hinted fields are nullable and missing values produce NULL. Supported hint types are STRING, BIGINT, BIGINT UNSIGNED, DOUBLE, and BOOLEAN, plus INT64, UINT64, and FLOAT64 aliases; types requiring implicit widening are rejected. (#9213, #9316) - Invalid JSONPath expressions now return errors instead of silently returning NULL; use
$for root access instead of.or$.. (#9192) - PromQL vector matching now derives result labels from
on/ignoringand group modifiers, and rejects ambiguous many-to-many or duplicate-result matches. Review joins and alert label templates; eligible comparisons now retain__name__. (#9306, #9332) - PromQL stepless subqueries use a fixed one-minute step rather than the outer query step; specify
[range:step]explicitly if a different interval is required. Range queries over a range-vector root are rejected; use an instant query or reduce the range vector to an instant vector. (#9481, #9477) - Finite Prometheus sample strings can change textual formatting while retaining the same floating-point value. Compare parsed numbers instead of exact response strings. (#8815)
- Type changes to columns referenced by persisted partition expressions are rejected unless they widen a timestamp unit and all bounds remain representable. Check partition bounds before changing time precision, especially dates outside the nanosecond timestamp range. (#9487)
- Duplicate region-engine configuration entries now fail startup instead of silently overriding each other. Keep one entry per engine type. (#9281)
- Bulk inserts now reject mismatched Arrow types, invalid nulls, and duplicate or unknown columns before persistence. Some representations previously converted by primary-key-format regions are rejected; send the region's declared Arrow types. (#9698)
- Streaming SQL analyze is always enabled; the removed
experimental_enable_explain_analyze_streamconfiguration key is ignored. Downstream Rust integrations must remove the correspondingHttpOptionsfield. (#8966) - Downstream DDL configurators must accept the shared peer-discovery interface. This release includes only the DDL-hook adaptation from the original change, not its affinity-resolver or scheduling infrastructure. (#9977)
- refactor!: move native histogram config and
prom_validation_modeto prom_store by @shuiyisong in #8744 - perf(servers)!: speed up Prometheus JSON response building with ryu and per-series entry reuse by @discord9 in #8815
- feat!: stabilize streaming analyze metrics by @discord9 in #8966
- feat!: upgrade DataFusion to 55 by @discord9 in #8555
- feat(json2)!: remove nullable and default type hint options by @fengys1996 in #9213
- feat!: upgrade DataFusion fork to 55.1.0 by @discord9 in #9177
- fix(pipeline)!: disable VRL host access by default by @shuiyisong in #9610
- feat(mito2)!: account SST decoding against shared scan memory limits by @evenyag in #9101
- fix(mysql)!: cap timestamp output at microsecond precision by @MichaelScofield in #9831
🚀 Features
- feat(query): plan native histogram functions by @shuiyisong in #8705
- feat(logging): add enable_file_logging option to disable file logging by @xhwhis in #8721
- feat(function): add json_object_keys scalar function by @xhwhis in #8722
- feat: update dashboard to v0.13.11 by @sunchanglong in #8737
- feat: add health-aware gRPC client routing by @WenyXu in #8684
- feat(grafana): add events dashboard by @WenyXu in #8725
- feat: add admin function registrar by @fengjiachun in #8762
- feat(promql): define native histogram semantics by @shuiyisong in #8758
- feat(mito2): add range-based metric series reader by @evenyag in #8703
- feat: read-time entity relationships graph over telemetry (M0+M1) by @killme2008 in #8614
- feat(protocol): validate native histogram ingestion by @shuiyisong in #8775
- feat: support generic heartbeat response extension accumulation by @fengjiachun in #8786
- feat: support old-stage datanode config overlays by @discord9 in #8647
- feat: update opentelemetry family to 0.32 series by @sunng87 in #8776
- feat: add riscv64 cross-build support by @v0y4g3r in #8820
- feat(auth): support HTTP bearer-token authentication by @sunng87 in #8719
- feat(promql): support mixed sample ranges by @shuiyisong in #8784
- feat: declared edges and the derivation contract for the entity graph by @killme2008 in #8794
- feat(servers): stamp prometheus remote write v2 metadata as semantic table options by @killme2008 in #8797
- feat(promql): support native histogram vector operators by @shuiyisong in #8798
- feat: complete the derived-edge vocabulary of the entity graph by @killme2008 in #8836
- feat(servers): expose native histograms over Prometheus HTTP by @shuiyisong in #8850
- feat(promql): support native histogram aggregations by @shuiyisong in #8848
- feat: embedded convention pack for the entity graph (prom/k8s, gen_ai naming) by @killme2008 in #8854
- feat(mito2): introduce two-phase metric series scans by @evenyag in #8826
- feat: add json_object function and use it in the entity-graph derivation by @killme2008 in #8870
- feat: update dashboard to v0.13.12 by @sunchanglong in #8882
- feat: add incremental primary key index writer by @evenyag in #8788
- feat: manage semantic table options via ALTER TABLE SET/UNSET by @killme2008 in #8880
- feat(otlp): report the cause of rejected trace spans by @killme2008 in #8897
- feat: otlp duration_nano and trace_flag signed integer coercion by @sunng87 in #8816
- feat: support quantile and fraction queries on mixed histograms by @shuiyisong in #8874
- feat(otlp): support cumulative exponential histograms by @shuiyisong in #8900
- feat(cmd): add parquet development tools by @evenyag in #8939
- feat(mito2): add series index searcher by @evenyag in #8926
- feat(cmd): improve parquet rewrite fidelity and scanbench output by @evenyag in #8947
- feat(function): expose uddsketch rank by @v0y4g3r in #8929
- feat: synthesize OTLP resource descriptor for the semantic entity graph by @killme2008 in #8904
- feat: update dashboard to v0.13.14 by @sunchanglong in #8968
- feat: harden frontend heartbeat extensions by @v0y4g3r in #8803
- feat(meta): record physical table reconciliation events by @dhruvxvaishnav in #8935
- feat: expose missing SST manifest fields by @evenyag in #8965
- feat: Add built-in daemon mode for standalone service by @tian1220A in #8960
- feat: report what the graph derives and fix two duplicate-node bugs by @killme2008 in #8936
- feat(function): add mergeable stddev_pop state functions by @v0y4g3r in #8972
- feat(mito2): add SST range index writer by @evenyag in #8954
- feat(query): add experimental DataFusion spill-to-disk controls by @discord9 in #8884
- feat(mito2): add write cache upload hook by @v0y4g3r in #8992
- feat(flow): add generic delta merge for incremental aggregates by @discord9 in #8938
- feat: allow widening the time index column's timestamp unit via ALTER TABLE, mito2 table only by @sunng87 in #8894
- feat: derive k8s.node from OTLP resource attributes by @killme2008 in #9002
- feat(runtime): add weighted workload scheduler by @discord9 in #8736
- feat(flow): add row inserts to frontend client by @fengys1996 in #9006
- feat: preserve row sequences and support exact sequence-range reads by @discord9 in #8865
- feat(mito2): pass operation type to write cache upload hook by @v0y4g3r in #9012
- feat(mito2): add SST range index searcher by @evenyag in #9003
- feat: support raw OTLP delta metrics by @shuiyisong in #8970
- feat(flow): support eval schedule offsets by @discord9 in #8878
- feat(client): compress insert transport by @v0y4g3r in #9036
- feat(meta): record logical-table reconciliation events by @dhruvxvaishnav in #8941
- feat: add scanbench query suites and structured results by @evenyag in #9050
- feat: update dashboard to v0.13.15 by @sunchanglong in #9051
- feat(auth): support bearer token authentication over SQL protocols by @shuiyisong in #8899
- feat(telemetry): add log directory size retention by @WenyXu in #8997
- feat(mito2): add series index catalog and lifecycle foundation by @evenyag in #9053
- feat(auth): support per-user MySQL authentication methods by @shuiyisong in #9078
- feat: make the series index resilient to time index unit widening by @sunng87 in #8996
- feat(mito2): introduce TWCS active window compaction by @v0y4g3r in #9011
- feat: add repartition partition count hint by @WenyXu in #9080
- feat(json2): support ALTER syntax for JSON column settings by @fengys1996 in #9094
- feat: support request-level insert WAL skipping by @WenyXu in #9088
- feat(meta): record catalog and database reconciliation events by @dhruvxvaishnav in #8896
- feat(mito2): add series index planning and builders by @evenyag in #9085
- feat: support request-level WAL skipping for bulk inserts by @WenyXu in #9110
- feat(mito2): add opt-in byte-stream-split encoding for float SST fields by @discord9 in #9069
- feat(mito2): reconcile series indexes in background by @evenyag in #9086
- feat: export logical tables from Metric physical scans by @fengjiachun in #9159
- feat: allow re-enabling WAL after disabling by @dhruvxvaishnav in #9130
- feat: use exact sequence ranges for incremental Flow reads by @discord9 in #9165
- feat: add prepared batch write primitives by @WenyXu in #9186
- feat(wal): add the object store WAL provider identity and configuration by @fengjiachun in #9203
- feat: add ordinary table batching workers by @WenyXu in #9187
- feat(log-store): add the object store WAL object format by @fengjiachun in #9200
- feat: batch ordinary table writes across HTTP protocols by @WenyXu in #9115
- feat(otlp): add trace v2 ingestion with JSON2 attributes by @MichaelScofield in #9192
- feat(ci): add observability benchmark and lifecycle summaries by @WenyXu in #9215
- feat: prepare and execute database Metric exports by @fengjiachun in #9180
- feat(ci): add long-range metrics benchmark on ECS by @WenyXu in #9218
- feat(flow): expose extension-owned batching execution hooks by @discord9 in #9171
- feat(function): add mergeable binary average states by @discord9 in #9062
- feat(log-store): add the object store WAL batch, catalog and I/O by @fengjiachun in #9216
- feat(otlp): preserve trace v2 events and links as JSON (follow-up to #9192) by @MichaelScofield in #9232
- feat(flow): admit mergeable average states in incremental plans by @discord9 in #9235
- feat(log-store): add object store WAL store construction and recovery by @fengjiachun in #9238
- feat: expose region min/max timestamp in region_statistics by @sainad2222 in #9060
- feat: add status label to datanode failed-insert metric by @dhruvxvaishnav in #9191
- feat(mito2): make range index reads and builds opt-in by @evenyag in #9219
- feat(json2): respect type hints during JSON2 type concretization by @fengys1996 in #9222
- feat(mito2): split SWCS output files by size threshold by @v0y4g3r in #9259
- feat(trace): support Jaeger queries for Trace V2 and optimize writes (follow-up to #9192) by @MichaelScofield in #9257
- feat: update pgwire to 0.41 by @sunng87 in #9025
- feat: add database ingestion admission through metering by @shuiyisong in #9239
- feat: add experimental Metric export to V2 snapshots by @fengjiachun in #9233
- feat: restore packed metric snapshots by @fengjiachun in #9250
- feat(trace): support Semantic Graph for Trace V2 (follow-up to #9192) by @MichaelScofield in #9278
- feat: add experimental Jev SQL filtering by @v0y4g3r in #9265
- feat(log-store): add object store WAL reads and obsolete watermarks by @fengjiachun in #9248
- feat(json2): support altering JSON2 settings by @fengys1996 in #9029
- feat: add AI matching, classification, and scoring functions by @v0y4g3r in #9300
- feat: share logical table batching with OTLP metrics by @WenyXu in #9288
- feat(flow): allow execution hook to rewrite completed plans by @discord9 in #9290
- feat: support pending rows batching for MySQL and PostgreSQL by @WenyXu in #9302
- feat: expose region open failure metrics by @evenyag in #9283
- feat(flow): freeze recovery windows and retention bounds for incremental flows by @discord9 in #9312
- feat: add schema metadata stream to SchemaManager by @shuiyisong in #9325
- feat: enable native histogram ingestion by default by @shuiyisong in #9301
- feat(mito): limit approximate series index disk usage by @evenyag in #9313
- feat(log-store): chain object store WAL objects and recover the latest chain by @fengjiachun in #9334
- feat(otlp): add histogram rejection metrics and compact zero buckets by @shuiyisong in #9321
- feat: add manual series index reconciliation by @evenyag in #9323
- feat(log-store): add the object store WAL durable write path by @fengjiachun in #9320
- feat: allow customized time index unit for metric engine table by @sunng87 in #9236
- feat: add HDFS object storage backend by @Minghan2005 in #8701
- feat(log-store): add the enqueued acknowledgement mode to the object store WAL by @fengjiachun in #9358
- feat(query): implement PromQL @ modifier on vector and matrix selectors by @discord9 in #9224
- feat: support non-millisecond time index units in the logical batcher by @sunng87 in #9346
- feat: export Metric snapshots with packed Parquet objects by @fengjiachun in #9382
- feat: support automatic column addition for Flight bulk inserts by @v0y4g3r in #9285
- feat(json2): json_get respect type hints by @fengys1996 in #9349
- feat: update dashboard to v0.14.0 by @sunchanglong in #9510
- feat(catalog): declare information-schema table scopes by @shuiyisong in #9504
- feat(cmd): add
--http-api-server-addrCLI flags by @daviderli614 in #9512 - feat(client): support region request reuse and route refresh hints by @WenyXu in #9540
- feat(operator): retry failed writes with refreshed partitions by @WenyXu in #9542
- feat(frontend): retry transient distributed write failures by @WenyXu in #9543
- feat(meta-client): forward actor and event context for region follower RPCs by @sunng87 in #9568
- feat: update dashboard to v0.14.2 by @sunchanglong in #9570
- feat: improve SQL analyze scan diagnostics by @evenyag in #9565
- feat: return per-entry region write failures by @WenyXu in #9728
- feat(mito): add an environment switch to disable compaction by @WenyXu in #9863
- feat(mito): expose scan concurrency metrics and dashboard by @evenyag in #9758
- feat: support query concurrency limits in standalone by @evenyag in #9958
🐛 Bug Fixes
- fix(mito2): prioritize newer compaction windows by @v0y4g3r in #8714
- fix(auth): warn when credential load disables Postgres SCRAM or drops a line by @killme2008 in #8652
- fix(object-store): skip removed-entry lister test on Windows by @discord9 in #8735
- fix(query): preserve remote dynamic filter target by @discord9 in #8615
- fix(operator): invalidate local cache after dropping view by @WenyXu in #8748
- fix(ci): render query regression bot comment as compact table plus threshold details by @discord9 in #8774
- fix(mito2): avoid region worker panic when building a WAL entry fails by @fengjiachun in #8810
- fix(ci): identify team members by repository permission by @killme2008 in #8822
- fix(tests): make two Windows CI failures deterministic (Nightly CI #8837) by @discord9 in #8840
- fix(ci): grant pull-requests write and stop counting drafts by @killme2008 in #8844
- fix(mito2): publish committed sequence only after rows are installed by @discord9 in #8862
- fix: cap default runtime sizes to a minimum of 2 threads by @v0y4g3r in #8908
- fix(meta): avoid blocking runtime on stats cache lock by @WenyXu in #8910
- fix(flow): restore FrontendClient::sql API by @WenyXu in #8963
- fix(flow): avoid insert select HTTP/2 stalls by @discord9 in #8962
- fix(operator): whitelist private system table auto create by @WenyXu in #8930
- fix(cmd): configure meta client in frontend plugin test by @v0y4g3r in #8977
- fix: increase system disk size to 50 GiB for ECS instances by @paomian in #8986
- fix(cmd): gate daemon integration test on Unix by @discord9 in #8987
- fix(mito2): avoid chained L1 rewrites in TWCS by @v0y4g3r in #8981
- fix: add disk usage logging to GitHub step summary in query regression workflow by @paomian in #9005
- fix(client): isolate query and control transports by @discord9 in #8990
- fix(mito2): harden flat merge and use winner_tree by @v0y4g3r in #9064
- fix: prevent catalog testing feature from leaking into production builds by @evenyag in #9063
- fix(ci): avoid cross-references in PR limit comments by @evenyag in #9065
- fix(servers): return text[] for SELECT array[null] in PostgreSQL protocol by @Tyagiquamar in #9058
- fix(ci): strip pre-release extension when creating nightly release version by @sunng87 in #9081
- fix(ci): check Windows test targets before merge by @WenyXu in #9116
- fix(ci): increase query regression ECS disk to 80 GiB by @discord9 in #9123
- fix(promql): preserve native timestamps through sample selection by @discord9 in #9070
- fix: configure series indexes with an enable flag by @evenyag in #9141
- fix(mito2): deliver complete WAL entries without waiting for next input by @discord9 in #8916
- fix(servers): resolve port from IPv6 bind addresses by @immanuwell in #9142
- fix(mito2): preserve effective sequences during compaction by @v0y4g3r in #9147
- fix: register region migration procedures before returning IDs by @fengjiachun in #9163
- fix: preserve structured query errors through distributed execution by @discord9 in #9161
- fix(promql): skip empty batches in SeriesDivide stream by @discord9 in #9178
- fix(ci): rerun semantic PR checks after pushes by @evenyag in #9190
- fix(mito2): preserve last-non-null values across compaction by @v0y4g3r in #9169
- fix: support exact sequence ranges in two-phase series scans by @discord9 in #9096
- fix(ci): repair agent observability dispatch and runner cleanup by @WenyXu in #9204
- fix(json): fix JSONPath panic with jsonb 0.5.6 (follow-up to #9192) by @MichaelScofield in #9228
- fix(servers): merge duplicate timeseries across RecordBatches in Prometheus remote read by @Tyagiquamar in #9032
- fix(prometheus): honor label matchers in name values query by @killme2008 in #9134
- fix(mito2): hold the bulk compact permit for the whole blocking task by @killme2008 in #9252
- fix: make database export assertions portable on Windows by @fengjiachun in #9256
- fix(mito2): cancel cache construction for incomplete scans by @killme2008 in #9254
- fix(mito2): compare primary key ranges across schema versions by @v0y4g3r in #9205
- fix(query): insert MergeScan into nested scalar subqueries by @discord9 in #9261
- fix(ci): stabilize long-range benchmark execution and artifact collection by @WenyXu in #9241
- fix(promql): keep value-field grouping labels out of matching filter propagation by @discord9 in #9242
- fix: release completed SST write buffers during compaction by @v0y4g3r in #9243
- fix: fail startup on duplicate region engine configs by @v0y4g3r in #9281
- fix(query): stop encoding oversized dynamic filters by @killme2008 in #9267
- fix(meta): populate physical metric table column ids by @dhruvxvaishnav in #9286
- fix(postgres): return empty responses for comment-only SQL by @houyuwushang in #9295
- fix(ci): build tests-integration lib with meta-srv/mock by @killme2008 in #9299
- fix: keep compaction pruning, metadata, and index work on compact runtime by @v0y4g3r in #9304
- fix: serialize struct to json in postgres by @sunng87 in #9170
- fix: address Windows test failures and run full Windows CI by @WenyXu in #9305
- fix(json2): restrict JSON2 type hints by @fengys1996 in #9316
- fix(ci): repair draft PR command dispatch by @WenyXu in #9271
- fix(promql): derive vector matching result labels and reject ambiguous matchings by @killme2008 in #9306
- fix(ci): grant PR write permission for CI command replies by @WenyXu in #9331
- fix: merge every state row in geo_path and json_encode_path by @killme2008 in #9339
- fix: only push down aggregates grouped by the partition columns themselves by @killme2008 in #9337
- fix: align ordered aggregate state type with the accumulator output by @killme2008 in #9340
- fix(query): keep count_values generated label in enclosing expressions by @discord9 in #9223
- fix: make vector aggregates work with GROUP BY and partial aggregation by @killme2008 in #9338
- fix: preserve primary key order when syncing columns by @WenyXu in #9189
- fix(mito2): stop parallel flat scan tasks once the receiver is dropped by @killme2008 in #9368
- fix(query): preserve global limits with DataFusion optimizer fixes by @discord9 in #9071
- fix(auth): follow symlink chains in watch_file_user_provider by @DeviousCardi in #9365
- fix(client): complete transport lane isolation by @discord9 in #9030
- fix(ci): teach check-builder-rust-version.sh to handle stable channels by @sunng87 in #9369
- fix(ci): update the shared Actions runner to v2.337.0 by @WenyXu in #9376
- fix(meta-srv): use NoTls for disabled and Unix socket Postgres KV backends by @Tyagiquamar in #9059
- fix(promql): apply offset to subquery evaluation window by @DeviousCardi in #9364
- fix(client): yield Flight batches and affected rows without waiting for next message by @discord9 in #8918
- fix(promql): resolve dotted column names as unqualified columns by @killme2008 in #9391
- fix: bound decompressed request size and close memory-admission gaps for compressed requests by @sunng87 in #9264
- fix(promql): align timestamp(), label_join and label_replace with Prometheus semantics by @killme2008 in #9385
- fix(mito2): truncate parquet column index min/max for SST writes by @killme2008 in #9420
- fix(catalog): skip backend batch_get on full cache hits by @WenyXu in #9431
- fix: temporarily disable v2 series scan by default by @evenyag in #9436
- fix: coalesce equal histogram quantile bucket boundaries by @evenyag in #9451
- fix: accept a bool value for the CLI --auto-create-schema flag by @fengyue-xve in #9450
- fix(otlp): coerce empty and "-" trace attribute strings to null by @killme2008 in #9461
- fix(meta-client): bound heartbeat handshake timeout by @Aetherance in #9438
- fix(partition): preserve region mapping during repartition by @killme2008 in #9458
- fix(promql): restore exact filtering for nullable label matchers by @killme2008 in #9418
- fix(json2): preserve metadata when adding columns via alter table by @fengys1996 in #8696
- fix(metasrv): retry failed heartbeat address updates by @WenyXu in #9437
- fix: align TWCS assignment with half-open time windows by @v0y4g3r in #9464
- fix(operator): bound FlowMirrorTask pending rows to prevent frontend OOM by @discord9 in #9421
- fix(json2): support settings in ALTER TABLE ADD COLUMN by @fengys1996 in #9472
- fix(promql): align subqueries to the absolute evaluation grid by @discord9 in #9400
- build(deps): update opensrv-mysql to fix MariaDB 12.3 USE information_schema hang by @tian1220A in #9357
- fix(promql): keep vector labels when a computed scalar is on the right by @killme2008 in #9478
- fix(otlp): convert boolean metric attributes into label values by @fengyue-xve in #9468
- fix(promql): return no point for zero-interval irate/idelta by @niladrix719 in #9455
- fix(metasrv): stop parking the heartbeat response on the region supervisor queue by @lczllx in #9474
- fix(promql): keep metric name for comparison operators by @Aumnertic in #9332
- fix(metasrv): stop holding the pusher registry lock across mailbox sends by @lczllx in #9445
- fix(mito): flush memtables containing skip-WAL writes on region close by @WenyXu in #9440
- fix(promql): accept evaluation times before the Unix epoch by @killme2008 in #9480
- fix: unify unknown flow option rejection across OSS and enterprise builds by @discord9 in #9319
- fix(promql): return range-vector results for instant queries by @killme2008 in #9477
- fix(query): stop reporting region scans as hash partitioned by @discord9 in #9491
- fix(table): require complete primary keys for hash partitioning by @discord9 in #9507
- fix(deps): bump OpenDAL to 0.59.4 for OSS RRSA credentials by @WenyXu in #9520
- fix(promql): follow IEEE 754 float semantics in comparisons and aggregations by @killme2008 in #9479
- fix(promql): default a stepless subquery to a one-minute step by @killme2008 in #9481
- fix(query): keep filter fetch when rewriting matches term by @discord9 in #9521
- fix(mito): preserve version ordering in bulk merges and flushes by @evenyag in #9517
- fix(mito2): ignore missing inverted indexes in old SSTs by @WenyXu in #9545
- fix: prevent stale leader metadata after concurrent writes by @fengjiachun in #9549
- fix(promql): stop fabricating histogram fold hash partitioning by @discord9 in #9509
- fix(table): stop claiming tag order for logical metric scans by @discord9 in #9522
- fix(promql): stop claiming scalar calculate preserves order by @discord9 in #9523
- fix(query): guard deep expressions during query planning by @evenyag in #9564
- fix: align fulltext bloom tokens with matches_term and use them for LIKE by @killme2008 in #9470
- fix(operator): reuse catalog table resolution for write retries by @WenyXu in #9574
- fix(hdfs): clean up temporary file when an atomic write fails by @fengyue-xve in #9483
- fix(query): accept narrowed nullability in MergeScan remote schema check by @killme2008 in #9592
- fix(table): stop claiming exact null and distinct counts for append scans by @killme2008 in #9593
- fix: avoid pinning memtables during series-index reconciliation by @evenyag in #9588
- fix(query): keep state column names unique when splitting aggregates by @killme2008 in #9594
- fix(jaeger): return the most recent traces when a search hits its limit by @killme2008 in #9595
- fix(pprof): initialize framehop before signal sampling by @v0y4g3r in #9612
- fix(prom): return empty remote read results for missing metrics by @fengys1996 in #9613
- fix(ci): compare release validation against the previous stable version by @paomian in #9636
- fix(mito): avoid pinning region version when rebuilding indexes by @v0y4g3r in #9597
- fix(mito2): keep processing bulk requests after one fails to encode by @fengjiachun in #9638
- fix(promql): honor @ modifier on subqueries by @DeviousCardi in #9446
- fix(mito2): validate bulk insert batches against the region schema by @fengjiachun in #9698
- fix(mito2): fence writes before a graceful downgrade by @fengjiachun in #9716
- fix(mito2): build indexes for encoded bulk parts flushed in sync mode by @killme2008 in #9722
- fix(meta): validate persisted partition bounds before altering regions by @fengyue-xve in #9487
- fix(partition): route NULLs like row inserts and accept signed-minimum bounds by @killme2008 in #9697
- fix(mito2): re-check a filled write as sent after a schema change by @fengjiachun in #9701
- fix: record slow INSERT SELECT queries by @shuiyisong in #9733
- fix(query): push LIKE filters down into MergeScan remote plans by @killme2008 in #9648
- fix: decouple slow-query logging from the global log level by @shuiyisong in #9765
- fix(mito2): apply SST internal column encodings to bulk-encoded parts by @killme2008 in #9735
- fix(query): forward scalar subquery filters to region scans by @killme2008 in #9738
- fix(partition): coerce partition exprs against the batch schema before routing by @sunng87 in #9752
- fix: avoid exact scan row counts for SSTs with unknown counts by @Aumnertic in #9759
- fix: avoid duplicate keys in update flow metadata txn by @v0y4g3r in #9816
- fix(ci): increase release integration test stack size by @evenyag in #9817
- fix(datanode): release region map guard before awaiting role changes by @WenyXu in #9824
- fix(mito): return from manual index builds only after the index is published by @killme2008 in #9643
- fix: preserve datanode write batches when retrying by @WenyXu in #9720
- fix(query): preserve Arrow types when decoding dictionary output by @MichaelScofield in #9858
- fix(meta): release all PostgreSQL election advisory locks on step-down by @WenyXu in #9864
- fix(ci): align nightly Windows and macOS artifact test stack sizes by @evenyag in #9860
- fix(test): avoid MinIO connection reuse after conditional writes by @WenyXu in #9877
- fix(ci): move monitoring datanodeStorage out of standalone base by @daviderli614 in #9902
- fix(pipeline): accept auto-transformed values in existing JSON columns by @MichaelScofield in #9895
- fix(mito2): require flat SST output for JSON2 by @shuiyisong in #9893
- fix(ci): specify Kind storage class for datanodes by @WenyXu in #9908
- fix(mito2): keep SSTs when a manifest save ends with RateLimited or PermissionDenied by @fengjiachun in #9898
- fix: upload staging manifests in chunks by @WenyXu in #9919
- fix(query): avoid lossy casts in partition pruning by @discord9 in #9600
- fix(query): preserve IGNORE NULLS semantics in distributed queries by @discord9 in #9601
- fix(meta): share peer discovery with DDL plugin hooks (release-specific adaptation) by @WenyXu in #9977
- fix(mito2): stop the series distributor from stalling on unread partitions by @killme2008 in #9991
- fix(query): stop windowed sort on precision-lowering time casts by @discord9 in #9524
- fix(query): keep requested sort when filtering on a lossy cast by @discord9 in #10026
🚜 Refactor
- refactor(mito2): revise compaction trigger behavior by @v0y4g3r in #8706
- refactor: port query regression runner to Rust by @discord9 in #8651
- refactor(operator): split semantic_graph relationship builders into a submodule by @killme2008 in #8841
- refactor: remove trivial tests by @v0y4g3r in #8877
- refactor(udaf): replace uddsketch implementation by @v0y4g3r in #8867
- refactor(mito2): rename pk index to series index by @evenyag in #8893
- refactor: remove open metrics parser by @sunng87 in #8905
- refactor: centralize native histogram encoding in common-query by @shuiyisong in #8945
- refactor(flight): add request builder and defer DoGet execution by @WenyXu in #8953
- refactor(mito2): prioritize file count in TWCS picker by @v0y4g3r in #8765
- refactor: support plugin-backed admin functions by @v0y4g3r in #9083
- refactor: remove constant vector and replicate operation by @evenyag in #8999
- refactor(json2): JSON2 parquet projection and schema alignment by @fengys1996 in #9137
- refactor: reuse common batching components in Prom ingestion by @WenyXu in #9114
- refactor(flow): execute streaming flows with DataFusion by @discord9 in #8976
- refactor: migrate partition_statistics to statistics_from_inputs by @discord9 in #9175
- refactor: reorganize logical table batching and isolate encoding by @WenyXu in #9210
- refactor: isolate logical batch scheduling and flushing by @WenyXu in #9211
- refactor: isolate logical table preparation and reuse Flow notifications by @WenyXu in #9212
- refactor: remove experimental vector index by @killme2008 in #9345
- refactor(promql): split planner into focused modules by @discord9 in #9354
- refactor: expose OTLP write and batching helpers for downstream routers by @shuiyisong in #9401
- refactor(operator): centralize write partitioning and dispatch by @WenyXu in #9541
📚 Documentation
- docs: rework README release badges, drop star history, fix grpc flag by @killme2008 in #8743
- docs: align wal.sync_period documented default with actual fallback (5s) by @fengjiachun in #8753
- docs: refine coding agent maps by @killme2008 in #8790
- docs: refresh README product copy by @killme2008 in #8886
- docs: fix README canary release badge resolving to stable version by @sunng87 in #9109
- docs: restructure README and add a cross-signal SQL example by @killme2008 in #9136
- docs: propose Metric export and import optimizations by @fengjiachun in #9121
- docs: refine Rust style guide by @WenyXu in #9220
- docs(agents): clarify the documentation-update checklist item by @killme2008 in #9255
- docs: make packed snapshots part of the Metric export/import RFC by @fengjiachun in #9247
- docs(config): align example configs and config.md with actual defaults by @killme2008 in #9460
⚡ Performance
- perf(promql): avoid repeated scans in sliding range evaluation by @discord9 in #8646
- avoid cloning final Prometheus remote write row by @lyang24 in #8733
- perf: reduce ingestion and flat-merge overhead by @shuiyisong in #8778
- perf: reduce cold workspace compile time by @shuiyisong in #8801
- perf(mito2): optimize dictionary primary key sorting by @lyang24 in #8767
- perf(query): choose bounded CTE as hash join build side by @fengjiachun in #8807
- perf: optimize Prometheus remote write v2 decoding by @shuiyisong in #8873
- perf(mito2): postpone covered time index filters by @evenyag in #8998
- perf(mito2): blazing-fast tournament tree merger by @v0y4g3r in #8989
- perf(promql): push down last row for instant queries by @discord9 in #9034
- perf(table): filter decoded rows with dynamic predicates by @discord9 in #9004
- perf(servers): defer Prometheus sample value formatting to serialization by @killme2008 in #9091
- perf(servers): drop the output sort for Prometheus range queries by @killme2008 in #9090
- perf(mito2): skip proven all-match prefilters by @discord9 in #9066
- perf(promql): avoid per-window allocations in simple range functions by @discord9 in #9104
- perf(query): check Substrait encodability once per plan by @killme2008 in #9095
- perf(gc): pack file reference exchange by @discord9 in #9009
- perf: avoid directory listing for explicit COPY input files by @fengjiachun in #9126
- perf(servers): group Prometheus response rows by label runs by @killme2008 in #9092
- perf(metric-engine): avoid deep-cloning physical column metadata in verify_rows by @v0y4g3r in #9162
- perf(servers): avoid rebuilding JSON records payload by @discord9 in #9160
- Perf/http sql limit materialization by @lyang24 in #9148
- perf(mito2): lazily extract sparse primary key index values by @v0y4g3r in #9176
- perf(mito2): optimize materialized column index updates by @v0y4g3r in #9182
- perf(promql): reuse sliding min and max candidates by @discord9 in #9099
- perf(servers): coalesce ready Flight record batches by @discord9 in #9167
- perf(mito2): use series and range indexes in two-phase series scans by @evenyag in #9153
- perf(promql): avoid concatenating constant series tags by @discord9 in #9108
- perf(mito2): lazily materialize sparse primary key tags by @v0y4g3r in #9199
- perf: add flight coalesce regression case with high-cardinality aggregations by @discord9 in #9214
- perf(promql): propagate matching-label filters between binary operands by @killme2008 in #9202
- perf(mito-codec): streamline sparse label extraction and buffer sizing by @v0y4g3r in #9217
- perf(otlp): share trace resource and scope attributes by @killme2008 in #9253
- perf(servers): reduce temporary memory in protocol handling by @killme2008 in #9249
- perf(servers): stream Prometheus HTTP responses incrementally by @discord9 in #9229
- perf(telemetry): remove the shared lock from TraceLayer by @killme2008 in #9269
- perf(promql): push label filters into grouped join inputs by @killme2008 in #9280
- perf(mito2): lazily decode dense primary key columns by @v0y4g3r in #9226
- perf: bound concurrent Metric export writers by @fengjiachun in #9296
- perf(index): batch bloom filter searches across row groups by @killme2008 in #9361
- perf(mito2): batch index page loads and share cached bloom metadata by @killme2008 in #9360
- perf(index): cut allocations when building bloom and inverted indexes by @killme2008 in #9359
- perf(catalog): optimize single-table lookups in information_schema.partitions by @fengyue-xve in #9473
- perf(promql): reduce timestamp payload allocations and use narrow cursor scans by @discord9 in #9417
- perf(query): infer safe aggregate input bounds from HAVING by @v0y4g3r in #9582
- perf(mito2): gather last rows with one take per input batch by @killme2008 in #9737
- perf: stream and prune SST manifest scans by @WenyXu in #9931
- perf(mito2): index encoded bulk parts from memory during flush by @killme2008 in #9913
🧪 Testing
- test: rename internal bug numbers in tests to semantic names by @discord9 in #8779
- test(mito2): isolate sequence publication barrier by @discord9 in #8876
- test: cover request-level insert WAL skipping end to end by @WenyXu in #9093
- test: regenerate expired TLS certificates for integration fixtures by @discord9 in #9196
- test(flow): stabilize FLUSH_FLOW assertions after async source-table mirrors by @discord9 in #9230
- test: exclude testing feature completely by @sunng87 in #9072
- test: make export chunk deletion failure deterministic by @fengjiachun in #9291
- test: cut integration test time and make the storage matrix meaningful by @killme2008 in #9308
- test(sqlness): run environments concurrently and drop redundant restarts and sleeps by @killme2008 in #9333
- test: remove unused legacy compatibility test suites by @killme2008 in #9378
- test(sqlness): wait for mirrored inserts before flushing streaming flows by @killme2008 in #9424
- test(promql): cover label_replace normalization with distinct series by @fengyue-xve in #9485
⚙️ Miscellaneous Tasks
- feat(ci): run query regression on ephemeral Aliyun ECS runners by @paomian in #8937
- ci: optimize fuzz and split workflows by @WenyXu in #8710
- chore: check enterprise-gated files are listed in both license configs by @killme2008 in #8750
- ci: automate compatibility version window by @discord9 in #8608
- ci: stop running enterprise tests in OSS CI by @v0y4g3r in #8795
- chore(ci): warn when a member has too many open pull requests by @killme2008 in #8813
- ci: update dev-builder image tag by @github-actions in #8831
- ci: update code owners by @evenyag in #8843
- chore: update mysql test drivers and lru by @sunng87 in #8868
- chore: add v2 version label to prom metrics by @shuiyisong in #8885
- chore(mito2): reduce default auto flush interval by @evenyag in #8971
- ci: trigger downstream updates for prereleases by @WenyXu in #9008
- ci: add workflow to auto-create backport PRs from backport labels by @sunng87 in #9028
- ci: skip bumping helm charts and homebrew and downstream repository for pre-releases by @daviderli614 in #9031
- chore(ci): Implement /query-regression command handling and admission workflow by @paomian in #8975
- ci(backport): fix issue creation on cherry-pick conflict by @sunng87 in #9048
- ci(backport): label backport PRs with their version name by @sunng87 in #9073
- chore(ci): update compatibility versions by @MichaelScofield in #9075
- chore: select cmd package when building greptime by @fengys1996 in #9113
- ci(backport): assign backport-failure issue to the original PR author by @sunng87 in #9122
- chore(ci): update compatibility test window to v1.2.1 by @discord9 in #9193
- ci: add manual agent observability benchmarks on Aliyun ECS by @WenyXu in #9179
- chore: reduce duplicate table auto-creation logs by @shuiyisong in #9188
- ci: gate draft PR checks behind slash commands by @WenyXu in #9221
- ci: pin crate-ci/typos to v1.50.2 by @killme2008 in #9246
- ci: use mold in dev-builder by @sunng87 in #9262
- ci: update dev-builder image tag by @github-actions in #9270
- ci: create docs follow-up issue on PR merge instead of on label by @sunng87 in #9237
- ci: update cargo fuzz command to use nightly toolchain explicitly by @sunng87 in #9298
- ci: add optional AWS runners for observability benchmarks by @WenyXu in #9322
- chore(toolchain): switch to stable Rust 1.96.1 and remove all nightly feature gates by @sunng87 in #9303
- ci: update dev-builder image tag by @github-actions in #9355
- ci: deploy MinIO chart with Silo images by @killme2008 in #9362
- ci: add manually triggered tracesbench workflow by @WenyXu in #9372
- ci(query-regression): bump RUNNER_IMAGE_EPOCH to 6 by @MichaelScofield in #9381
- chore: remove leftover flow worker config docs and unused flow metrics by @killme2008 in #9375
- chore: remove dead code left behind by removed features by @killme2008 in #9377
- chore: disable unstable rustfmt features by @sunng87 in #9379
- chore: add cargo min-publish-age of 7 days by @killme2008 in #9384
- chore: add mold back to nix flake by @sunng87 in #9388
- ci(query-regression): bump RUNNER_IMAGE_EPOCH to 7 by @MichaelScofield in #9395
- ci: retry failed nightly release on following weekdays by @sunng87 in #9394
- ci: upgrade EC2 runner action to restore runner registration by @evenyag in #9430
- ci: make query regression non-blocking for scheduled nightly releases by @sunng87 in #9434
- chore: update rust toolchain to 1.98.1 by @sunng87 in #9429
- ci: update dev-builder image tag by @github-actions in #9469
- ci: enhance benchmark workflows with version comparisons and diagnostics by @WenyXu in #9383
- build: reduce checkout-specific inputs for cache reuse by @discord9 in #9198
- ci: benchmark the object store WAL against S3 from an EC2 runner by @fengjiachun in #9536
- chore: bump rustls to 0.23.46 by @v0y4g3r in #9614
- ci: fix CI setup steps that fail on Ubuntu 26.04 runners by @killme2008 in #9901
◀️ Revert
New Contributors
- @Aetherance made their first released contribution in #9438.
- @Aumnertic made their first released contribution in #9332.
- @DeviousCardi made their first released contribution in #9365.
- @Minghan2005 made their first released contribution in #8701.
- @Tyagiquamar made their first released contribution in #9058.
- @dhruvxvaishnav made their first released contribution in #8935.
- @fengyue-xve made their first released contribution in #9450.
- @houyuwushang made their first released contribution in #9295.
- @immanuwell made their first released contribution in #9142.
- @lczllx made their first released contribution in #9474.
- @niladrix719 made their first released contribution in #9455.
- @sainad2222 made their first released contribution in #9060.
- @tian1220A made their first released contribution in #8960.
- @xhwhis made their first released contribution in #8721.
Security Acknowledgements
We thank @Mikelteller4 for reporting unrestricted host access through VRL pipelines, and @shuiyisong for implementing restrictions that disable host access by default (#9610).
All Contributors
We would like to thank the following contributors from the GreptimeDB community:
@Aetherance, @Aumnertic, @DeviousCardi, @MichaelScofield, @Minghan2005, @Tyagiquamar, @WenyXu, @daviderli614, @dhruvxvaishnav, @discord9, @evenyag, @fengjiachun, @fengys1996, @fengyue-xve, @houyuwushang, @immanuwell, @killme2008, @lczllx, @lyang24, @niladrix719, @paomian, @sainad2222, @shuiyisong, @sunchanglong, @sunng87, @tian1220A, @v0y4g3r, @xhwhis
AI summary Fixed metrics streaming, cache config, added adaptive batch APIs
What's Changed
- fix: stream remote analyze metrics while pending by @discord9 in #8405
- fix: preserve leader cache configuration and record cache hits by @WenyXu in #8576
- feat(mito2): expose adaptive batch APIs by @evenyag in #8578
- feat: grant creators access to newly created databases by @shuiyisong in #8566
- fix: enforce table-aware permissions across query and ingest protocols by @shuiyisong in #8552
- feat(flow): handle time_ranges in DirtyWindowRequest by @v0y4g3r in #8582
- feat: add mysql object store backend by @fengys1996 in #8560
- feat: add a region hook for gc cleanup by @sunng87 in #8547
- fix(query): preserve bare plan names in analyze json by @discord9 in #8519
- fix: stabilize remote analyze stage ordering by @discord9 in #8584
- test: stabilize ttl instant sqlness case by @v0y4g3r in #8595
- fix(flow): lower routine batching messages to debug by @discord9 in #8592
- fix: ignore dropping marker during GC by @v0y4g3r in #8588
- ci: gate releases on compat and query regression by @discord9 in #8469
- feat(json2): support JSON2 nested path fallback reads by @fengys1996 in #8540
- fix: bind Prom remote read schema per query by @discord9 in #8591
- fix(flow): downgrade disabled incremental checkpoint log by @discord9 in #8572
- fix: qualify scalar-subquery tables in persisted views by @discord9 in #8581
- fix(pipeline)!: check integer narrowing by @discord9 in #8589
- fix: convert literals in joins and subqueries by @discord9 in #8501
- fix(query): harden range time conversion by @discord9 in #8515
- chore: pin DataFusion cardinality effect by @discord9 in #8562
- fix(json2): treat empty object as null when insert by @MichaelScofield in #8602
- feat: update flow windows after metric batch flush by @v0y4g3r in #8544
- perf: optimize OTLP trace ingestion by @shuiyisong in #8604
- feat: make parquet row group size configurable by @evenyag in #8446
- fix: demote expected remote dynamic filter misses by @discord9 in #8574
- docs: add entity relationships and graph query RFC by @killme2008 in #8605
- fix: prevent credential leaks in sanitize_connection_string by @raphaelroshan in #8539
- feat(mito): add candidate series scanner by @evenyag in #8586
- fix(json2): encode deeply nested values as jsonb by @fengys1996 in #8612
- feat: invoke gc hook for offline region cleanup by @sunng87 in #8613
- fix(mito2): remove stale compaction status when next compaction is throttled by @v0y4g3r in #8618
- fix(meta): configure gRPC message limits by @WenyXu in #8616
- fix: enforce COPY FROM row limit by @discord9 in #8551
- perf(servers): optimize PromQL read conversion by @lyang24 in #8587
- fix(flow): avoid duplicate incremental planning warnings by @discord9 in #8611
- fix: fail closed on malformed password assignments by @fengjiachun in #8622
- fix(metric-engine): validate logical projection indices by @discord9 in #8535
- feat(procedure): support trigger-aware procedure events by @WenyXu in #8549
- chore: enlarge fuzz failover test timeout waiting for datanodes online by @v0y4g3r in #8633
- fix(datatypes): replicate nested list and struct vectors by @shuiyisong in #8638
- Support unquoted postgres intervalstyle by @yimeng in #8637
- ci: add OTLP trace ingestion regression testing by @shuiyisong in #8631
- fix: honor default prefix for all metric columns by @shuiyisong in #8640
- fix(servers): validate remote write native histograms by @shuiyisong in #8654
- ci: add heavy query regression label by @discord9 in #8619
- ci: keep prereleases off stable release channels by @discord9 in #8653
- fix(promql): preserve query-aligned range tail by @discord9 in #8650
- fix(partition): avoid panic on missing route columns by @discord9 in #8645
- refactor: simplify scan projection to root column indices by @fengys1996 in #8629
- feat(event-recorder): configure lifecycle event recording by @WenyXu in #8648
- fix(prometheus): make remote write timeout retryable by @v0y4g3r in #8639
- feat: add database DDL procedure events by @WenyXu in #8623
- feat(common-query): add native histogram runtime model by @shuiyisong in #8656
- fix: configure datanode client gRPC message limits by @evenyag in #8642
- feat: add procedure events for Flow DDL by @WenyXu in #8632
- fix: scope live analyze metrics to streaming requests by @discord9 in #8644
- feat: add extra http router provider in metasrv plugin by @MichaelScofield in #8662
- feat: update dashboard to v0.13.8 by @sunchanglong in #8666
- fix(mito2): suppress empty compaction skip logs by @v0y4g3r in #8667
- feat(promql): add native histogram functions by @shuiyisong in #8664
- perf(mito2): make compaction picker asynchronous to avoid blocking the region worker by @v0y4g3r in #8624
- feat: add events for create and drop view by @WenyXu in #8626
- feat: add a dedicated http api server port by @sunng87 in #8657
- feat: record metrics for timed out explain analyze by @v0y4g3r in #8668
- fix(mysql): fail closed on unrepresentable timestamps by @discord9 in #8580
- feat: update dashboard to v0.13.9 by @sunchanglong in #8674
- fix: enforce permissions for restricted HTTP endpoints by @shuiyisong in #8672
- chore(deps): bump quinn-proto from 0.11.14 to 0.11.16 by @dependabot[bot] in #8675
- fix(repartition): enforce GC across lifecycle by @killme2008 in #8678
- feat(metasrv): add repartition lifecycle events by @WenyXu in #8665
- feat: support time range in manual compaction by @v0y4g3r in #8669
- chore: update nix flake to 26.05 by @sunng87 in #8681
- feat: update dashboard to v0.13.10 by @sunchanglong in #8687
- chore(deps): pin timestamp widening preimage fix by @discord9 in #8686
- feat: add table DDL procedure events by @WenyXu in #8627
- fix(json2): standardize widening and projection cast semantics by @fengys1996 in #8661
- fix: preserve dictionary regex filter semantics by @discord9 in #8688
- fix(query): use physical partition types for metric route pruning by @discord9 in #8590
- perf(query): prune RangeSelect input projections by @discord9 in #8570
- ci: limit fuzz test parallelism by @WenyXu in #8690
- refactor(mito2): add prerequisites for range-based series reads by @evenyag in #8679
- fix(query): handle empty operands in PromQL or by @discord9 in #8502
- feat: expose MitoRegion::all_manifest_files for metadata rebuild by @sunng87 in #8680
- fix(mito2): make async index publication conditional by @killme2008 in #8676
- chore: update flake to use zlib by @sunng87 in #8691
- feat(metasrv): record WAL prune procedure events by @WenyXu in #8677
- refactor: replace endpoint permission variants with named actions by @shuiyisong in #8692
- refactor(mito2): split compaction scheduler modules by @v0y4g3r in #8698
- feat(query): add native histogram result plumbing by @shuiyisong in #8693
- feat(metasrv): add batch GC lifecycle events by @WenyXu in #8673
- fix(metric-engine): prevent stale metadata cache fills by @shuiyisong in #8699
- fix(mito2): fence async index builds by schema generation by @killme2008 in #8697
- test: stabilize remote dynamic filter left join e2e by @discord9 in #8711
- feat(mito2): support cancelling flush jobs by @evenyag in #8685
- fix: make select whole json2 column worked by @MichaelScofield in #8683
- refactor(event): store procedure trigger as JSONB by @WenyXu in #8700
- fix!: sandbox SQL local filesystem access by @fengjiachun in #8708
- fix(meta): preserve legacy WAL options compatibility by @WenyXu in #8707
- fix(mito2): limit compaction picker threads by @v0y4g3r in #8704
- fix(mito2): prioritize newer compaction windows by @v0y4g3r in #8714
- fix(auth): warn when credential load disables Postgres SCRAM or drops a line by @killme2008 in #8652
- test(object-store): fix racy SecureFs abort test by @v0y4g3r in #8720
- feat(query): plan native histogram functions by @shuiyisong in #8705
- perf(promql): avoid repeated scans in sliding range evaluation by @discord9 in #8646
- ci: optimize fuzz and split workflows by @WenyXu in #8710
- fix: add public constructor for compactor by @sunng87 in #8724
- feat(logging): add enable_file_logging option to disable file logging by @xhwhis in #8721
- avoid cloning final Prometheus remote write row by @lyang24 in #8733
- feat(function): add json_object_keys scalar function by @xhwhis in #8722
- refactor(mito2): revise compaction trigger behavior by @v0y4g3r in #8706
- feat: update dashboard to v0.13.11 by @sunchanglong in #8737
- fix(object-store): skip removed-entry lister test on Windows by @discord9 in #8735
- fix(query): preserve remote dynamic filter target by @discord9 in #8615
- docs: rework README release badges, drop star history, fix grpc flag by @killme2008 in #8743
- chore: check enterprise-gated files are listed in both license configs by @killme2008 in #8750
- fix(operator): invalidate local cache after dropping view by @WenyXu in #8748
- chore!: gate soft-drop table behind the enterprise feature by @v0y4g3r in #8747
- feat: make frontend heartbeat extensible and lifecycle-safe by @fengjiachun in #8726
- fix(meta): release region guards after drop rollback by @WenyXu in #8751
- feat: add health-aware gRPC client routing by @WenyXu in #8684
- refactor!: move native histogram config and
prom_validation_modeto prom_store by @shuiyisong in #8744 - feat(mito2): discard unflushed region data safely by @evenyag in #8600
- docs: align wal.sync_period documented default with actual fallback (5s) by @fengjiachun in #8753
- fix: support Utf8View labels in Prometheus response by @evenyag in #8754
- fix(query): validate merge scan remote schema by @discord9 in #8579
- feat(grafana): add events dashboard by @WenyXu in #8725
- refactor: separate a json2 extension type by @MichaelScofield in #8745
- feat: add admin function registrar by @fengjiachun in #8762
- feat(promql): define native histogram semantics by @shuiyisong in #8758
- feat(flow): add information_schema.flow_statistics and SHOW FLOW STATUS (#7987) by @onepizzateam in #8392
- ci: automate compatibility version window by @discord9 in #8608
- feat: support enabling skip_wal with ALTER TABLE by @fengjiachun in #8730
- chore: bump version to 1.3.0 on default branch by @sunng87 in #8749
- fix(mito2): fail open when Bloom IN predicate has non-literal or unencodable members by @discord9 in #8709
- fix: cache physical table metadata lookups by @shuiyisong in #8777
- refactor: port query regression runner to Rust by @discord9 in #8651
- feat(mito2): add range-based metric series reader by @evenyag in #8703
- fix(ci): render query regression bot comment as compact table plus threshold details by @discord9 in #8774
- fix(object-store): fix unused import on Windows after #8735 by @discord9 in #8752
- feat: read-time entity relationships graph over telemetry (M0+M1) by @killme2008 in #8614
- perf: reduce ingestion and flat-merge overhead by @shuiyisong in #8778
- fix(query): avoid unsafe count wildcard rewrites by @discord9 in #8522
- fix(frontend): remove gRPC DDL panics for DropView and non-timestamp time index by @discord9 in #8739
- feat(protocol): validate native histogram ingestion by @shuiyisong in #8775
- feat: support generic heartbeat response extension accumulation by @fengjiachun in #8786
- feat: support old-stage datanode config overlays by @discord9 in #8647
- test: rename internal bug numbers in tests to semantic names by @discord9 in #8779
- fix(flow): fix flow stats aggregation and df_plan_to_sql quoting by @discord9 in #8729
- ci: stop running enterprise tests in OSS CI by @v0y4g3r in #8795
New Contributors
Full Changelog: v1.2.0-d1e61a4ad-20260720-1784560249...v1.3.0-70470bafb-20260807-1786098766
v1.1.4
Release date: July 24, 2026
GreptimeDB v1.1.4 is a focused maintenance release improving correctness for streaming Flow expiration and timestamp presentation over MySQL. It also includes stability, query-validation, metadata-client, and storage fixes.
We recommend users on earlier v1.1 releases upgrade to v1.1.4.
👍 Highlights
- Streaming Flow
EXPIRE AFTERvalues are now converted to the correct time unit, preventing state from expiring too early. Negative values are rejected while0remains valid. - MySQL timestamp results now respect the column's configured precision, avoiding padded millisecond values and truncated nanosecond values.
- MetaSrv leader caching is now enabled correctly after leader election, restoring leader-side metadata-cache performance.
- Compaction scheduling now removes stale status after throttling, so later compaction work can continue normally.
🐛 Bug Fixes
- fix(query): validate DistAnalyzeExec child count by @discord9 in #8510
- fix: avoid panic when negating MIN-valued literals by @raphaelroshan in #8484
- fix: preserve nulls in timestamp arrays by @discord9 in #8508
- fix: timestamp display precision should respect column schema (#8227) by @divyansh-1009 in #8238
- fix(mito): chunk manifest object writes by @WenyXu in #8567
- fix: display codes in metasrv client errors by @evenyag in #8558
- fix(mito): notify bulk writes on WAL error by @v0y4g3r in #8563
- fix: ignore dropping marker during GC by @v0y4g3r in #8588
- fix(query): preserve bare plan names in analyze json by @discord9 in #8519
- fix(flow): lower routine batching messages to debug by @discord9 in #8592
- fix(flow): downgrade disabled incremental checkpoint log by @discord9 in #8572
- fix: demote expected remote dynamic filter misses by @discord9 in #8574
- fix: prevent credential leaks in sanitize_connection_string by @raphaelroshan in #8539
- fix(mito2): remove stale compaction status when next compaction is throttled by @v0y4g3r in #8618
- fix(meta): configure gRPC message limits by @WenyXu in #8616
- fix(flow): convert streaming expiration to milliseconds by @QuakeWang in #8481
- fix: qualify scalar-subquery tables in persisted views by @discord9 in #8581
- fix: preserve leader cache configuration and record cache hits by @WenyXu in #8576
All Contributors
We would like to thank the following contributors from the GreptimeDB community:
@QuakeWang, @WenyXu, @discord9, @divyansh-1009, @evenyag, @raphaelroshan, @v0y4g3r
@ Every self-hosted release, weekly
One Monday email with the week's stable releases across the directory.
FAQ
Does the GreptimeDB Dashboard have authentication?
The open-source dashboard has no built-in authentication, so you should front it with a reverse proxy using Basic Auth or place it behind internal auth; the Enterprise management console has access control built in.
Which metadata storage backend should I use for metasrv?
etcd, MySQL and PostgreSQL are all supported; the docs recommend PostgreSQL or MySQL (including cloud RDS) for production while noting etcd is not deprecated.
What are the deployment options?
A cluster of metasrv, frontend and datanode (minimum 3 nodes for HA) or a single-process standalone binary for development, edge and IoT, on object storage or local disk.
How do I connect Grafana to GreptimeDB?
Three options are documented: the official GreptimeDB data source plugin with SQL and PromQL support, the Prometheus data source against GreptimeDB's compatible endpoint, or the built-in MySQL data source.
What protocols, tools, and SDKs does GreptimeDB support?
Write protocols include OTLP, Prometheus Remote Write, InfluxDB Line Protocol, Loki, Elasticsearch, MySQL, PostgreSQL and gRPC; querying is SQL or PromQL, with Grafana visualization, data-pipeline tools and SDKs for Go, Java, Rust, Erlang, .NET and TypeScript.
How does GreptimeDB handle late-arriving or out-of-order data?
Writes with any timestamp are accepted with no ingestion window or ordering requirement and become queryable immediately; compaction sorts data in the background.
Can I change a column's type after table creation?
Yes, with ALTER TABLE ... MODIFY COLUMN, provided the column is a nullable field rather than a tag or the time index.
How do I customize the default column names for InfluxDB / Prometheus protocols?
Generated columns use a greptime_ prefix by default; setting the top-level default_column_prefix option changes or removes it, and a restart is required.
How do I set default table options (TTL, append mode, etc.) for auto-created tables?
Options such as ttl, append_mode, merge_mode, skip_wal and sst_format can be passed at ingestion time via the x-greptime-hints HTTP header, changed later with ALTER TABLE where supported, or set as database-level defaults.
Does GreptimeDB support schemaless data ingestion?
Yes — when writing through gRPC, InfluxDB Line Protocol, OpenTSDB, Prometheus Remote Write, OpenTelemetry, Loki or the Elasticsearch-compatible APIs, tables and columns are created automatically on first write.
What's the difference between Tag and Field columns?
Tag columns identify a time series and are indexed by default (declared as PRIMARY KEY in SQL), field columns hold measured values, and every table needs exactly one timestamp as time index.
What's the difference between GreptimeDB and InfluxDB?
GreptimeDB claims a fully open-source distributed system, region-based sharding, SQL plus PromQL, native metrics/logs/traces in one model, and Kubernetes-oriented disaggregated storage.
What are GreptimeDB's design trade-offs?
It gives up ACID transactions and is not built for frequent fine-grained deletes, since it is optimized for append-heavy time-series observability workloads rather than general OLTP.
How is GreptimeDB's performance compared to other solutions?
It targets high-throughput writes, low-latency queries and cheap storage, with published benchmark reports against InfluxDB, TimescaleDB, Mimir, ClickHouse, Elasticsearch, Loki and SQLite.
Where can I find ready-to-run demos?
The demo-scene repository holds end-to-end examples for metrics, logs, IoT and other use cases that run locally with Docker Compose.
More in Time Series
influxdbOpen-source, single-node time series database you self-host for real-time metrics and events, querying Parquet-backed data with SQL or InfluxQL.
questdbSelf-hosted, open-source time-series database with SAMPLE BY and ASOF join SQL, QuestDB Wire Protocol ingestion, PGWire support and a web console.
Super ProductivityFree, open-source, local-first to-do app with timeboxing, time tracking, planner and Kanban boards; self-host the web app via Docker or SuperSync.
tdengineSelf-hosted open-source time-series database for IoT and industrial data, offering clustering, stream processing, subscriptions, TDgpt AI and Grafana or Kafka links.
TelegrafOpen-source, self-hosted telemetry agent that collects, processes and writes metrics and logs via 300+ plugins, shipped as a single static binary configured in TOML.
timescaleTimescaleDB is an open-source, self-hosted PostgreSQL extension for time-series and event data, with hypertables, columnar compression, and continuous aggregates.
victoriametricsOpen-source, self-hosted time series database and monitoring backend that replaces Prometheus or Graphite as Grafana's metrics store, with PromQL and MetricsQL querying.
ArcadeDBOpen-source, self-hosted multi-model database: one ACID engine for graph, document, key-value, vector, full-text and time-series data, queried in SQL, Cypher or Gremlin.
cratedbA self-hosted, open-source distributed SQL database with PostgreSQL wire protocol support, for real-time analytics over time-series, full-text and vector data.
EmoncmsOpen-source app that ingests, logs and charts energy, temperature and environmental readings; self-hosted free via Docker or EmonScripts, from OpenEnergyMonitor.
GrafanaMimirOpen-source, self-hosted long-term TSDB for Prometheus: multi-tenant, replicated metrics storage that scales past a billion active series.




0 comments