Skip to content

Commit d471bbe

Browse files
authored
Merge branch 'master' into fix-api-docs-links
2 parents 18b9003 + 950cb50 commit d471bbe

File tree

21 files changed

+196
-185
lines changed

21 files changed

+196
-185
lines changed

assets/jsconfig.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,8 @@
33
"baseUrl": ".",
44
"paths": {
55
"*": [
6-
"*"
6+
"*",
7+
"../node_modules/*"
78
]
89
}
910
}

content/influxdb/v2/install/_index.md

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -164,13 +164,13 @@ gpg: key 7C3D57159FC2F927: public key "InfluxData Package Signing Key <support@i
164164
<!--test:setup
165165
```sh
166166
curl --silent --location --output-dir ~/Downloads -O \
167-
"https://download.influxdata.com/influxdb/releases/influxdb2-{{< latest-patch >}}_darwin_amd64.tar.gz" \
167+
"https://download.influxdata.com/influxdb/releases/v{{< latest-patch >}}/influxdb2-{{< latest-patch >}}_darwin_amd64.tar.gz" \
168168
```
169169
-->
170170

171171
```sh
172172
curl --silent --location \
173-
https://download.influxdata.com/influxdb/releases/influxdb2-{{< latest-patch >}}_darwin_amd64.tar.gz.asc \
173+
https://download.influxdata.com/influxdb/releases/v{{< latest-patch >}}/influxdb2-{{< latest-patch >}}_darwin_amd64.tar.gz.asc \
174174
| gpg --verify - ~/Downloads/influxdb2-{{< latest-patch >}}_darwin_amd64.tar.gz \
175175
2>&1 | grep 'InfluxData Package Signing Key <support@influxdata.com>'
176176
```
@@ -239,12 +239,12 @@ brew install influxdb
239239

240240
1. In your browser or your terminal, download the InfluxDB package.
241241

242-
<a class="btn download" href="https://download.influxdata.com/influxdb/releases/influxdb2-{{< latest-patch >}}_darwin_amd64.tar.gz" download>InfluxDB v2 (macOS)</a>
242+
<a class="btn download" href="https://download.influxdata.com/influxdb/releases/v{{< latest-patch >}}/influxdb2-{{< latest-patch >}}_darwin_amd64.tar.gz" download>InfluxDB v2 (macOS)</a>
243243

244244
```sh
245245
# Download using cURL
246246
curl --location -O \
247-
"https://download.influxdata.com/influxdb/releases/influxdb2-{{< latest-patch >}}_darwin_amd64.tar.gz"
247+
"https://download.influxdata.com/influxdb/releases/v{{< latest-patch >}}/influxdb2-{{< latest-patch >}}_darwin_amd64.tar.gz"
248248
```
249249

