github influxdata/influxdb v3.12.3
v3.12.3 | 11-20-26

one hour ago

The following are some highlighted updates with the newest release for InfluxDB 3. Learn more via our full Release Notes.

Updates

Core

Features

  • influxdb3 update trigger re-fetches gh: plugins: To load new code for a trigger whose plugin uses a gh: path, pass that path to influxdb3 update trigger --path, or use the new POST /api/v3/configure/processing_engine_trigger/refresh endpoint. The trigger runs the new code on its next run. Previously, the command failed with Path does not exist, and you had to disable and re-enable the trigger.

Bug fixes

  • Shutdown hung while a Processing Engine plugin was stuck: The server now exits while a plugin is stuck in a blocking call, waiting at most 2 seconds for the plugin's thread and 5 seconds for query threads that don't stop. Previously, it waited forever for a stuck plugin and up to 5 minutes for query threads. Enterprise already didn't wait for plugin threads.
  • Other bug fixes and performance improvements

Enterprise

All Core updates are included in Enterprise.
Additional Enterprise-specific updates:

Features

  • Plugin package allowlist: The new --plugin-package-allowlist option takes a pip requirements file that limits what influxdb3 install package and the package install APIs can add to the Processing Engine environment, dependencies included. The server refuses installs that the file doesn't allow, and returns 409 for an install that would replace or upgrade an installed package. A node doesn't start if the file doesn't parse or its pip is older than 26.1.
  • Uninstall Processing Engine packages: The new influxdb3 uninstall package command and POST /api/v3/configure/plugin_environment/uninstall_packages endpoint remove packages from the Processing Engine environment on the node that receives the request. Dependencies stay installed, and you can't remove pip, setuptools, or wheel. Previously, you had to run pip in the virtual environment yourself.
  • Pause, resume, and stop bulk imports (upgraded storage engine): The new POST /api/v3/enterprise/import/pause, /resume, and /stop endpoints hold or cancel bulk imports across the cluster, and GET /api/v3/enterprise/import/status reports the current state. A pause also holds a running storage engine upgrade. A stop discards every bulk import that isn't compacted yet, but not the upgrade, and leaves imports paused. Previously, you couldn't hold or cancel a staged import.
  • Per-file bulk import status (upgraded storage engine): The new system.import_files table and GET /api/v3/enterprise/import/files endpoint report each imported file's state, attempts, row counts, and skip reason, and keep each file for 7 days after its import leaves system.imports. system.imports also gains operation_id, shared by the files of one request, and pipeline_status.
  • Import one Parquet file from object storage (upgraded storage engine): influxdb3 import from-object-store and POST /api/v3/enterprise/import now accept a source that names a single .parquet file. Previously, the source had to be a prefix, and naming a file returned 400.
  • Faster bulk imports (upgraded storage engine): Uploaded files are now picked up in parallel, an object-store import stages up to four files per CPU core (8 to 64) instead of 8, and more than one import batch runs at a time. The new --compactor-max-concurrent-conversions option sets how many conversion jobs run at once. The default stays 64.
  • Larger default bulk import batches (upgraded storage engine): --compactor-import-batch-size now defaults to 16gb, still capped at one quarter of --compactor-input-size-budget. Previously, the default was 4gb. To keep the previous batch size, set --compactor-import-batch-size=4gb.
  • Default file cache size scales with memory (upgraded storage engine): Without --file-cache-size, a node now uses 30% of memory, rising to 40% from 128 GiB, 50% from 384 GiB, and 60% from 768 GiB. Previously, the default was 20%, which the Parquet engine keeps. To keep the previous size, set --file-cache-size=20%.
  • Skip the file cache preload at startup (upgraded storage engine): On nodes that don't compact, --file-cache-preload skip-startup lets a node serve queries as soon as it reads the latest compaction checkpoint. Queries read from object storage until the cache fills. Previously, a node that doesn't compact always preloaded recent compacted data before it served queries.
  • Startup check for object stores that ignore conditional writes: On S3, Google Cloud Storage, and Azure, the server now checks at startup that the object store rejects a second create-only write of the same object. If it doesn't, the server logs an error that points to influxdb3 debug object-store-check and keeps starting.
  • object-store-check tests conditional updates: influxdb3 debug object-store-check now also tests conditional updates. If an S3-compatible store rejects quoted ETags, the check fails and recommends --aws-s3-custom-backend ceph. Previously, it didn't test conditional updates and could pass on stores where the compactor can't start.
  • New memory and backup metrics (upgraded storage engine): influxdb3_file_cache_limit_bytes reports the file cache budget, influxdb3_buffer_limit_bytes reports a query node's replica buffer limit, and influxdb3_file_cache_evicted_bytes_total counts bytes evicted from the file cache. On the compactor, influxdb3_compactor_backup_deletes_held is 1 while a backup pauses deletes, and influxdb3_compactor_backup_holds_unreadable is 1 while it can't read backup holds.
  • Faster compaction planning for large backlogs (Parquet engine): The compactor now plans a table's re-compactions in one pass and keeps one shared list of its Gen1 files. Previously, planning time and memory grew with the number of Gen1 files times the number of compacted generations they overlapped.
  • Explorer UI 1.12: The Explorer UI built into influxdb3 serve is updated from 1.11.0 to 1.12.0.

