- InfluxDB OSS v2 release notes
- v2.7.10
- v2.7.9
- v2.7.8
- v2.7.7
- v2.7.6
- v2.7.5
- v2.7.4
- v2.7.3
- v2.7.1
- v2.7.0
- v2.6.1
- v2.6.0
- v2.5.1
- v2.5.0
- v2.4.0
- v2.3.0
- v2.2.0
- v2.1.1
- v2.0.9
- v2.0.8
- v2.0.7
- v2.0.6 General Availability
- v2.0.5 General Availability
- v2.0.4 General Availability
- v2.0.3 General Availability
InfluxDB OSS v2 release notes
v2.7.10
Bug Fixes
- Update Flux to address performance regression.
Maintenance
- Update Flux to 0.195.2.
v2.7.9
Bug Fixes
- Fix UI build error.
Maintenance
- Update
gotoolchain to 1.21.12.
v2.7.8
Bug Fixes
- Prevent an infinite loop in write path.
- Fix
range()filter behavior for timestamps before 1970-01-01 (UNIX time 0). - Update to latest
influxdb-templates.
Maintenance
- Update user interface (UI) with various improvements.
v2.7.7
Features
- Disable
file://URLs when hardening is enabled.
Bug Fixes
- Ensure
TSMBatchKeyIteratorandFileStoreclose allTSMReaders. - Return
MergeIterator.Closeerrors. - Ensure
GROUP BYqueries with an offset that crosses a date time boundary (daylight savings time, British summer time, etc.) do not fail. - Preserve time zone information in the Task Scheduler.
- Prevent the retention service from becoming unresponsive.
Maintenance
- Update Flux to v0.195.1.
- Update
logrusto 1.9.3. - Update
golang.org/x/netto v0.23.0. - Update
protocolbuffers to v5.26.1. - Update
gotoolchain to 1.21.10.
v2.7.6
Features
- Add optional stricter password requirements.
Bug Fixes
- Fix
panic index out of rangeerror for invalid series keys. - Update broken Flux and performance tests.
- Do not panic when querying empty tags.
- Improve shard deletion.
- Return and respect cursor errors.
- Update constant time code to make password strength calculations more constant.
Maintenance
- Upgrade to Go to 1.21.9.
v2.7.5
Features
- Add authenticating ID and user ID to request logging.
- Write detailed logs from endpoint detection and response (EDR) failures.
Bug Fixes
- Only execute
init_configon install. - Enable
Securewhen using TLS and enableHttpOnly. - Correctly return
4xxerrors instead of5xxerrors. - Prevent retention service from creating orphaned shard files.
Maintenance
- Emit build commands during tests.
- Upgrade Flux to 0.194.5.
v2.7.4
Internal changes only.
v2.7.3
Maintenance
- Upgrade Flux to 0.194.3.
v2.7.1
Bug Fixes
- Update the InfluxDB UI to remove non-functional Data Explorer.
v2.7.0
Bug Fixes
- Update user interface to resolve dashboard crashes and All Access token creation.
- Show replication queue size and replication TCP errors.
- Correctly handle when the replication queue cannot be found.
- Rename stored replication fields to be more clear.
- Prevent unauthorized writes from Flux
to()function. - Add error message when attempting to delete by field.
- Prevent scrapers from failing when the
Content-Typeheader is not set. - Removed timeout reached with large databases or slow servers.
- Changing file permissions on the manifest is no longer necessary.
Maintenance
- Update Flux to v0.193.0.
- Update package repository GPG key/
- Add additional error logging when deleting a shard.
- Update to Go 1.20.1.
- Update end-to-end tests to work locally in UI repo.
- Bump
github.com/aws/aws-sdk-gofrom 1.30.12 to 1.33.0. - Bump
testcontainers-goto 0.18.0. - Bump
golang.org/x/netfrom 0.5.0 to 0.7.0. - Bump
containerdto 1.6.18. - Bump
github.com/opencontainers/runcfrom 1.1.3 to 1.1.5.
v2.6.1
Bug Fixes
- Update user interface (UI) to fix dashboard page crash issue.
- Fix
All Accesstoken creation issue.
v2.6.0
Features
- Add the following
influxdutilities: - influxd inspect check-schema
- influxd inspect merge-schema
- influxd inspect report-db
- Validate packages during the build process.
Bug Fixes
- Optimize SHOW FIELD KEY CARDINALITY InfluxQL command.
- Correctly convert replication maximum age setting to seconds.
- Fix internal metadata migrations when a replication remote already exists.
- Update
/meand/usersroutes to match documentation. - By default, restrict file permissions to 0750 (
drwxr-x---). - Correctly handle
NaNvalues returned from InfluxDB scrapers. - Pin the user interface (UI) to version that addresses dashboard issues.
Maintenance
- Upgrade to Go 1.18.9.
- Upgrade Flux to v0.191.0.
v2.5.1
Bug fixes
- Fix permissions issue in Debian and Red Hat package managers.
v2.5.0
Features
- Updated user interface (UI).
- Allow for incremental changes to
fields.idx.
Security updates
- Restriction to view tokens only once, immediately after creation.
- Set
SameSite=stricton session cookie.
Bug fixes
- Manually scheduled tasks run when expected.
- Fix error where virtual DBRP mappings were being ignored.
- Ability to back up all buckets in your InfluxDB instance.
- Improved speed of deletes when measurement is part of the predicate.
- Improved error messaging when attempting to create user with an ID that already exists.
Maintenance
- Upgrade to Flux 0.188.1
- Upgrade to Go 1.18.7
- Upgrade to Rust 1.63.0
v2.4.0
Features
- Support bucket names in the
replicationsAPI and allow InfluxDB 1.x DBRP names as bucket names. - Add the InfluxQL shell (REPL).
- Change to operator model so that
adminuser has instance-level permissions withoutoperatortoken.
Flux advancement highlights
- Add the join package to support inner joins, right outer joins, left outer joins, and full outer joins.
- Promote
experimental.to()to influxdb.wideTo(). - Add initialZero parameter to derivative().
- Add
time()function to the date package to convert timeable types (time and duration) to time types. - Promote the following functions from
experimental.arrayinto the array package: - array.concat()
- array.filter()
- array.map()
- Promote the following functions from the experimental
http.requestspackage into the http/requests package: - requests.do()
- requests.get()
- requests.peek()
- requests.post()
- Promote
experimental.bitwise()into the bitwise package. - Add new experimental.catch() and testing.shouldError() functions.
- Support conditional expressions, constants, and literals in vectorized map().
- Optimize holtWinters() and redundant sorts.
- Deprecate the following experimental functions:
http.get()csv.from()
Bug fixes
- Log the log level at startup.
- Fix panic from
CreateIteratorin Flux queries. - Fix error-caching in
bufio.Writer. - Remove
MATCHER_BEHAVIORenvironment variable.
Maintenance
- Upgrade to Go 1.18.4.
- Upgrade to Flux 0.179.0.
v2.3.0
This release includes the following maintenance, features, security updates and bug fixes.
Production ready: replicate data remotely
InfluxDB 2.2 introduced a technical preview of how to replicate data from InfluxDB OSS to InfluxDB Cloud. This feature is now production ready.
Maintenance
- Upgrade from Flux 0.161.0 to Flux 0.171.0.
- Upgrade to Go 1.18.3.
Features
- Add the --instance-id flag to
influxdruntime to add the_instance_idtag to remote replications metrics. Helps to identify where the metrics came from, and ensures that two instances don’t overwrite each others’ data. - Add signifier to replication
user-agentto signify when replication write requests are made. Helps to identify metrics written via replications.
Flux advancement highlights
Performance improvements
- Vectorize arithmetic operators in
map(). - Vectorize logical operations in
map(). - Enable
movingAverage()andcumulativeSum()optimizations by default.
Other highlights
- Add
preview()to experimental package for limiting return rows and tables (as opposed to just rows withlimit()). - Add
date.scale()to let users dynamically scale durations in dates. - Add OpenTracing spans to Flux transformations. Lets you monitor Flux scripts more precisely.
- Add
traceoption to Flux CLI. - Rename
addDuration()to add andsubDuration()to sub, and moved both of these functions from the experimental package to the date package. - Add location support to
date.truncate(). - Add
_statustag to PagerDuty record. - Refactor operator profile to be in the query statistics.
Security updates
Several security issues were fixed in dependencies and the toolchain used to build InfluxDB, including:
- An issue in the
gopkg.in/yaml.v3package import that could lead to a DoS in the templates service. - An issue in the
github.com/buger/jsonparserpackage import that could potentially lead to a DoS in storage authorization. - Cumulative security fixes for Go 1.17.8-1.18.3 are included in this release. These fixes resolve the following InfluxDB issues:
- An issue with processing large PEM files that could lead to a DoS in the templates service or flux connections using
to(). - An issue in TLSv1.3 and a lack of ticket randomness.
- A minor issue with
filepath.Clean()on Windows.
Bug fixes
- Fix race condition when remote replicating deadlocks the remote writer that prevented writes to the target.
- Resolve error when creating v1 authorization (
v1 auth) with a nonexistent bucket ID. - Add fields to the
_tasksbucket to match schema of the same bucket in InfluxDB Cloud. Provides consistency for clients accessing both. - Fix rare case where measurement cardinality reported less than zero.
- Resolve panic on cleaning up failed iterators.
v2.2.0
This release includes the following new features and several bug fixes.
Features
- Technical preview: replicate data remotely
- Flux updates
- Build maintenance
- Task metadata
- Troubleshoot with new metrics
- Display runtime configuration in use by influxd
- Recover user credentials
- Security updates, including a new
hardening-enabledoption to enable additional security.
Technical preview: replicate data remotely
Add the option to replicate data from InfluxDB OSS to InfluxDB Cloud.
On rare occasions, remote write failures may cause data in the replication queue to get stuck. To ensure data is not dropped, restart the InfluxDB instance replicating data.
To assess whether this issue is occurring, we recommend periodically doing one of the following:
- Verify your data is successfully replicated to your target bucket.
- View your queue size using influx replication list for unexpected growth.
Replicating data remotely lets you do following:
- Create a durable subscription on a per bucket basis for the purposes of replicating data on-write from an InfluxDB OSS instance to InfluxDB Cloud.
- Store, analyze, and aggregate data locally while also forwarding newly arriving data to a centralized InfluxDB Cloud account.
- Configure a maximum buffer size and data age restrictions to restrict the amount of data stored on disk.
Flux updates
- Update to Flux v0.150.0.
- Add option to log Flux queries that are cancelled because of server shutdown.
Build maintenance
- Upgrade
protobuflibrary.
Task metadata
- Add option to pass
type=basicto /api/v2/tasks to return task metadata without the query text.
Troubleshoot with new metrics
To assist with troubleshooting and operational management, expose the following metrics in Prometheus Exposition Format.
TSM compaction metrics
storage_compactionstorage_compactions_activestorage_compactions_duration_seconds_bucketstorage_compactions_duration_seconds_countstorage_compactions_duration_seconds_sumstorage_compactions_queuedstorage_compactions_total
Failed to add to replication queue metrics
PointsFailedToQueueBytesFailedToQueue
Write status metrics
pointsWriteRequestedpointsWriteOkpointsWriteDroppedpointsWriteErrtimeout
Disk size metrics per shard
total: number of files per sharddisk_bytes: data size in bytes for each shard
Cache subsystem metrics
inuse_bytes: Current memory consumption of cachediskBytes: Size of most recent snapshot”latest_snapshot: Unix time of most recent snapshotwrites_total: Counter of all writes to cachewrites_err: Counter of failed writes to cachewrites_dropped: Counter of writes (with any dropped points) to cache
WAL subsystem metrics
size: Size of WAL in byteswrites: Number of write attempts to the WALwrites_err: Number of failed write attempts to the WAL
See InfluxDB OSS metrics for additional detail.
Display runtime configuration in use by influxd
- Add
api/v2/configendpoint to display the runtime configuration (for example, when you runinfluxd print-config). This endpoint lets you review runtime configuration while the instance is live.
Recover user credentials
To recover user credentials, use influx recovery user list to retrieve a list of users, and then use influx recovery user update to update the password for a specified user.
Security updates
- Add the hardening-enabled option to limit flux/pkger HTTP requests. The new
hardening-enabledoption ensures that InfluxDB first verifies the IP address of the URL is not private. By default, Flux HTTP and template fetching requests are allowed to access localhost and private IP addresses. - Disable use of jsonnet with
/api/v2/templates/apply. This prevents crafted authenticated requests from exfiltrating files accessible to the user InfluxDB runs as. - Add read permissions check for querying data. This prevents authenticated requests using a write-only token from reading data via the InfluxQL
/querycompatibility API. - Add write permissions check for
DELETEandDROP MEASUREMENT. This prevents authenticated requests using a read-only token from deleting data via the InfluxQL/querycompatibility API. Additionally, several security issues were fixed in dependencies and the toolchain used to build InfluxDB, including: - The following cumulative security fixes for Flux v0.161.0 since 0.139.0 are included in this release:
- Quote db identifiers. This addresses injection vulnerabilities in database connections using
to(). - Make substring check bounds correctly. This prevents authenticated queries from crashing the Flux engine.
- The cumulative security fixes for Go 1.17.8 since Go 1.17.2 are included in this release. This addresses an issue in the InfluxDB test suite.
Bug fixes
- Ensure manual task runs can happen concurrently.
- Extend snapshot copy of backup to filesystems that do not support hard links.
- Detect misquoted tag values and return an error.
- Fix potential deadlock in
influxd inspect dump-tsi. - Successfully handle errors returned by
Sketch.Merge. - Return
X-versionandX-Buildheaders for all requests to/pingendpoint. - Add error when
meta.dbis missing. - Sync TSI index file before closing.
- Fix race condition that could cause
restorecommand to fail. - To successfully restore a backup, use copy when a rename spans volumes.
- Disable use of jsonnet with
/api/v2/templates/apply. - Ensure that updating a check (
/checks/{checkID}) does not require an owner ID. - Remove NATS for scraper processing. Note, this fix does not alter scraper functionality–scrapers still work as they did before.
nats-portandnats-max-payload-bytesflags have been deprecated.- NATS is no longer embedded in InfluxDB. Because InfluxDB no longer requires a port for NATS, port conflict issues are reduced.
- Resolve the issue that prevented the browser from tracking the cookie
expirycorrectly, causing the cookie to expire automatically when restarting the browser or changing tabs. Now, the cookie is correctly preserved. - Allow unlimited Flux HTTP calls. Previously, HTTP requests failed silently after 100 MB of data transfer.
- Remove pagination limits on the
/telegrafsAPI. Previously, pagination wasn’t exposed to the API, so API requests were limited to the default 20 pages.
v2.1.1
To address underlying installation package issues, we bumped the 2.1 release version to 2.1.1.
This release includes several new features and bug fixes.
influx CLI moved to separate repository
The influx CLI has been moved to its own GitHub repository.
influxdb release artifacts affected
Release artifacts produced by influxdb are impacted as follows:
- Release archives (
.tar.gzand.zip) no longer contain theinfluxbinary. - The
influxdb2package (.deband.rpm) no longer contains theinfluxbinary. Instead, the package declares a recommended dependency on the newinfluxdb2-clipackage. - The
quay.io/influxdb/influxdbimage no longer contains theinfluxbinary. We recommend migrating to theinfluxdbimage hosted on DockerHub.
Find supported influx CLI commands
With this change, versions of the influx CLI and InfluxDB server (influxd) are not guaranteed to exactly match. To check the version of the influxd server, see influxd version in influx CLI or use the /health endpoint of your InfluxDB server.
The influx CLI documentation has been updated to reflect which influx CLI commands work with which versions of InfluxDB.
Features
This release includes the following new features:
- Notebooks, annotations, and visualization updates
- API and CLI updates
- Support for latest Flux and Telegraf releases
- Updates to the InfluxQL
- Token updates
- Flux location support
Notebooks, annotations, and visualization updates
- Add support for notebooks and annotations.
- Add support for static legends to line graphs and band plots.
- Enable new dashboard auto-refresh.
- Simplify display of data for table visualizations.
API
- Add new parameters to GET /users API, including:
offset,limit, andafter. - Add the api/v2/backup/metadata endpoint for backing up both key-value and SQL metadata, and the api/v2/restore/sql for restoring SQL metadata.
- Deprecated POST …/secrets/delete. To delete a secret, use DELETE …/secrets/{secretID}.
CLI
influxd configuration
Added several new configuration options to influxd:
- Add
influxd recoverycommand to let you create a recovery Operator token. - Add
--sqlite-pathflag for specifying a user-defined path to the SQLite database file. - Add
--storage-wal-max-concurrent-writesflag to enable tuning memory pressure under heavy write load. - Add
--storage-wal-max-write-delayflag to prevent deadlocks when the WAL is overloaded with concurrent writes. - Add
--storage-write-timeoutflag to set write request timeouts. - Add
--storage-no-validate-field-sizeflag to disable enforcement of max field size. - Update
--storeflag to work with string values disk or memory. Memory continues to store metadata in-memory for testing; disk persists metadata to disk via bolt and SQLite.
For more information, see InfluxDB configuration options.
influxd inspect
Ported the following influxd inspect commands from InfluxDB 1.x:
- influxd inspect build-tsi
- influxd inspect delete-tsm
- influxd inspect dump-tsi
- influxd inspect dump-tsm
- influxd inspect dump-wal
- influxd inspect report-tsi
- influxd inspect report-tsm
- influxd inspect verify-seriesfile
- influxd inspect verify-tombstone
- influxd inspect verify-tsm
- influxd inspect verify-wal
influxd downgrade
Added the influxd downgrade command to migrate InfluxDB key-value metadata schemas to earlier 2.x versions when necessary.
Flux
- Update to Flux v0.139.0.
- Enable writing to remote hosts using the Flux to() and experimental.to() functions.
- Flux now supports locations that dynamically modify time offsets based on your specified timezone. You can also specify fixed time offsets relative to UTC.
- Perform bitwise operations on integers and unsigned integers.
- Query and write to Vertica SQL databases.
- Add the hex package for working with hexadecimal string values.
InfluxQL
SHOW MEASUREMENTS ONnow supports database and retention policy wildcards. For example,SHOW MEASUREMENTS ON *.*to show all databases andSHOW MEASUREMENTS ON <db>.*to show all retention policies.- Add hyper log operators
merge_hll,sum_hll, andcount_hllin InfluxQL to optimize series iteration. (count_hlloptimizes queries that can be answered without inspecting TSM data.)
Telegraf
- Add the following new Telegraf plugins to the Load Data page:
- Alibaba (Aliyun) CloudMonitor Service Statistics (
aliyuncms) - AMD ROCm System Management Interface (SMI) (
amd_rocm_smi) - Counter-Strike: Global Offensive (CS:GO) (
csgo) - Directory Monitoring (
directory_monitor) - Intel Data Plane Development Kit (DPDK) (
dpdk) - Elasticsearch Query (
elasticsearch_query) - Internet Speed Monitor (
internet_speed) - KNX (
knx_listener) - Mdstat (
mdstat) - Netstat (
netstat) - NFS Client (
nfsclient) - OpenTelemetry (
opentelemetry) - RavenDB (
ravendb) - SQL (
sql) - Trig (
trig) - Twemproxy (
twemproxy)
For more information about each plugin, see Telegraf plugins, and search for the plugin name.
Tokens
- Add support for standard Bearer token syntax. Now you can specify token credentials as:
Authorization: Bearer xxxxxxxx. - If restoring a backup overwrites the Operator token, the new token value is returned.
Bug fixes
- Log API errors to server logs and tell clients to check the server logs for the error message.
- Fix pagination for GET /buckets API when displaying results. Previously, pagination was broken if a request included both an
orgfilter AND theafterrequest parameter. Also correctsdescendingparameter to sort when anorgfilter is used and saved. - Sync series segment to disk after writing.
- Do not allow shard creation to create overlapping shards.
- Don’t drop shard group durations when upgrading InfluxDB.
v2.0.9
This release includes several new features and bug fixes.
Features
New features include:
API updates
-
Add a new route
/api/v2/resourcesthat returns a list of known resources to the platform, including the following resource types. Makes it easier to update All Access tokens with current resources: -
AuthorizationsResourceType BucketsResourceTypeChecksResourceTypeDashboardsResourceTypeDBRPResourceTypeDocumentsResourceTypeLabelsResourceTypeNotificationEndpointResourceTypeNotificationRuleResourceTypeOrgsResourceTypeScraperResourceTypeSecretsResourceTypeSourcesResourceTypeTasksResourceTypeTelegrafsResourceTypeUsersResourceTypeVariablesResourceTypeViewsResourceType
Flux updates
- Update to Flux v0.130.0.
- Add support for influxdb.cardinality() function.
- Operational improvements:
- Add logging to Flux end-to-end tests (
TestFluxEndToEnd) to help diagnose test failures. - Add
--flux-log-enabledoption to influxd to show detailed logs for Flux queries.
Performance enhancements
- Optimize series iteration for queries that can be answered without inspecting TSM data.
- Optimize queries with predicates that contain multiple measurements.
Bug fixes
This release includes the following bug fixes and updates:
- API fix
- Dependency update
- Error updates
- Limit update
- Miscellaneous operational fixes
- Task updates
- Version maintenance
API fix
- Correctly filter requests to
/api/v2/authorizationsbyorganduserparameters.
Dependency update
- Include
curlas a dependency ininfluxdb2packages.
Errors updates
- Add message to set the Flux
content-typewhen a query fails to parse as JSON. - Discard excessive errors over
DefaultMaxSavedErrors (100)to prevent out-of-memory crashes. - Upgrade
golang.org/x/systo avoid panics on macs.
Limit update
- Implement hard limit on field size (
MaxFieldValueLength = 1048576) while parsing line protocol.
Miscellaneous operational fixes
- Resolve the compaction queue stats flutter.
- Ensure the TSI index compacts log files that meet one of the following criteria:
- Log file hasn’t been updated (no new series have been added to the shard) for 4 (or more) hours (to change this duration, specify a new storage-compact-full-write-cold-duration)
- Log file is one (or more) megabytes (to update this size, specify a new storage-max-index-log-file-size)
- Repair bad port dropping return value names.
- Use consistent path separator in permission string representation.
- (Windows only) Copy snapshot files being backed up.
Task updates
- Updating an inactive task no longer schedules it.
- Preserve comments in Flux queries when saving task definitions.
Version maintenance
- Fix
X-Influxdb-BuildandX-Influxdb-Versionresponse header at/ping. - Upgrade
influxqlto latest version and fix predicate handling forSHOW TAG VALUESmeta queries.
v2.0.8
Upcoming changes to influx CLI packaging
Beginning in InfluxDB 2.1, the influx CLI will no longer be packaged with the release. Future versions of influx CLI will be released from the influx-cli repository.
To adopt the new, separate influx CLI early, download the latest release from GitHub or from the InfluxData Downloads portal.
Go version
- Upgrade to Go 1.16. Requires macOS Sierra 10.12 or later to run.
Features
- Add
--ui-disabledoption toinfluxdto support running with the UI disabled. - Telemetry improvements: Do not record telemetry data for non-existent paths; replace invalid static asset paths with a slug.
- Upgrade to Flux v0.124.0.
- Upgrade to UI v2.0.8.
- Upgrade
flux-lsp-browserto v0.5.53.
Bug fixes
- Rename ARM RPM packages with yum-compatible names.
- Upgrade to latest version of
influxdata/cronso that tasks can be created with interval ofevery: 1w. - Avoid rewriting
fields.idxunnecessarily. - Do not close connection twice in DigestWithOptions.
- Remove incorrect optimization for group-by.
- Return an error instead of panicking when InfluxQL statement rewrites fail.
- Migrate restored KV snapshots to latest schema before using them.
- Specify which fields are missing when rejecting an incomplete onboarding request.
- Ensure
systemdunit blocks on startup until HTTP endpoint is ready. - Fix display and parsing of
influxd upgradeCLI prompts in PowerShell. - Removed unused
chronograf-migatorpackage and chronograf API service, and updated various “chronograf” references. - Fix display and parsing of interactive
influxCLI prompts in PowerShell. - Upgrade to
golang-jwt3.2.1. - Prevent silently dropped writes when there are overlapping shards.
- Invalid requests to
/api/v2subroutes now return 404 instead of a list of links. - Flux meta queries for
_fieldtake fast path if_measurementis the only predicate. - Copy names from
mmapmapped memory before closing iterator.
v2.0.7
Features
- Optimize table.fill() execution within Flux aggregate windows.
- Upgrade Flux to v0.117.0.
- Upgrade UI to v2.0.7.
- Upgrade
flux-lsp-browserto v0.5.47.
Bug Fixes
- Fix query range calculation (off by one) over partially compacted data.
- Deprecate the unsupported
PostSetupUserAPI. - Add limits to the
/api/v2/deleteendpoint for start and stop times with error messages. - Add logging to NATS streaming server to help debug startup failures.
- Accept
--inputinstead of a positional argument ininflux restore. - Print error instead of panicking when
influx restorefails to find backup manifests. - Set last-modified time of empty shard directory to the directory’s last-modified time, instead of the Unix epoch.
- Remove deadlock in
influx org members listwhen an organization has greater than 10 members. - Replace telemetry file name with slug for
ttf,woff, andeotfiles. - Enable use of absolute path for
--upgrade-logwhen runninginfluxd upgradeon Windows. - Make InfluxQL meta queries respect query timeouts.
v2.0.6 General Availability
Bug Fixes
- Ensure query configuration written by
influxd upgradeis valid. - Set
query-concurrencyandquery-queue-sizeconfiguration option defaults to0to avoid validation failures when upgrading users. - Correctly validate when
query-concurrencyis0andquery-queue-sizeis greater than0.
v2.0.5 General Availability
InfluxDB v2.0.5 introduced a defect that prevents users from successfully upgrading from InfluxDB 1.x to 2.0 using the influxd upgrade command or Docker. To automatically upgrade from 1.x to 2.0 with the influxd upgrade command or with Docker, use InfluxDB v2.0.6.
Windows Support
This release includes our initial Windows preview build.
Breaking Changes
/debug/vars removed
Prior to this release, the influxd server would expose profiling information over the /debug/vars endpoint. This endpoint was unauthenticated and not used by InfluxDB systems to report diagnostics. For security and clarity, the endpoint has been removed. Use the /metrics endpoint to collect system statistics.
influx transpile removed
The transpile command has been removed. Send InfluxQL requests directly to the server via the /api/v2/query or /query HTTP endpoints.
Default query concurrency changed
The default setting for the max number of concurrent Flux queries has been changed from 10 to unlimited (0). To limit query concurrency and queue size:
- Set the
query-concurrencyconfig parameter to > 0 when runninginfluxdto re-limit the maximum running query count, - Set the
query-queue-sizeconfig parameter to > 0 to set the max number of queries that can be queued before the server starts rejecting requests.
Prefix for query-controller metrics changed
The prefix used for Prometheus metrics from the query controller has changed from query_control_ to qc_.
Features
- Add Swift client library to the Load Data section of the InfluxDB UI.
- Add influx task retry-failed command to rerun failed runs.
- Add --compression option to the
influx writecommand to support Gzip inputs. - Add new
influxdconfiguration options: - pprof-disabled
- metrics-disabled
- http-read-header-timeout
- http-read-timeout
- http-write-timeout
- http-idle-timeout
- Add
/debug/pprof/allHTTP endpoint to gather all profiles at once. - Include the InfluxDB 1.x
http.pprof-enabledconfiguration option in the 2.0 configuration file generated by the InfluxDB upgrade process. - Add support for custom shard group durations on buckets.
- Optimize regular expression conditions in InfluxQL subqueries.
- Update Telegraf plugins in the InfluxDB UI to include additions and changes from Telegraf 1.18.
- Display task IDs in the tasks list in the InfluxDB UI.
- Write to standard output (
stdout) when--output-path -is passed to influxd inspect export-lp. - Add
-p, --profilersflag to influx query command to enable Flux profilers on a query executed from theinfluxCLI. - Update InfluxDB OSS UI to match InfluxDB Cloud.
- Support disabling concurrency limits in the Flux controller.
- Replace unique resource IDs (UI assets, backup shards) with slugs to reduce cardinality of telemetry data.
- Standardize HTTP server error log output.
- Enable InfluxDB user interface features:
- Band visualization type
- Mosiac visualization type
- Configure axis tick marks
- Upload CSV files through the InfluxDB UI
- Edit Telegraf configurations in the InfluxDB UI
- Legend orientation options
- Refresh a single dashboard cell
- Upgrade to Flux v0.113.0.
Bug Fixes
- Prevent “do not have an execution context” error when parsing Flux options in tasks.
- Fix swagger to match implementation of DBRPs type.
- Fix use-after-free bug in series ID iterator.
- Fix TSM and WAL segment size check to check against the local
SegmentSize. - Fix TSM and WAL segment size computing to correctly calculate
totalOldDiskSize. - Update references to the documentation site to use current URLs.
- Fix data race in then TSM engine when inspecting tombstone statistics.
- Fix data race in then TSM cache.
- Deprecate misleading
retentionPeriodHrskey in the onboarding API. - Fix Single Stat graphs with thresholds crashing on negative values.
- Fix InfluxDB port in Flux function UI examples.
- Remove unauthenticated, unsupported
/debug/varsHTTP endpoint. - Respect 24 hour clock formats in the InfluxDB UI and add more format choices.
- Prevent “do not have an execution context” error when parsing Flux options in tasks.
- Prevent time field names from being formatted in the Table visualization.
- Log error details when
influxd upgradefails to migrate databases. - Fix the cipher suite used when TLS strict ciphers are enabled in
influxd. - Fix parse error in UI for tag filters containing regular expression meta characters.
- Prevent concurrent access panic when gathering bolt metrics.
- Fix race condition in Flux controller shutdown.
- Reduce lock contention when adding new fields and measurements.
- Escape dots in community templates hostname regular expression.
v2.0.4 General Availability
Docker
ARM64
This release extends the Docker builds hosted in quay.io to support the Linux/ARM64 platform.
2.x nightly images
Prior to this release, competing nightly builds caused the nightly Docker tag to contain outdated binaries. This conflict is fixed, and the image tagged with nightly now contains 2.x binaries built from the HEAD of the master branch.
Breaking Changes
inmem index option removed
This release fully removes the inmem indexing option, along with the associated config options:
max-series-per-databasemax-values-per-tag
The startup process automatically generates replacement tsi1 indexes for shards that need it.
Features
influxd updates
- Add new influxd upgrade flag
—overwrite-existing-v2to overwrite existing files at output paths (instead of aborting). - Add new configuration options: - nats-port - nats-max-payload-bytes
- Add new commands: - Add influxd print-config to support automated configuration inspection. - Add influxd inspect export-lp to extract data in line-protocol format.
New Telegraf plugins in UI
- Update Telegraf plugins list in UI to include Beat, Intel PowerStats, and Rienmann.
Performance improvements
- Promote schema and fill query optimizations to default behavior.
Flux updates
- Upgrade to Flux v0.104.0.
- Upgrade to
flux-lsp-browserv0.5.31.
Bug Fixes
- Standardize binary naming conventions.
- Fix configuration loading issue.
- Add Flux dictionary expressions to Swagger documentation.
- Ensure
influxdbservice sees default environment variables when running underinit.d. - Remove upgrade notice from new installs.
- Ensure
config.tomlis initialized on new installs. - Include upgrade helper script (
influxdb2-upgrade.sh) in GoReleaser manifest. - Prevent
influx stack updatefrom overwriting stack name and description. - Fix timeout setup for
influxdgraceful shutdown. - Require user to set password during initial user onboarding.
- Error message improvements:
- Remove duplication from task error messages.
- Improve error message shown when influx CLI can’t find an
orgby name. - Improve error message when opening BoltDB with unsupported file system options.
- Improve messages in DBRP API validation errors.
influxd upgradeimprovements:- Add confirmation step with file sizes before copying data files.
- Prevent panic in
influxd upgradewhen v1 users exist but v1 config is missing. - Fix logging initialization for storage engine.
- Don’t return 500 codes for partial write failures.
- Don’t leak
.tmpfiles while backing up shards. - Allow backups to complete while a snapshot is in progress.
- Fix silent failure to register CLI arguments as required.
- Fix loading when
INFLUXD_CONFIG_PATHpoints to a .yml file. - Prevent extra output row from GROUP BY crossing DST boundary.
- Update Flux functions list in UI to reflect that
v1package was renamed toschema. - Set correct
Content-Typeon v1 query responses. - Respect the
--skip-verifyflag when runninginflux query. - Remove blank lines from payloads sent by
influx write. - Fix infinite loop in Flux parser caused by invalid array expressions.
- Support creating users without initial passwords in
influx user create. - Fix incorrect errors when passing
--bucket-idtoinflux write.
v2.0.3 General Availability
Breaking Changes
influxd upgrade
Previously, influxd upgrade would attempt to write upgraded config.toml files into the same directory as the source influxdb.conf file. If this failed, a warning would be logged and config.toml would write into the home directory of the user who launched the upgrade.
This release breaks this behavior in two ways:
- By default,
config.tomlwrites into the same directory as the Bolt DB and engi
(本文超出站点单文档体积上限,已截断)
