|
8 | 8 | weight: 101
|
9 | 9 | ---
|
10 | 10 |
|
| 11 | +## v2.7.12 {date="2025-05-20"} |
| 12 | + |
| 13 | +### Features |
| 14 | + |
| 15 | +- Add a `--pid-file` option to write a PID file to the specified location on startup. InfluxDB removes the PID file on shutdown. |
| 16 | +- Add a `--storage-wal-flush-on-shutdown` option to flush the WAL on database shutdown to ensure all data is written to disk. |
| 17 | +- Improve response error messages for dropped points, adding details including database, retention policy, and which bound was violated for partial writes. |
| 18 | + |
| 19 | +### Bug Fixes |
| 20 | + |
| 21 | +- Fix a locking issue in `TagValueIterator` that could cause reads and writes in buckets to block. [PR #26414](https://github.com/influxdata/influxdb/pull/26414) |
| 22 | + |
| 23 | +### Maintenance |
| 24 | + |
| 25 | +- Improved startup logging with an "are we there yet" counter for the number and percentage of shards opened. |
| 26 | +- Update Go to 1.23.9. |
| 27 | +- Update Flux to v0.196.1. |
| 28 | +- Refresh dependencies to address security vulnerabilities and improve stability. |
| 29 | + |
| 30 | +--- |
| 31 | + |
11 | 32 | ## v2.7.11 {date="2024-12-02"}
|
12 | 33 |
|
13 | 34 | ### Features
|
@@ -606,7 +627,7 @@ to migrate InfluxDB key-value metadata schemas to earlier 2.x versions when nece
|
606 | 627 | #### Flux
|
607 | 628 |
|
608 | 629 | - Update to [Flux v0.139.0](/flux/v0/release-notes/#v01390).
|
609 |
| -- Enable writing to remote hosts using the Flux [`to()`](/flux/v0/stdlib/influxdata/influxdb/to/) and [`experimental.to()`](/flux/v0/v0.x/stdlib/experimental/to/) functions. |
| 630 | +- Enable writing to remote hosts using the Flux [`to()`](/flux/v0/stdlib/influxdata/influxdb/to/) and [`experimental.to()`](/flux/v0/stdlib/experimental/to/) functions. |
610 | 631 | - Flux now supports locations that dynamically modify time offsets based on your specified timezone. You can also specify fixed time offsets relative to UTC.
|
611 | 632 | - Perform [bitwise operations](/flux/v0/stdlib/experimental/bitwise/)
|
612 | 633 | on integers and unsigned integers.
|
@@ -673,24 +694,24 @@ New features include:
|
673 | 694 |
|
674 | 695 | - Add a new route `/api/v2/resources` that 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:
|
675 | 696 |
|
676 |
| - - `AuthorizationsResourceType` |
677 |
| - - `BucketsResourceType` |
678 |
| - - `ChecksResourceType` |
679 |
| - - `DashboardsResourceType` |
680 |
| - - `DBRPResourceType` |
681 |
| - - `DocumentsResourceType` |
682 |
| - - `LabelsResourceType` |
683 |
| - - `NotificationEndpointResourceType` |
684 |
| - - `NotificationRuleResourceType` |
685 |
| - - `OrgsResourceType` |
686 |
| - - `ScraperResourceType` |
687 |
| - - `SecretsResourceType` |
688 |
| - - `SourcesResourceType` |
689 |
| - - `TasksResourceType` |
690 |
| - - `TelegrafsResourceType` |
691 |
| - - `UsersResourceType` |
692 |
| - - `VariablesResourceType` |
693 |
| - - `ViewsResourceType` |
| 697 | + - `AuthorizationsResourceType` |
| 698 | + - `BucketsResourceType` |
| 699 | + - `ChecksResourceType` |
| 700 | + - `DashboardsResourceType` |
| 701 | + - `DBRPResourceType` |
| 702 | + - `DocumentsResourceType` |
| 703 | + - `LabelsResourceType` |
| 704 | + - `NotificationEndpointResourceType` |
| 705 | + - `NotificationRuleResourceType` |
| 706 | + - `OrgsResourceType` |
| 707 | + - `ScraperResourceType` |
| 708 | + - `SecretsResourceType` |
| 709 | + - `SourcesResourceType` |
| 710 | + - `TasksResourceType` |
| 711 | + - `TelegrafsResourceType` |
| 712 | + - `UsersResourceType` |
| 713 | + - `VariablesResourceType` |
| 714 | + - `ViewsResourceType` |
694 | 715 |
|
695 | 716 | #### Flux updates
|
696 | 717 |
|
@@ -992,10 +1013,10 @@ The startup process automatically generates replacement `tsi1` indexes for shard
|
992 | 1013 | - Fix timeout setup for `influxd` graceful shutdown.
|
993 | 1014 | - Require user to set password during initial user onboarding.
|
994 | 1015 | - Error message improvements:
|
995 |
| - - Remove duplication from task error messages. |
996 |
| - - Improve error message shown when influx CLI can't find an `org` by name. |
997 |
| - - Improve error message when opening BoltDB with unsupported file system options. |
998 |
| - - Improve messages in DBRP API validation errors. |
| 1016 | + - Remove duplication from task error messages. |
| 1017 | + - Improve error message shown when influx CLI can't find an `org` by name. |
| 1018 | + - Improve error message when opening BoltDB with unsupported file system options. |
| 1019 | + - Improve messages in DBRP API validation errors. |
999 | 1020 | - `influxd upgrade` improvements:
|
1000 | 1021 | - Add confirmation step with file sizes before copying data files.
|
1001 | 1022 | - Prevent panic in `influxd upgrade` when v1 users exist but v1 config is missing.
|
@@ -1072,8 +1093,8 @@ Previously, the database retention policy (DBRP) mapping API did not match the s
|
1072 | 1093 |
|
1073 | 1094 | ### Features
|
1074 | 1095 | - Improvements to upgrade from 1.x to 2.x:
|
1075 |
| - - Warning appears if auth is not enabled in 1.x (`auth-enabled = false`), which is not an option in 2.x. For details, see [Upgrade from InfluxDB 1.x to InfluxDB 2.0](/influxdb/v2/upgrade/v1-to-v2/). |
1076 |
| - - `upgrade` command now checks to see if continuous queries are running and automatically exports them to a local file. |
| 1096 | + - Warning appears if auth is not enabled in 1.x (`auth-enabled = false`), which is not an option in 2.x. For details, see [Upgrade from InfluxDB 1.x to InfluxDB 2.0](/influxdb/v2/upgrade/v1-to-v2/). |
| 1097 | + - `upgrade` command now checks to see if continuous queries are running and automatically exports them to a local file. |
1077 | 1098 | - Upgrade to [Flux v0.95.0](/flux/v0/release-notes/#v0-95-0).
|
1078 | 1099 | - Upgrade `flux-lsp-browser` to v.0.5.23.
|
1079 | 1100 | - Manage database retention policy (DBRP) mappings via CLI. See [`influx v1 dbrp`](/influxdb/v2/reference/cli/influx/v1/dbrp/).
|
@@ -1117,8 +1138,8 @@ When there are multiple [DBRP mappings](/influxdb/v2/reference/api/influxdb-1x/d
|
1117 | 1138 | Highlights include:
|
1118 | 1139 |
|
1119 | 1140 | - Support for **upgrading to InfluxDB 2.0**:
|
1120 |
| - - To upgrade **from InfluxDB 1.x**, see [Upgrade from InfluxDB 1.x to InfluxDB 2.0](/influxdb/v2/upgrade/v1-to-v2). |
1121 |
| - - To upgrade **from InfluxDB 2.0 beta 16 or earlier**, see [Upgrade from InfluxDB 2.0 beta to InfluxDB 2.0](/influxdb/v2/upgrade/v2-beta-to-v2). |
| 1141 | + - To upgrade **from InfluxDB 1.x**, see [Upgrade from InfluxDB 1.x to InfluxDB 2.0](/influxdb/v2/upgrade/v1-to-v2). |
| 1142 | + - To upgrade **from InfluxDB 2.0 beta 16 or earlier**, see [Upgrade from InfluxDB 2.0 beta to InfluxDB 2.0](/influxdb/v2/install/upgrade/v2-beta-to-v2/). |
1122 | 1143 | - **Flux**, our powerful new functional data scripting language designed for querying, analyzing, and acting on data. This release includes [Flux v0.94.0](/flux/v0/release-notes/#v0940). If you're new to Flux, [check out how to get started with Flux](/influxdb/v2/query-data/get-started/). Next, delve deeper into the [Flux standard library](/flux/v0/stdlib//) reference docs and see how to [query with Flux](/influxdb/v2/query-data/flux/).
|
1123 | 1144 | - Support for [InfluxDB 1.x API compatibility](/influxdb/v2/reference/api/influxdb-1x/).
|
1124 | 1145 | - **Templates** and **stacks**. Discover how to [use community templates](/influxdb/v2/tools/influxdb-templates/use/) and how to [manage templates with stacks](/influxdb/v2/tools/influxdb-templates/stacks/).
|
@@ -1241,14 +1262,14 @@ If you're new to InfluxDB 2.0, we recommend checking out [how to get started](/i
|
1241 | 1262 | {{% warn %}}
|
1242 | 1263 | #### Manual upgrade required
|
1243 | 1264 |
|
1244 |
| -To simplify the migration for existing users of InfluxDB 1.x, this release includes significant breaking changes that require a manual upgrade from all alpha and beta versions. For more information, see [Upgrade to InfluxDB OSS 2.0rc](/influxdb/v2/upgrade/v2-beta-to-v2/), |
| 1265 | +To simplify the migration for existing users of InfluxDB 1.x, this release includes significant breaking changes that require a manual upgrade from all alpha and beta versions. For more information, see [Upgrade to InfluxDB OSS 2.0rc](/influxdb/v2/install/upgrade/v2-beta-to-v2/), |
1245 | 1266 | {{% /warn %}}
|
1246 | 1267 |
|
1247 | 1268 | ### Breaking changes
|
1248 | 1269 |
|
1249 | 1270 | #### Manual upgrade
|
1250 | 1271 |
|
1251 |
| -- To continue using data from InfluxDB 2.0 beta 16 or earlier, you must move all existing data out of the `~/.influxdbv2` (or equivalent) path, including `influxd.bolt`. All existing dashboards, tasks, integrations, alerts, users, and tokens must be recreated. For information on how to migrate your data, see [Upgrade to InfluxDB OSS 2.0rc](/influxdb/v2/upgrade/v2-beta-to-v2/). |
| 1272 | +- To continue using data from InfluxDB 2.0 beta 16 or earlier, you must move all existing data out of the `~/.influxdbv2` (or equivalent) path, including `influxd.bolt`. All existing dashboards, tasks, integrations, alerts, users, and tokens must be recreated. For information on how to migrate your data, see [Upgrade to InfluxDB OSS 2.0rc](/influxdb/v2/install/upgrade/v2-beta-to-v2/). |
1252 | 1273 |
|
1253 | 1274 | #### Port update to 8086
|
1254 | 1275 |
|
@@ -2045,7 +2066,7 @@ _**This will remove all data from your InfluxDB v2.0 instance including time ser
|
2045 | 2066 |
|
2046 | 2067 | ###### Linux and macOS
|
2047 | 2068 | ```sh
|
2048 |
| -rm ~/.influxdbv2/influxd.bolt |
| 2069 | +rm -f ~/.influxdbv2/influxd.bolt |
2049 | 2070 | ```
|
2050 | 2071 |
|
2051 | 2072 | Once completed, `v2.0.0-alpha.6` can be started.
|
@@ -2079,7 +2100,7 @@ run the following command.
|
2079 | 2100 |
|
2080 | 2101 | ###### Linux and macOS
|
2081 | 2102 | ```sh
|
2082 |
| -rm -r ~/.influxdbv2/engine |
| 2103 | +rm -rf ~/.influxdbv2/engine |
2083 | 2104 | ```
|
2084 | 2105 |
|
2085 | 2106 | Once completed, InfluxDB v2.0.0-alpha.5 can be started.
|
|
0 commit comments