Skip to content

Commit 57f600c

Browse files
authored
Merge pull request #6070 from influxdata/feat-oss-2.7.12-release
feat(oss2): Release notes for OSS 2.7.12
2 parents 749c8a4 + 50a9d7c commit 57f600c

File tree

4 files changed

+111
-32
lines changed

4 files changed

+111
-32
lines changed

content/influxdb/v2/reference/config-options.md

Lines changed: 55 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2744,6 +2744,61 @@ storage-validate-keys = true
27442744

27452745
---
27462746

2747+
### storage-wal-flush-on-shutdown
2748+
Flush the WAL on shutdown.
2749+
2750+
**Default:** `false`
2751+
2752+
| influxd flag | Environment variable | Configuration key |
2753+
| :------------------------------ | :------------------------------------ | :---------------------------- |
2754+
| `--storage-wal-flush-on-shutdown` | `INFLUXD_STORAGE_WAL_FLUSH_ON_SHUTDOWN` | `storage-wal-flush-on-shutdown` |
2755+
2756+
If set, `influxd` flushes or snapshots all WALs prior to completing shutdown--`influxd` performs cache snapshots on shutdown, which
2757+
results in the WAL files being written to TSM files and then deleted.
2758+
2759+
This is useful in upgrade and downgrade scenarios to prevent WAL format
2760+
compatibility issues.
2761+
2762+
###### influxd flag
2763+
<!--pytest.mark.skip-->
2764+
2765+
```sh
2766+
influxd --storage-wal-flush-on-shutdown
2767+
```
2768+
2769+
###### Environment variable
2770+
```sh
2771+
export INFLUXD_STORAGE_WAL_FLUSH_ON_SHUTDOWN=true
2772+
```
2773+
2774+
###### Configuration file
2775+
{{< code-tabs-wrapper >}}
2776+
{{% code-tabs %}}
2777+
[YAML](#)
2778+
[TOML](#)
2779+
[JSON](#)
2780+
{{% /code-tabs %}}
2781+
{{% code-tab-content %}}
2782+
```yml
2783+
storage-wal-flush-on-shutdown: true
2784+
```
2785+
{{% /code-tab-content %}}
2786+
{{% code-tab-content %}}
2787+
```toml
2788+
storage-wal-flush-on-shutdown = true
2789+
```
2790+
{{% /code-tab-content %}}
2791+
{{% code-tab-content %}}
2792+
```json
2793+
{
2794+
"storage-wal-flush-on-shutdown": true
2795+
}
2796+
```
2797+
{{% /code-tab-content %}}
2798+
{{< /code-tabs-wrapper >}}
2799+
2800+
---
2801+
27472802
### storage-wal-fsync-delay
27482803
Duration a write will wait before fsyncing.
27492804
A duration greater than `0` batches multiple fsync calls.

content/influxdb/v2/reference/release-notes/influxdb.md

Lines changed: 52 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,27 @@ menu:
88
weight: 101
99
---
1010

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+
1132
## v2.7.11 {date="2024-12-02"}
1233

1334
### Features
@@ -606,7 +627,7 @@ to migrate InfluxDB key-value metadata schemas to earlier 2.x versions when nece
606627
#### Flux
607628

608629
- 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.
610631
- Flux now supports locations that dynamically modify time offsets based on your specified timezone. You can also specify fixed time offsets relative to UTC.
611632
- Perform [bitwise operations](/flux/v0/stdlib/experimental/bitwise/)
612633
on integers and unsigned integers.
@@ -673,24 +694,24 @@ New features include:
673694

674695
- 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:
675696

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`
694715

695716
#### Flux updates
696717

@@ -992,10 +1013,10 @@ The startup process automatically generates replacement `tsi1` indexes for shard
9921013
- Fix timeout setup for `influxd` graceful shutdown.
9931014
- Require user to set password during initial user onboarding.
9941015
- 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.
9991020
- `influxd upgrade` improvements:
10001021
- Add confirmation step with file sizes before copying data files.
10011022
- 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
10721093

10731094
### Features
10741095
- 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.
10771098
- Upgrade to [Flux v0.95.0](/flux/v0/release-notes/#v0-95-0).
10781099
- Upgrade `flux-lsp-browser` to v.0.5.23.
10791100
- 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
11171138
Highlights include:
11181139

11191140
- 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/).
11221143
- **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/).
11231144
- Support for [InfluxDB 1.x API compatibility](/influxdb/v2/reference/api/influxdb-1x/).
11241145
- **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
12411262
{{% warn %}}
12421263
#### Manual upgrade required
12431264

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/),
12451266
{{% /warn %}}
12461267

12471268
### Breaking changes
12481269

12491270
#### Manual upgrade
12501271

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/).
12521273

12531274
#### Port update to 8086
12541275

@@ -2045,7 +2066,7 @@ _**This will remove all data from your InfluxDB v2.0 instance including time ser
20452066

20462067
###### Linux and macOS
20472068
```sh
2048-
rm ~/.influxdbv2/influxd.bolt
2069+
rm -f ~/.influxdbv2/influxd.bolt
20492070
```
20502071

20512072
Once completed, `v2.0.0-alpha.6` can be started.
@@ -2079,7 +2100,7 @@ run the following command.
20792100

20802101
###### Linux and macOS
20812102
```sh
2082-
rm -r ~/.influxdbv2/engine
2103+
rm -rf ~/.influxdbv2/engine
20832104
```
20842105

20852106
Once completed, InfluxDB v2.0.0-alpha.5 can be started.

data/influxd_flags.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -161,6 +161,9 @@
161161
- flag: "--storage-validate-keys"
162162
added: 2.0
163163

164+
- flag: "--storage-wal-flush-on-shutdown"
165+
added: 2.7
166+
164167
- flag: "--storage-wal-fsync-delay"
165168
added: 2.0
166169

data/products.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ influxdb:
8585
- v1
8686
latest: v2.7
8787
latest_patches:
88-
v2: 2.7.11
88+
v2: 2.7.12
8989
v1: 1.11.8
9090
latest_cli:
9191
v2: 2.7.5

0 commit comments

Comments
 (0)