Repository navigation
Releases
Release v1.4.0-nightly-20261130
What's Changed
- refactor(promql): fold the legacy histogram aggregate through the native kernel by @discord9 in #10505
- fix(otlp): reject malformed cumulative histogram points by @shuiyisong in #10552
- feat(query): opt-in experimental factorized join aggregation rewrite (WIP) by @discord9 in #9546
- perf(mito2): prune files by their primary key range before reading footers by @killme2008 in #10564
- fix(sql): keep column options in ALTER TABLE ADD COLUMN by @killme2008 in #10556
- perf(promql): hand series chunks between native operators in process by @discord9 in #10506
- fix(repartition): pause metadata compaction and clean up copied SSTs during sync by @WenyXu in #10541
- fix: catch up a writable region that still awaits its Leader lease by @fengjiachun in #10559
- perf(mito2): bound row group bytes and skip statistics for large field values by @killme2008 in #10528
- fix(promql): plan absent_over_time over a nameless multi-metric selector by @discord9 in #10512
- fix(table): restore dynamic statistics pruning for nullable keys by @discord9 in #10502
- perf(mito2): split seq scan ranges of files with disjoint primary keys by @killme2008 in #10561
- fix: reject JSON integers outside the u64/i64 range instead of rounding them by @dayan02dev in #10481
- docs: correct when Rust CI runs the Windows compilation check by @shuxiachai in #10458
- fix(query): stop reporting CTEs as missing tables in range queries by @dayan02dev in #10397
- fix(function): align INSERT negative len handling with MySQL by @boaz2026 in #10519
- fix(servers)!: validate UTF-8 in unchecked Prometheus validation mode by @killme2008 in #10593
- chore: fix cargo-shear warnings in common-telemetry and session by @fengys1996 in #10595
- feat(postgres): jsonl COPY FROM STDIN via the arrow-json engine by @sunng87 in #10109
- fix(deps): upgrade url to 2.5.9 by @fengys1996 in #10596
- feat(mito): integrate opt-in authoritative Narthex storage by @evenyag in #10526
- perf(promql): return a fixed plan-metrics set instead of cloning the live one by @discord9 in #10525
- fix(servers): require authentication for debug endpoints by @killme2008 in #10592
- fix(datatypes): bounds-check Vector::get and get_ref by @killme2008 in #10594
- fix(promql): answer a named selector over a missing table with the empty vector by @discord9 in #10472
- feat(promql): read the quantile parameter at every grid point by @discord9 in #10509
- fix(mito2): keep a caught-up region writable on candidate leases by @fengjiachun in #10590
- refactor(promql): fold legacy histogram aggregates through the native accumulator by @discord9 in #10483
- fix(meta): persist segmented procedure checkpoints atomically on RDS by @WenyXu in #10604
- fix(table): keep the primary key order when adding columns by @killme2008 in #10591
- refactor(mito2): share SST reading with multi-region compaction by @evenyag in #10583
- ci: make nightly merge opt-out and simplify Docbot labels by @shuiyisong in #10601
- fix(mito2): decouple table compaction upload and Arrow budgets by @v0y4g3r in #10607
- feat: hand a region over to the object store WAL during catchup by @fengjiachun in #10589
- fix(query): correct filtering and ordering for file engine scans by @fengys1996 in #10547
- fix: keep exact DECIMAL and BIGINT UNSIGNED values in COPY FROM csv and json by @SAMARTHJAISWAL in #10560
- fix(meta): preserve table column order and primary key indices during reconciliation by @Tyagiquamar in #10251
- feat(meta): add object-store authority state machine and single writer by @Alorun in #10588
- fix: reject primary key encoding options on logical metric tables by @shuiyisong in #10624
- fix(mito2): size old SSTs from size statistics and move the downgrade target to v1.2.0 by @killme2008 in #10585
- perf(promql): stop building label-set tables where they cannot collide by @discord9 in #10514
- fix(mito2): estimate compaction memory per output by @killme2008 in #10566
- fix(mito2): release write buffer memory that bulk memtable encoding saves by @killme2008 in #10565
- feat(promql): answer the shapes the native route refused for want of a rule by @discord9 in #10611
- fix: skip inactive datanodes during inspection and expire stale registrations by @WenyXu in #10630
- fix: honor LIMIT when copying a table to a file by @pcbeingused333 in #10639
- feat(mito): build native series indexes with certified time-window coverage by @evenyag in #10615
- fix(mito2): run the work held back by the Leader lease wait once the region can run it by @fengjiachun in #10618
- fix(query): prune logical metric scans by table ID by @evenyag in #10645
- fix(mito): refresh the removed-file count when GC clears its records by @discord9 in #10636
- feat(mito): compact native series indexes within a coverage window by @evenyag in #10649
- fix(mito2): make table compaction publication retries idempotent by @WenyXu in #10651
- fix(mito2): require a region to own its files before a remap by @discord9 in #10646
- fix(table): do not extract time range from mixed IN lists by @discord9 in #10357
- fix(procedure): recover from the last readable checkpoint by @WenyXu in #10612
- perf(promql): look the routed identity up once per message by @discord9 in #10549
- fix(mito2): allow table compaction publication after adding nullable sparse tags by @WenyXu in #10681
- feat(mito2): hand a region over from its source without replaying in catchup by @fengjiachun in #10641
- fix(mito2): treat a primary key order change as incompatible by @discord9 in #10326
- feat(mito): store native histograms in narthex samples by @killme2008 in #10667
- fix(meta): check for a follower on the migration target before opening the candidate by @fengjiachun in #10684
- fix(promql): treat equal histogram start timestamps as no reset by @killme2008 in #10660
- feat(log-store): list the regions that hold unreleased object store WAL entries by @fengjiachun in #10687
- fix(promql): plan a float function over a split native histogram sum by @killme2008 in #10663
- test(perf): cover short series and enforce the native PromQL route by @discord9 in #10523
- fix(mito2): apply time predicates before last-row selection on narthex reads by @killme2008 in #10664
- fix(mito2): read narthex tables partitioned on a non-tag column by @killme2008 in #10665
- fix(promql): publish legacy columns for native TQL in CTEs and flows by @killme2008 in #10666
- fix(mito2): keep a region open when a flush-on-close cannot flush it by @fengjiachun in #10689
- refactor(promql): trim native PromQL comments and redundant tests by @killme2008 in #10704
- test(metric-engine): pin cancelling an add-column request while the physical alter is pending by @BootstrapperSBL in https://gi...
Release v1.3.2
v1.3.2
Release date: November 30, 2026
GreptimeDB v1.3.2 fixes DELETE and query correctness issues, numeric precision loss during imports, and COPY authorization checks. It also adds remote storage access controls and bundles Dashboard v0.14.7.
👍 Highlights
Security
query.remote_allowed_hostsrestricts the hosts that SQL object-storage operations can reach, andquery.allow_server_credentialscontrols whether those operations can use the server's credentials. The host list is empty (unrestricted) and server credentials are allowed by default; explicit connection credentials now undergo stricter validation. (#10627, GHSA-qrqc-44gj-v7qr)- With
user_providerconfigured, frontend and standalone/debug/*endpoints require authentication. COPY exports require read permission in addition to write permission, and database COPY checks the tables it actually reads or writes. (#10592, #10375) - Prometheus remote write no longer constructs unchecked UTF-8 strings in
uncheckedmode, preventing unreadable WAL records. Vector accessors now check bounds before reading array values. (#10593, #10594, GHSA-2mvg-fq4p-v48x)
Query and DELETE correctness
Fixes these incorrect results:
- With
merge_mode = 'last_non_null', deleted rows reappear when a field filter is applied, and deleted field values reappear after a row is reinserted with NULL fields. (#10707, #10717, #10726) DELETEon a table partitioned by a non-primary-key column reports success but leaves the row in place. (#10710)- On file engine tables, filters on primary key and time index columns can be dropped, and
ORDER BY ... LIMITcan return the wrong rows. (#10547) - A time index
INlist that mixes literals and other expressions prunes matching rows. (#10357) - SSTs with a different dense primary key order are merged without deduplication, so
COUNTandSUMcan overcount. (#10326)
Large string and binary fields
Flush and compaction use smaller row groups for wide rows to reduce memory use and avoid Parquet byte-array decoding failures. Sizing targets 128 MiB per row group using estimated row widths; unevenly sized rows can exceed that target. (#10528, #10585)
Numeric precision in COPY FROM
COPY FROM preserves numeric precision when importing DECIMAL columns from CSV or JSON and BIGINT UNSIGNED columns from JSON. DECIMAL values still round to the column's scale; out-of-range values now return an error instead of becoming NULL. (#10560)
Dashboard v0.14.7
Table views allocate enough width for formatted timestamps, and the Flow list keeps action columns at their declared width when fitting the table to its container. PromQL completion and hover tooltips no longer get clipped by the editor or covered by the results pane. (Dashboard #678, Dashboard #680, Dashboard #677)
Upgrade notes
- SSTs written by v1.3.2 can contain index segments that span row groups and require v1.2.0 or later readers. Do not mix v1.3.2 with v1.1.x or earlier readers, or downgrade to those versions. (#10528, #10585)
- For tables whose primary key order changed after an earlier
ADD COLUMN, runADMIN reconcile_tableonly when the regions have consistent metadata. Reconciliation restores table metadata; it does not repair SSTs written with a different key order. (#10591, #10251) - Before merging partitions, compact regions whose SST partition expressions differ from the region's expression, including old SSTs with no recorded expression. If repartition has entered staging, abort it before compaction; enterprise shared SSTs require table compaction. (#10646)
- Complete datanode upgrades before running merge repartitions with v1.3.2 metasrv: older datanodes reject the new ownership precheck. Splits and one-to-one repartitions do not run this check. (#10646)
- To restrict SQL access to remote object storage, configure
query.remote_allowed_hostsandquery.allow_server_credentialson frontend and datanode services, or standalone. By default, the host list is empty (unrestricted) and server credentials are allowed. (#10627) - A nonempty
query.remote_allowed_hostslist disables HTTP redirects and checks credential requests too; include required credential-service hosts, such asoauth2.googleapis.com, but do not allow instance-metadata or internal management services. Withquery.allow_server_credentials = false, supply credentials in connection options or use OSS anonymous access. (#10627) - In earlier versions,
ALTER TABLE ADD COLUMNdropped column comments. Check previously added columns for missing comments after upgrading. (#10556)
Breaking changes
- With
user_providerconfigured, frontend and standalone/debug/*requests require credentials. Update profiling and diagnostic scripts accordingly. (#10592) - COPY exports require read permission through
copy.toin addition to write permission, and database COPY checks the actual source or destination tables. Custom permission checkers for experimental metric exports must replacedatabase.exportgrants withcopy.to;continue_on_errordoes not bypass permission failures. (#10375) - Prometheus
prom_validation_mode = "unchecked"now decodes likelossy, replacing invalid UTF-8 with U+FFFD to prevent unreadable WAL records. Existing configurations remain accepted. (#10593) - SST reads with mismatched dense primary key order fail with
primary key has different prefixinstead of returning incorrect results. This check does not apply to sparse primary keys. (#10326) - Numeric
COPY FROMimports reject DECIMAL overflow instead of converting it to NULL. (#10560) - Explicit S3 and signed OSS connections require both access-key fields; an S3 session token also requires both fields. Azure account keys require an account name, supplied explicitly or derived from the endpoint. (#10627)
- Explicit GCS
credentialvalues must be base64-encoded service-account keys withprivate_keyandclient_email; other credential types are rejected. Existing external tables with rejected connection options must have those options corrected or be recreated before they can be scanned. (#10627)
🚀 Features
- feat: update dashboard to v0.14.7 by @sunchanglong in #10551
🐛 Bug Fixes
- fix(servers)!: validate UTF-8 in unchecked Prometheus validation mode by @killme2008 in #10593
- fix!: restrict object storage access from SQL statements by @killme2008 in #10627
- fix(recordbatch): treat -0.0 and +0.0 as equal in SimpleFilterEvaluator by @dayan02dev in #10443
- fix(servers): report the dryrun row limit instead of "data is required" by @dayan02dev in #10491
- fix(auth): enforce COPY export read and database table permissions by @killme2008 in #10375
- fix(sql): keep column options in ALTER TABLE ADD COLUMN by @killme2008 in #10556
- fix(table): restore dynamic statistics pruning for nullable keys by @discord9 in #10502
- fix(servers): require authentication for debug endpoints by @killme2008 in #10592
- fix(datatypes): bounds-check Vector::get and get_ref by @killme2008 in [#10594](...
Release v1.4.0-nightly-20261123
What's Changed
- feat(mito2): bound tail replay resources and recover from failed rounds by @fengjiachun in #10444
- perf: batch logical table cleanup when dropping databases by @WenyXu in #10461
- fix(postgres): account for buffered InfluxDB and OTLP COPY bodies by @sunng87 in #10450
- feat(ingestion): configurable time index unit for auto-created physical metric tables by @sunng87 in #10189
- feat(meta-srv): bind candidate region leases to the migration's registration by @fengjiachun in #10440
- feat: support trigger cache invalidation through frontend plugins by @fengys1996 in #10460
- fix(mito2): release the manifest lock while a downgrade waits for the checkpoint by @fengjiachun in #10468
- feat(mito2): support index plugins in compaction by @WenyXu in #10333
- feat(log-store): fence object store WAL I/O with node leases by @WenyXu in #10438
- test(operator): allow memory admission before metering rejection by @WenyXu in #10486
- feat(postgres): support Arrow IPC COPY via Flight bulk ingestion by @sunng87 in #10470
- fix: return file logging initialization errors instead of panicking by @WenyXu in #10478
- fix(servers): report the dryrun row limit instead of "data is required" by @dayan02dev in #10491
- fix: avoid stack overflow on long UNION ALL chains by @dayan02dev in #10386
- feat(promql): native PromQL execution path (off by default) by @discord9 in #10480
- fix: reject unsafe local COPY output filenames by @fengjiachun in #10462
- feat(meta-srv): add enterprise-gated object store WAL configuration by @WenyXu in #10475
- feat(meta): add object-store authority head storage by @Alorun in #10465
- fix(datanode): keep remote dynamic filter registrations that race with query state removal by @fengjiachun in #10467
- fix(meta-srv): treat a missing region in the downgrade reply as a failure by @fengjiachun in #10485
- feat: infer remote table schema for relational external tables by @tian1220A in #10200
- feat(postgres): support COPY targets for OTLP logs and traces by @sunng87 in #10449
- perf(table): prune by time range for filters on date_bin of the time index by @florissmit10 in #10345
- fix(operator): apply metric ingest TTL hints to physical tables by @Tyagiquamar in #9057
- fix: chunk RDS batch operations within parameter limits by @WenyXu in #10489
- feat(mito): track authoritative Narthex metadata and artifact lifetimes by @evenyag in #10507
- fix(metric): route logical table writes by internal table id by @WenyXu in #10366
- fix(auth): enforce COPY export read and database table permissions by @killme2008 in #10375
- feat: add an admin function to discard pending WAL tails by @fengjiachun in #10477
- feat(meta): add shared batch lookups for table metadata caches by @WenyXu in #10527
- fix(metasrv): reserve repartition region numbers before creating regions by @WenyXu in #10524
- perf(query): fill TopK heaps early over filtered region scans by @killme2008 in #10515
- fix(meta-srv): skip upgraded regions on retry and recheck routes in region migration by @fengjiachun in #10498
- perf(metric-engine): share logical column metadata by physical table by @WenyXu in #10536
- perf(metric-engine): stream metadata copies during repartition by @WenyXu in #10535
- fix(mito-codec): align sparse metric rows with physical region fields by @WenyXu in #10543
- test(query): skip the far-future overflow test when SystemTime cannot represent it by @discord9 in #10545
- perf(catalog): batch cached metadata reads for information schema scans by @WenyXu in #10542
- feat(meta-srv): check pending WAL tails before a repartition starts by @fengjiachun in #10504
- perf(table): compile a regex predicate once per scan instead of once per batch by @discord9 in #10517
- perf(auth): skip unnecessary catalog lookups for table permissions by @shuiyisong in #10539
- fix(mito2): wait for a Leader lease before committing after a catchup by @fengjiachun in #10544
- refactor(meta): make coordinated invalidation the default for metadata caches by @WenyXu in #10550
- refactor: reuse the backend for packed database exports by @fengjiachun in #10482
- feat: update dashboard to v0.14.7 by @sunchanglong in #10551
- perf(mito2): box file range streams to reduce state copies by @killme2008 in #10235
Full Changelog: v1.4.0-alpha.0-fcc1891ba-20261116-1794831195...v1.4.0-nightly-20261123
Release v1.4.0-nightly-20261116
What's Changed
- perf: narrow remote read scans using time hints by @fengys1996 in #10180
- feat: add information_schema.compaction_tasks by @WenyXu in #10173
- refactor: rename flushed_parquet_bytes to ingested_parquet_bytes by @WenyXu in #10258
- perf(mito2): reuse static manifest checks across row groups by @killme2008 in #10220
- fix: tolerate invalid UTF-8 in JSON log ingestion by @shuiyisong in #10245
- fix(promql): bound scatter time filter expression depth by @evenyag in #10272
- fix(query): use current partition columns in prepared plans by @fengjiachun in #10244
- fix(mito2): publish manifest deltas by conditional create under a lease by @fengjiachun in #10234
- feat(log-store): add a read-only object store WAL reader by @WenyXu in #10269
- fix(time): avoid i32 overflow when converting an out-of-range date by @arpitjain099 in #10299
- feat: update dashboard to v0.14.5 by @sunchanglong in #10270
- fix(mito2): keep rows written during staging in the WAL by @fengjiachun in #10253
- perf(query): push column projections through MergeScan by @killme2008 in #10221
- fix: pgwire update 0.42.2 by @sunng87 in #10300
- feat(mito2): add shared SST storage and reclamation foundations by @v0y4g3r in #10256
- refactor(mito2): unify builtin index planning and execution by @WenyXu in #10293
- perf(puffin): reuse reader metadata and scoped cache keys by @WenyXu in #10294
- feat: support cancelling compaction tasks by task ID by @WenyXu in #10229
- fix: restrict JSON retries to invalid UTF-8 errors by @shuiyisong in #10302
- feat(prometheus): query persisted metric exemplars by @shuiyisong in #9924
- test: disable the event recorder in tests that count WAL writes by @fengjiachun in #10316
- feat(mito2): add column sketch options and index metadata by @WenyXu in #10295
- feat(mito2): record pending WAL tails in region manifests by @fengjiachun in #10308
- feat(mito2): support extension index providers and input reuse by @WenyXu in #10297
- feat: flush regions under object store WAL retention pressure by @WenyXu in #10309
- chore(deps): bump datafusion to ae04160b by @discord9 in #10320
- fix(datatypes): render jsonb stored as JSON text without panics or wrong values by @killme2008 in #10197
- feat(mito2): publish table compaction results conditionally by @v0y4g3r in #10310
- fix(mito2): check the lease before manifest commits and reload regions after conflicts by @fengjiachun in #10311
- fix(promql): resolve the OR right operand's time-index column from its schema by @discord9 in #10335
- fix(meta-srv): stop failing over regions that are still opening by @WenyXu in #10290
- fix(log-store): close raft-engine engines on shutdown by @AbstractBike in #9518
- fix: honor the pipeline version header and URL parameter in Elasticsearch _bulk by @fengyue-xve in #9452
- fix: redact credential table options in user-visible output by @killme2008 in #10346
- fix(log-store): skip objects collected below the boundary in WAL reads by @fengjiachun in #10343
- fix(datanode): keep flush task error status code and retry hint by @WenyXu in #10360
- perf(mito2): prefilter single-column dynamic filters by @discord9 in #10340
- fix(meta): skip metric engine identity columns when merging partition columns by @WenyXu in #10368
- fix(mito2): commit staging edits once when staging ends by @fengjiachun in #10322
- feat: update dashboard to v0.14.6 by @sunchanglong in #10365
- fix(build): restrict dashboard tokens to the GitHub origin by @killme2008 in #10379
- fix(servers): authorize HTTP database overrides by @killme2008 in #10378
- fix(frontend): check table permissions for COPY FROM STDIN by @killme2008 in #10374
- fix(mito2): notify flush waiters after failure cleanup by @WenyXu in #10398
- fix(function): handle unaligned binary vector literals by @killme2008 in #10380
- fix(frontend): classify physical entity graph sources by @killme2008 in #10383
- docs: record authorization invariants in servers and frontend guides by @killme2008 in #10384
- fix(config)!: redact credentials from diagnostic TOML by @killme2008 in #10381
- feat(function): expose iceberg_hash and iceberg_hash_bounds SQL functions by @v0y4g3r in #10361
- feat(mito2): replay pending WAL tails in the background by @fengjiachun in #10342
- perf(mito): reduce SST metadata memory overhead by @WenyXu in #10356
- feat(common-meta): make RDS metadata backends closable by @WenyXu in #10417
- feat(query): serialize remote dynamic membership by @discord9 in #10341
- fix(auth): secure MySQL and PostgreSQL database selection by @killme2008 in #10382
- fix(metric-engine): reuse existing column ids when adding columns is retried by @WenyXu in #10372
- fix(mito2): coordinate region edits with repartition lifecycle requests by @WenyXu in #10354
- feat: persist bounded WAL releases on region close by @WenyXu in #10329
- docs(rfc): add object-store authority and leader election RFC by @Alorun in #10306
- chore(ci): update compatibility versions by @MichaelScofield in #10439
- docs(skills): focus release notes on user impact by @killme2008 in #10442
- fix(ci): bound nightly kind deployment and restore inotify limits by @evenyag in #10423
- fix(mito2): avoid unrelated sparse tag expansion during compaction by @evenyag in #10414
- fix(recordbatch): treat -0.0 and +0.0 as equal in SimpleFilterEvaluator by @dayan02dev in #10443
- fix(telemetry): avoid spurious log directory error on first start by @shuxiachai in #10446
- feat(postgres): Prometheus Remote Write protobuf ingest via COPY FROM STDIN by @sunng87 in #10092
New Contributors
- @arpitjain099 made their first contribution in #10299
- @AbstractBike made their first contribution in #9518
- @dayan02dev made their first contribution in #10443
- @shuxiachai made their first contribution in #10446
Full Changelog: v1.4.0-nightly-20261109...v1.4.0-nightly-20261116
Release v1.4.0-alpha.0-fcc1891ba-20261116-1794831195
What's Changed
- chore: remove stray merge-main.log by @shuxiachai in #10445
- fix(mito2): cancel compaction merges at batch boundaries by @WenyXu in #10411
- fix(mito2): wait for a stopped region's checkpoint before reopening it by @fengjiachun in #10376
- feat(mito2): support index plugins in region creation and rebuilds by @WenyXu in #10298
- fix: improve exemplar handling and batch memory admission by @shuiyisong in #10363
Full Changelog: v1.4.0-nightly-20261116...v1.4.0-alpha.0-fcc1891ba-20261116-1794831195
Release v1.3.1
v1.3.1
Release date: November 13, 2026
GreptimeDB v1.3.1 fixes write durability, database authorization, credential exposure, and query correctness issues. It also bundles Dashboard v0.14.6.
👍 Highlights
Write durability
Fixes potential data loss during repartition rollback or datanode restart, and restores periodic local WAL sync with the default sync_write = false setting. (#10253, #9715)
Database authorization and credential protection
Database selection through HTTP, MySQL, and PostgreSQL checks access permissions, and administrative functions require ADMIN privileges even through SELECT. Diagnostic configuration and startup logs redact credentials. (#10378, #10382, #10120, #10115, #10381)
Prepared query correctness
Fixes incorrect results from MySQL and PostgreSQL prepared statements after partition columns change, including incorrect rows written by prepared INSERT ... SELECT statements. (#10244)
Dashboard v0.14.6
Table Query and Metrics Query paginate their sidebars, and table pickers search by name. The SQL builder preserves the selected database, while log and trace views retain column-display preferences. (Dashboard #673, Dashboard #674)
Upgrade and compatibility notes
- Prometheus Remote Read: Tables with non-string label columns now return an error; timestamp and sample-value columns are exempt. Label matching follows Prometheus semantics: regular expressions match the full string, and missing or NULL labels match as empty strings. (#9633)
- Database selection: MySQL connections without a usable default database must select an authorized database before running statements that require one (error 1046). PostgreSQL
SET search_pathselects the first authorized, existing database and clears the selection if none qualifies. (#10382) - JSON log ingestion: Malformed escapes, out-of-range numbers, and nesting deeper than 1,024 levels are rejected under the configured
ignore_errorspolicy. Invalid UTF-8 remains recoverable. (#10245, #10302) - OTLP log tables: Direct OTLP ingestion auto-creates tables with the
greptime_log_v1schema; use a new destination table to adopt it, as existing tables retain their schema. During a rolling upgrade, avoid concurrent creation of the same destination table by old and new frontends; pipeline-defined tables are unchanged. (#10207) - Distributed deployments: Keep datanode clocks synchronized and stop the old process before reusing its node ID; process fencing takes full effect after all metasrv nodes are upgraded. A write whose leader lease expires during WAL append can return a retryable error after being applied, so retries can duplicate rows in append-only tables. (#9878, #9984, #9904)
- Manually configured sparse encoding: Before upgrading, check tables with
primary_key_encoding = 'sparse'or the legacymemtable.partition_tree.primary_key_encodingsetting against the requirements in #10020; unsupported schemas can fail validation and are not migrated automatically. Tables created normally by the metric engine and ordinary dense tables are unaffected.
🚀 Features
- feat(otlp): add v1 schema for auto-created OTLP log tables by @killme2008 in #10207
- feat: update dashboard to v0.14.6 by @sunchanglong in #10270, #10365
- feat(query): serialize remote dynamic membership by @discord9 in #10341
🐛 Bug Fixes
- fix!: enforce sparse primary key schema by @shuiyisong in #10020
- fix(config)!: redact credentials from diagnostic TOML by @killme2008 in #10381
- fix: bound metric snapshot memory and reduce export overhead by @fengjiachun in #9505
- fix(prom): align remote read label matcher semantics by @fengys1996 in #9633
- fix(mito2): restore source splitting for cross-range series merges by @WenyXu in #9818
- fix(mito2): pick TWCS L1 merges by closed units so compaction terminates by @v0y4g3r in #9741
- fix: reclaim HDFS temporary files left behind by a datanode crash by @lczllx in #9616
- fix(meta): fence datanode processes replaced by a newer process by @fengjiachun in #9878
- fix: acknowledge writes only within the region's leader lease by @fengjiachun in #9904
- fix(mito): preserve SST lifetime across index replacement by @v0y4g3r in #9950
- fix(meta): exclude route followers from failover targets by @fengjiachun in #10001
- fix(log-store): make raft-engine periodic WAL sync actually fsync by @BootstrapperSBL in #9715
- fix(catalog): propagate frontend process-list failures by @Byte-Naut in #9999
- fix(log-store): skip records with unparsable keys instead of aborting the read by @lczllx in #9749
- fix(meta): register failure detectors for regions switched before a rollback by @fengjiachun in #9989
- fix: ignore stale leader grants after a region is downgraded by @fengjiachun in #9987
- fix(mito2): preserve live index files across remote compactions by @v0y4g3r in #10046
- fix(datanode): pick a node epoch above the recorded one by @fengjiachun in #9984
- fix(promql): collapse duplicate samples at one timestamp before range functions by @discord9 in #10069
- fix(auth): preserve physical metric table targets by @shuiyisong in #10084
- fix: include peer context in distributed query errors by @WenyXu in #10118
- fix(auth): redact inline user-provider credentials by @shuiyisong in #10115
- fix: register trigger procedure loaders through DdlManager by @fengys1996 in #10123
- fix(time): parse zero-hour timezone offsets correctly by @fallintoplace in #10091
- fix(ci): increase nightly JSONBench runner root volume by @MichaelScofield in #10146
- fix: test fixture by @shuiyisong in #10149
- fix(meta): invalidate all datanode tables on address change by @florissmit10 in #9986
- fix(function): require ADMIN statement privileges to execute admin functions by @sunng87 in #10120
- fix(catalog): use advertised peer address as process identity by @v0y4g3r in #10153
- fix(ci): prepare Ubuntu build runners and default EC2 disks to 500 GiB by @WenyXu in [#101...
Release v1.4.0-nightly-20261109
What's Changed
- fix(log-store): make raft-engine periodic WAL sync actually fsync by @BootstrapperSBL in #9715
- ci: reuse fuzz corpora across integration runs by @dhruvxvaishnav in #9979
- feat: enable JSON2 columns on non-append-only tables by @MichaelScofield in #9985
- fix(catalog): propagate frontend process-list failures by @Byte-Naut in #9999
- fix(log-store): skip records with unparsable keys instead of aborting the read by @lczllx in #9749
- feat: Add last_sequence for max allocated sequence and add tests for … by @Alorun in #9951
- feat(procedure): support detached subprocedure recovery by @WenyXu in #10009
- refactor(flow): remove tracked-write protocol by @discord9 in #9992
- fix(query): keep requested sort when filtering on a lossy cast by @discord9 in #10026
- feat: add shared asynchronous cache primitives by @WenyXu in #9790
- feat(postgres): influxdb line protocol ingest via COPY FROM STDIN by @sunng87 in #9982
- fix(meta): register failure detectors for regions switched before a rollback by @fengjiachun in #9989
- fix: ignore stale leader grants after a region is downgraded by @fengjiachun in #9987
- chore(ci): gate fuzz, E2E and KV backends by diff scope by @WenyXu in #9927
- ci: enqueue eligible pull requests during the nightly window by @WenyXu in #10040
- fix(log-store): accept a retried first create of the conditional create probe by @fengjiachun in #10034
- feat(pipeline): add logfmt processor by @BootstrapperSBL in #9586
- feat: add reusable paged byte cache by @WenyXu in #9791
- perf(mito2): pipeline compaction and parallelize decoding and encoding by @v0y4g3r in #9945
- feat(datanode): probe object storage at startup by @lczllx in #9954
- fix!: enforce sparse primary key schema by @shuiyisong in #10020
- ci: reduce repeated Windows and fuzz tests on pull requests by @WenyXu in #10043
- feat(mito): preserve ordinary sparse keys across writes and schema changes by @shuiyisong in #9920
- chore(ci): update compatibility versions by @MichaelScofield in #10051
- feat(meta): add drain migration batch operations by @WenyXu in #10035
- fix(mito2): preserve live index files across remote compactions by @v0y4g3r in #10046
- feat: share concurrent SST metadata loads by @WenyXu in #9729
- feat(json2): support skipping indexes by @fengys1996 in #9967
- ci: authenticate ECR Public pulls in benchmark workflows by @WenyXu in #10056
- ci: reduce duplicate and PR-scoped Rust cache writes by @WenyXu in #10047
- feat(meta): orchestrate datanode draining with detached migrations by @WenyXu in #9961
- feat(ci): support optional Docker targets for query regression by @WenyXu in #10028
- feat: add relational region engine skeleton and registration by @tian1220A in #9953
- feat: share Puffin metadata and index page loads by @WenyXu in #9792
- fix: optimize Prometheus remote write v2 ingestion by @shuiyisong in #9928
- docs: link the observability database definition from README by @killme2008 in #10061
- fix(datanode): pick a node epoch above the recorded one by @fengjiachun in #9984
- feat(ingest): report confirmed progress for batched writes by @shuiyisong in #9921
- fix(promql): collapse duplicate samples at one timestamp before range functions by @discord9 in #10069
- feat(mito2): track per-region flushed Parquet bytes by @WenyXu in #10070
- feat(postgres): OTLP binary payload ingest via COPY FROM STDIN (metrics, traces, logs) by @sunng87 in #10050
- feat: share Parquet byte page loads by @WenyXu in #9793
- fix(meta): forward flushed Parquet bytes in region statistics by @WenyXu in #10100
- fix(ci): skip unsupported stacked PRs in nightly merge by @WenyXu in #10063
- fix(mito-codec): return the first field from dense decode_leftmost by @Aumnertic in #10090
- chore(ci): use standard AWS secrets in CI workflows by @daviderli614 in #10116
- feat: share streaming range results across scans by @WenyXu in #9794
- feat(prometheus): store Remote Write v1 and v2 exemplars by @shuiyisong in #9922
- fix(auth): preserve physical metric table targets by @shuiyisong in #10084
- fix: include peer context in distributed query errors by @WenyXu in #10118
- fix(auth): redact inline user-provider credentials by @shuiyisong in #10115
- fix: register trigger procedure loaders through DdlManager by @fengys1996 in #10123
- fix(time): parse zero-hour timezone offsets correctly by @fallintoplace in #10091
- refactor(meta): separate migration construction and drain child tracking by @WenyXu in #10130
- fix(ci): increase nightly JSONBench runner root volume by @MichaelScofield in #10146
- fix(mito2): prevent automatic compaction candidate starvation by @v0y4g3r in #9946
- feat(otlp): store validated metric exemplars by @shuiyisong in #9923
- fix: test by @shuiyisong in #10149
- fix(meta): invalidate all datanode tables on address change by @florissmit10 in #9986
- perf(mito2): read compaction input footers concurrently by @v0y4g3r in #10000
- feat(meta): stream and batch datanode drain migrations by @WenyXu in #10131
- feat(flow): support caller-owned fenced incremental deltas by @discord9 in #9996
- test(meta): cover datanode draining with Kafka and local WAL by @WenyXu in #10060
- fix(function): require ADMIN statement privileges to execute admin functions by @sunng87 in #10120
- fix(catalog): use advertised peer address as process identity by @v0y4g3r in #10153
- perf: push down COUNT and SUM for SST manifest queries by @WenyXu in #9949
- fix(ci): prepare Ubuntu build runners and default EC2 disks to 500 GiB by @WenyXu in #10156
- fix(mito): use stored recovery-set bytes for manifest size by @WenyXu in #10142
- fix(grpc): propagate cancellation for read query execution by @MichaelScofield in #10166
- feat(mito2): add lossless multi-region compaction workers by @v0y4g3r in #10104
- feat(meta): expose datanode drain and scheduling HTTP APIs by @WenyXu in #10083
- docs: add demo link by @sunchanglong in #10184
- fix(datatypes): escape object keys when rendering jsonb as text by @BootstrapperSBL in #10112
- feat: update dashboard to v0.14.3 by @sunchanglong in #10186
- feat(mito): expose manifest size metrics above a threshold by @WenyXu in #10143
- docs: tighten README facts and move quick start up by @killme2008 in #10194
- fix(mito2): share bulk memtable compaction dispatcher across workers by @luckysxx in #10022
- fix(grafana): correct autopilot counters and show baseline r...
Release v1.3.0-nightly-20261102
Release v1.4.0-nightly-20261028
What's Changed
- fix: preserve datanode write batches when retrying by @WenyXu in #9720
- fix(query): preserve Arrow types when decoding dictionary output by @MichaelScofield in #9858
- feat(mito): add an environment switch to disable compaction by @WenyXu in #9863
- ci: allow independent Linux release architecture selection by @WenyXu in #9865
- 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
- chore(deps): upgrade sqlx to 0.9 to pick up webpki-roots 1.0.10 by @sunng87 in #9862
- fix(test): avoid MinIO connection reuse after conditional writes by @WenyXu in #9877
- feat(json2): support inverted index by @fengys1996 in #9324
- fix(mito2): pick TWCS L1 merges by closed units so compaction terminates by @v0y4g3r in #9741
- feat(otlp)!: support raw delta exponential histograms by @shuiyisong in #9754
- feat(config): support overriding region engine options from env by @NightG1owZ in #9700
- ci: fix CI setup steps that fail on Ubuntu 26.04 runners by @killme2008 in #9901
- 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
- feat(meta): track per-node scheduling state and fence region placement by @WenyXu in #9884
- feat(mito): expose scan concurrency metrics and dashboard by @evenyag in #9758
- perf: avoid duplicate OTLP histogram conversion by @shuiyisong in #9880
- 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
- perf(log-store): read object store WAL footers while the recovery listing goes on by @fengjiachun in #9889
- feat: COPY FROM STDIN for postgres interface by @sunng87 in #9297
- feat(datanode): expose ingest task panic and cancellation metrics by @dhruvxvaishnav in #9830
- fix: reclaim HDFS temporary files left behind by a datanode crash by @lczllx in #9616
- feat: support query concurrency limits in standalone by @evenyag in #9958
- test(sqlness): cover query options in merge-scan regressions by @Byte-Naut in #9956
- feat(catalog): add public-global information schema scope by @shuiyisong in #9957
- perf: stream and prune SST manifest scans by @WenyXu in #9931
- fix(meta): fence datanode processes replaced by a newer process by @fengjiachun in #9878
- fix(log-store): refuse an object store that ignores conditional create by @fengjiachun in #9909
- fix(ci): scope Aliyun janitor sweeps to the owning repository by @WenyXu in #9966
- fix: acknowledge writes only within the region's leader lease by @fengjiachun in #9904
- 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 plugin hooks by @WenyXu in #9977
- feat(meta): fence a draining datanode and plan the drain by @WenyXu in #9960
- feat: support native histograms in sampled remote read by @shuiyisong in #9971
- fix(mito2): stop the series distributor from stalling on unread partitions by @killme2008 in #9991
- feat: Support procedure_state() using the last procedure ID by @Alorun in #9876
- feat(partition): support iceberg_hash in partition rules by @killme2008 in #9693
- fix(mito): preserve SST lifetime across index replacement by @v0y4g3r in #9950
- perf(mito2): index encoded bulk parts from memory during flush by @killme2008 in #9913
- fix(query): stop windowed sort on precision-lowering time casts by @discord9 in #9524
- fix(mito2): coordinate range cache invalidation and singleflight reads by @v0y4g3r in #9935
- fix(meta): exclude route followers from failover targets by @fengjiachun in #10001
- ci(query-regression): bump RUNNER_IMAGE_EPOCH to 8 by @MichaelScofield in #10019
New Contributors
- @Byte-Naut made their first contribution in #9956
Full Changelog: v1.4.0-nightly-20261022...v1.4.0-nightly-20261028
Release v1.3.0
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.0Set 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 l...