250250
2. {{< req text="Recommended:" color="magenta" >}}: Verify the integrity of the download--for example, enter the
@@ -443,18 +443,18 @@ _If necessary, adjust the example file paths and utilities for your system._
443443
1. In your browser or your terminal, download the InfluxDB binary for your
444444
system architecture (AMD64 or ARM).
445445
446-
<a class="btn download" href="https://download.influxdata.com/influxdb/releases/influxdb2-{{< latest-patch >}}_linux_amd64.tar.gz" download >InfluxDB v2 (amd64)</a>
447-
<a class="btn download" href="https://download.influxdata.com/influxdb/releases/influxdb2-{{< latest-patch >}}_linux_arm64.tar.gz" download >InfluxDB v2 (arm)</a>
446+
<a class="btn download" href="https://download.influxdata.com/influxdb/releases/v{{< latest-patch >}}/influxdb2-{{< latest-patch >}}_linux_amd64.tar.gz" download >InfluxDB v2 (amd64)</a>
447+
<a class="btn download" href="https://download.influxdata.com/influxdb/releases/v{{< latest-patch >}}/influxdb2-{{< latest-patch >}}_linux_arm64.tar.gz" download >InfluxDB v2 (arm)</a>
448448
449449
<!--test:actual
450450
```sh
451451
curl -s --location -O \
452-
"https://download.influxdata.com/influxdb/releases/influxdb2-{{< latest-patch >}}_linux_amd64.tar.gz"
452+
"https://download.influxdata.com/influxdb/releases/v{{< latest-patch >}}/influxdb2-{{< latest-patch >}}_linux_amd64.tar.gz"
453453
```
454454
455455
```sh
456456
curl -s --location -O \
457-
"https://download.influxdata.com/influxdb/releases/influxdb2-{{< latest-patch >}}_linux_arm64.tar.gz"
457+
"https://download.influxdata.com/influxdb/releases/v{{< latest-patch >}}/influxdb2-{{< latest-patch >}}_linux_arm64.tar.gz"
458458
```
459459
-->
460460
@@ -463,15 +463,15 @@ _If necessary, adjust the example file paths and utilities for your system._
463463
```sh
464464
# Use curl to download the amd64 binary.
465465
curl --location -O \
466-
https://download.influxdata.com/influxdb/releases/influxdb2-{{< latest-patch >}}_linux_amd64.tar.gz
466+
https://download.influxdata.com/influxdb/releases/v{{< latest-patch >}}/influxdb2-{{< latest-patch >}}_linux_amd64.tar.gz
467467
```
468468
469469
<!--pytest.mark.skip-->
470470
471471
```sh
472472
# Use curl to download the arm64 binary.
473473
curl --location -O \
474-
https://download.influxdata.com/influxdb/releases/influxdb2-{{< latest-patch >}}_linux_arm64.tar.gz
474+
https://download.influxdata.com/influxdb/releases/v{{< latest-patch >}}/influxdb2-{{< latest-patch >}}_linux_arm64.tar.gz
475475
```
476476
477477
2. [Choose the InfluxData key-pair for your OS version](#choose-the-influxdata-key-pair-for-your-system).
@@ -505,7 +505,7 @@ _If necessary, adjust the example file paths and utilities for your system._
505505
| grep 'InfluxData Package Signing Key <support@influxdata.com>' \
506506
&&
507507
# Download and verify the binary's signature file
508-
curl --silent --location "https://download.influxdata.com/influxdb/releases/influxdb2-{{< latest-patch >}}_linux_amd64.tar.gz.asc" \
508+
curl --silent --location "https://download.influxdata.com/influxdb/releases/v{{< latest-patch >}}/influxdb2-{{< latest-patch >}}_linux_amd64.tar.gz.asc" \
509509
| gpg --verify - influxdb2-{{< latest-patch >}}_linux_amd64.tar.gz \
510510
2>&1 | grep 'InfluxData Package Signing Key <support@influxdata.com>'
511511
```
@@ -519,7 +519,7 @@ _If necessary, adjust the example file paths and utilities for your system._
519519
| grep 'InfluxData Package Signing Key <support@influxdata.com>' \
520520
&&
521521
# Download and verify the binary's signature file
522-
curl --silent --location "https://download.influxdata.com/influxdb/releases/influxdb2-{{< latest-patch >}}_linux_arm64.tar.gz.asc" \
522+
curl --silent --location "https://download.influxdata.com/influxdb/releases/v{{< latest-patch >}}/influxdb2-{{< latest-patch >}}_linux_arm64.tar.gz.asc" \
523523
| gpg --verify - influxdb2-{{< latest-patch >}}_linux_arm64.tar.gz \
524524
2>&1 | grep 'InfluxData Package Signing Key <support@influxdata.com>'
525525
```
@@ -618,7 +618,7 @@ chmod 0750 ~/.influxdbv2
618618
>
619619
> _You'll install the `influx CLI` in a [later step](#download-install-and-configure-the-influx-cli)._
620620
621-
<a class="btn download" href="https://download.influxdata.com/influxdb/releases/influxdb2-{{< latest-patch >}}-windows.zip" download >InfluxDB v2 (Windows)</a>
621+
<a class="btn download" href="https://download.influxdata.com/influxdb/releases/v{{< latest-patch >}}/influxdb2-{{< latest-patch >}}-windows.zip" download >InfluxDB v2 (Windows)</a>
622622
623623
Expand the downloaded archive into `C:\Program Files\InfluxData\` and rename the
624624
files if desired.

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.

content/influxdb3/clustered/admin/tokens/database/revoke 2.md

Lines changed: 0 additions & 56 deletions
This file was deleted.

content/influxdb3/clustered/admin/tokens/database/revoke.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ aliases:
1919
---
2020

2121
Use the [`influxctl token revoke` command](/influxdb3/clustered/reference/cli/influxctl/token/revoke/)
22-
to revoke a database token from your InfluxDB cluster and disable
22+
to revoke a database token from your {{< product-name omit=" Clustered" >}} cluster and disable
2323
all permissions associated with the token.
2424

2525
1. If you haven't already, [download and install the `influxctl` CLI](/influxdb3/clustered/reference/cli/influxctl/#download-and-install-influxctl).

content/influxdb3/enterprise/admin/tokens/admin/create.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ list_code_example: |
1616
```
1717
#### HTTP API
1818
```bash
19-
curl -X POST "http://{{< influxdb/host >}}/api/v3/enterprise/configure/token/admin" \
19+
curl -X POST "http://{{< influxdb/host >}}/api/v3/configure/token/admin" \
2020
--header 'Accept: application/json' \
2121
--header 'Content-Type: application/json'
2222
```

0 commit comments

Comments
 (0)