From 2c0a35bc1a9e22a5141e311dd5d2a0a6b4f28d3f Mon Sep 17 00:00:00 2001 From: Scott Anderson Date: Tue, 13 May 2025 08:07:20 -0500 Subject: [PATCH] Clustered release 20250508-1719206 (#6054) * update database delete behavior * chore: update docs for 20250508-1719206 clustered release (#6051) * chore: update docs for 20250508-1719206 release * Apply suggestions from code review --------- Co-authored-by: Scott Anderson * Update content/influxdb3/clustered/reference/cli/influxctl/database/delete.md Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> --------- Co-authored-by: Logan Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> --- .../clustered/admin/databases/delete.md | 13 ++++++---- .../cli/influxctl/database/create.md | 17 +++++-------- .../cli/influxctl/database/delete.md | 16 ++++++++----- .../reference/release-notes/clustered.md | 24 +++++++++++++++++++ 4 files changed, 48 insertions(+), 22 deletions(-) diff --git a/content/influxdb3/clustered/admin/databases/delete.md b/content/influxdb3/clustered/admin/databases/delete.md index 72c42b14c..9f39e8fd5 100644 --- a/content/influxdb3/clustered/admin/databases/delete.md +++ b/content/influxdb3/clustered/admin/databases/delete.md @@ -22,9 +22,9 @@ to delete a database from your InfluxDB cluster. 1. If you haven't already, [download and install the `influxctl` CLI](/influxdb3/clustered/reference/cli/influxctl/#download-and-install-influxctl). 2. Run the `influxctl database delete` command and provide the following: - - Name of the database to delete + - The name of the database to delete -3. Confirm that you want to delete the database. +3. Confirm that you want to delete the database. {{% code-placeholders "DATABASE_NAME" %}} ```sh @@ -37,9 +37,12 @@ influxctl database delete DATABASE_NAME > > Once a database is deleted, data stored in that database cannot be recovered. > -> #### Cannot reuse database names -> -> After a database is deleted, you cannot reuse the same name for a new database. +> #### Wait before writing to a new database with the same name +> +> After deleting a database from your {{% product-name omit=" Clustered" %}} +> cluster, you can reuse the name to create a new database, but **wait two to +> three minutes** after deleting the previous database before writing to the new +> database to allow write caches to clear. > > #### Never directly modify the Catalog > diff --git a/content/influxdb3/clustered/reference/cli/influxctl/database/create.md b/content/influxdb3/clustered/reference/cli/influxctl/database/create.md index ce9d00750..7a71ec00d 100644 --- a/content/influxdb3/clustered/reference/cli/influxctl/database/create.md +++ b/content/influxdb3/clustered/reference/cli/influxctl/database/create.md @@ -68,17 +68,12 @@ Be sure to follow [partitioning best practices](/influxdb3/clustered/admin/custo > Otherwise, InfluxDB omits time from the partition template and won't compact partitions. > [!Warning] -> #### Cannot reuse deleted database names -> -> You cannot reuse the name of a deleted database when creating a new database. -> If you try to reuse the name, the API response status code -> is `400` and the `message` field contains the following: -> -> ```text -> 'iox_proxy.app.CreateDatabase failed to create database: \ -> rpc error: code = AlreadyExists desc = A namespace with the -> name `` already exists' -> ``` +> #### Wait before writing to a new database with the same name as a deleted database +> +> After deleting a database from your {{% product-name omit=" Clustered" %}} +> cluster, you can reuse the name to create a new database, but **wait two to +> three minutes** after deleting the previous database before writing to the new +> database to allow write caches to clear. ## Usage diff --git a/content/influxdb3/clustered/reference/cli/influxctl/database/delete.md b/content/influxdb3/clustered/reference/cli/influxctl/database/delete.md index 21ee800f0..990a0b662 100644 --- a/content/influxdb3/clustered/reference/cli/influxctl/database/delete.md +++ b/content/influxdb3/clustered/reference/cli/influxctl/database/delete.md @@ -1,14 +1,16 @@ --- title: influxctl database delete description: > - The `influxctl database delete` command deletes a database from an InfluxDB cluster. + The `influxctl database delete` command deletes a database from an + {{% product-name omit=" Clustered" %}} cluster. menu: influxdb3_clustered: parent: influxctl database weight: 301 --- -The `influxctl database delete` command deletes a database from an InfluxDB cluster. +The `influxctl database delete` command deletes a database from an +{{< product-name omit=" Clustered" >}} cluster. ## Usage @@ -24,10 +26,12 @@ influxctl database delete [command options] [--force] [ > Deleting a database is a destructive action that cannot be undone. > -> #### Cannot reuse deleted database names -> -> After deleting a database, you cannot reuse the name of the deleted database -> when creating a new database. +> #### Wait before writing to a new database with the same name +> +> After deleting a database from your {{% product-name omit=" Clustered" %}} +> cluster, you can reuse the name to create a new database, but **wait two to +> three minutes** after deleting the previous database before writing to the new +> database to allow write caches to clear. ## Arguments diff --git a/content/influxdb3/clustered/reference/release-notes/clustered.md b/content/influxdb3/clustered/reference/release-notes/clustered.md index 1aaf9cef1..7c0d688fe 100644 --- a/content/influxdb3/clustered/reference/release-notes/clustered.md +++ b/content/influxdb3/clustered/reference/release-notes/clustered.md @@ -25,6 +25,30 @@ weight: 201 --- +## 20250508-1719206 {date="2025-05-08"} + +### Quickstart + +```yaml +spec: + package: + image: us-docker.pkg.dev/influxdb2-artifacts/clustered/influxdb:20250508-1719206 +``` + +### Changes + +#### Deployment + +- Expose the v0 REST API for the management and authorization service (Granite). + +#### Database Engine + +- Reuse database names after deletion. +- Create database tokens with expiration dates. +- Revoke database tokens rather than deleting them. + +--- + ## 20250212-1570743 {date="2025-02-12"} ### Quickstart