Bug fixes

  • Writes to a file object store could be lost on power failure: Writes to a file object store now reach disk, along with the directories that hold them, before the write completes. Previously, only the contents of conditional updates were synced, so a host crash or power loss could lose recently written files.
  • File cache evicted the data queries read most (upgraded storage engine): A full file cache now evicts the least recently read entries first, and stops once it frees enough room. Previously, it evicted the earliest-loaded entries first, and queries could fail with file access cache budget exhausted while another eviction was running.
  • Backups failed when the compactor deleted files they were copying (upgraded storage engine): A running backup now pauses compactor file deletes until it ends. If the backup can't renew that pause for 4 minutes, it stops and fails. Previously, the compactor could delete a replaced file that a long backup still had to copy, and the backup failed.
  • Compactor ran out of memory during a hard delete (upgraded storage engine): While a database or table hard delete is pending, the compactor now shares the input files that the delete doesn't change. Previously, it copied them for each compaction task, so the compactor could run out of memory on every restart.
  • Processing Engine node aborted while saving trigger restart state: A Processing Engine node now keeps running when a restart-state save conflicts with its own earlier save, such as one that returned an error but still succeeded. This fixes the v3.12.0 known issue in which a new Docker Desktop container with a bind-mounted data directory exited with code 133. Previously, the node treated the conflict as another node's write and aborted.
  • Rows lost when importing a large Parquet file (upgraded storage engine): Bulk import now keeps every row of a file whose converted data passes 4 GiB, and fails the job instead of dropping rows if converted data exceeds a file format limit. Previously, the job could reach compacted with many of the file's rows missing.
  • Storage engine upgrade kept a different value for duplicate points: When two Parquet files hold the same series and timestamp, the upgrade now keeps the value that the Parquet engine returns. Previously, it could keep the other value, so queries returned a different value after the upgrade. An upgrade that started on an earlier release keeps its original order, so it can still keep the other value.
  • Imported columns lost when the compactor's catalog lagged (upgraded storage engine): The compactor now converts an uploaded file only after its catalog includes the upload's table and columns. Previously, a file converted too early could lose new columns, merge series that differ only by a new tag, or be skipped as if its table had been deleted.
  • Storage engine upgrade stalled after compactor failover: When the compactor role moves to a compact node with a different node ID, the new compactor now resumes the upgrade with the original compactor's source files. Previously, it found no files to convert, and the upgrade never completed.
  • Bulk import accepted uploads on the Parquet engine: POST /api/v3/enterprise/import and GET /api/v3/enterprise/import now return 501 Not Implemented on a server that runs the Parquet engine. Previously, the server accepted the upload and left it pending without an error.
  • Other bug fixes and performance improvements

Don't miss a new influxdb release

NewReleases is sending notifications on new releases.