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 <sanderson@users.noreply.github.com> * Update content/influxdb3/clustered/reference/cli/influxctl/database/delete.md Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> --------- Co-authored-by: Logan <mail@logan-cox.com> Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>pull/6048/head^2
parent
9f57a4be1f
commit
2c0a35bc1a
|
@ -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
|
||||
>
|
||||
|
|
|
@ -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 `<DATABASE_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
|
||||
|
||||
|
|
|
@ -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] <DATABASE_NAME> [<DATABASE
|
|||
>
|
||||
> 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
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue