diff --git a/docs/user-guide/deployments-administration/manage-data/gc.md b/docs/user-guide/deployments-administration/manage-data/gc.md index ca40ba3a1..5894ed7a1 100644 --- a/docs/user-guide/deployments-administration/manage-data/gc.md +++ b/docs/user-guide/deployments-administration/manage-data/gc.md @@ -4,7 +4,7 @@ description: GC keeps SST/index files until all references are released, protect --- # Garbage Collection (GC) -GreptimeDB GC delays physical deletion of SST/index files until all references (running queries, [repartition](./table-sharding.md#Repartition) cross-region file refs) are released. The configuration contains two parts: +GreptimeDB GC delays physical deletion of SST/index files until all references (running queries, [repartition](./repartition.md) cross-region file refs) are released. The configuration contains two parts: - Metasrv Configuration - Datanode Configuration @@ -52,7 +52,7 @@ unknown_file_lingering_time = "1h" # Keep files without expel time; rare safegua | Configuration Option | Description | | --- | --- | | `enable` | Enable the datanode GC worker. Must match meta GC `enable`. | -| `lingering_time` | How long to keep manifest-removed files before deletion to protect long follower-region queries/cross-region references; set longer than `gc_cooldown_period`. Use `"None"` to delete immediately. | +| `lingering_time` | How long to keep manifest-removed files before deletion to protect long follower-region queries/cross-region references; set longer than `gc_cooldown_period`. Use `"0s"` to delete immediately. | | `unknown_file_lingering_time` | Safety hold for files without expel time (not tracked in manifest). Should be generous; these cases are rare. | :::warning diff --git a/i18n/zh/docusaurus-plugin-content-docs/current/user-guide/deployments-administration/manage-data/gc.md b/i18n/zh/docusaurus-plugin-content-docs/current/user-guide/deployments-administration/manage-data/gc.md index 39411a41a..f34e2e9c0 100644 --- a/i18n/zh/docusaurus-plugin-content-docs/current/user-guide/deployments-administration/manage-data/gc.md +++ b/i18n/zh/docusaurus-plugin-content-docs/current/user-guide/deployments-administration/manage-data/gc.md @@ -4,7 +4,7 @@ description: GC 会在所有引用释放后才删除 SST/索引文件,以保 --- # 垃圾回收(GC) -GreptimeDB GC 会延迟删除 SST/索引文件,直到所有引用(运行中的查询、[repartition](./table-sharding.md#Repartition) 的跨 region 文件引用)释放。配置包含两部分: +GreptimeDB GC 会延迟删除 SST/索引文件,直到所有引用(运行中的查询、[repartition](./repartition.md) 的跨 region 文件引用)释放。配置包含两部分: - Metasrv 配置 - Datanode 配置 @@ -52,7 +52,7 @@ unknown_file_lingering_time = "1h" # 未记录 expel time 的文件保留时长 | 配置项 | 说明 | | --- | --- | | `enable` | 启用 datanode GC worker,必须与 meta GC 的 `enable` 一致。 | -| `lingering_time` | manifest 中已移除文件在删除前的保留时长,用于保护长时间 follower-region 查询/跨 region 引用;请设置为大于 `gc_cooldown_period`。设为 `"None"` 表示立即删除。 | +| `lingering_time` | manifest 中已移除文件在删除前的保留时长,用于保护长时间 follower-region 查询/跨 region 引用;请设置为大于 `gc_cooldown_period`。设为 `"0s"` 表示立即删除。 | | `unknown_file_lingering_time` | 对缺少 expel time 的文件的安全保留时间(未在 manifest 中追踪)。建议设置为较长值;此类情况较少。 | :::warning diff --git a/i18n/zh/docusaurus-plugin-content-docs/version-1.0/user-guide/deployments-administration/manage-data/gc.md b/i18n/zh/docusaurus-plugin-content-docs/version-1.0/user-guide/deployments-administration/manage-data/gc.md index 39411a41a..f34e2e9c0 100644 --- a/i18n/zh/docusaurus-plugin-content-docs/version-1.0/user-guide/deployments-administration/manage-data/gc.md +++ b/i18n/zh/docusaurus-plugin-content-docs/version-1.0/user-guide/deployments-administration/manage-data/gc.md @@ -4,7 +4,7 @@ description: GC 会在所有引用释放后才删除 SST/索引文件,以保 --- # 垃圾回收(GC) -GreptimeDB GC 会延迟删除 SST/索引文件,直到所有引用(运行中的查询、[repartition](./table-sharding.md#Repartition) 的跨 region 文件引用)释放。配置包含两部分: +GreptimeDB GC 会延迟删除 SST/索引文件,直到所有引用(运行中的查询、[repartition](./repartition.md) 的跨 region 文件引用)释放。配置包含两部分: - Metasrv 配置 - Datanode 配置 @@ -52,7 +52,7 @@ unknown_file_lingering_time = "1h" # 未记录 expel time 的文件保留时长 | 配置项 | 说明 | | --- | --- | | `enable` | 启用 datanode GC worker,必须与 meta GC 的 `enable` 一致。 | -| `lingering_time` | manifest 中已移除文件在删除前的保留时长,用于保护长时间 follower-region 查询/跨 region 引用;请设置为大于 `gc_cooldown_period`。设为 `"None"` 表示立即删除。 | +| `lingering_time` | manifest 中已移除文件在删除前的保留时长,用于保护长时间 follower-region 查询/跨 region 引用;请设置为大于 `gc_cooldown_period`。设为 `"0s"` 表示立即删除。 | | `unknown_file_lingering_time` | 对缺少 expel time 的文件的安全保留时间(未在 manifest 中追踪)。建议设置为较长值;此类情况较少。 | :::warning diff --git a/versioned_docs/version-1.0/user-guide/deployments-administration/manage-data/gc.md b/versioned_docs/version-1.0/user-guide/deployments-administration/manage-data/gc.md index ca40ba3a1..5894ed7a1 100644 --- a/versioned_docs/version-1.0/user-guide/deployments-administration/manage-data/gc.md +++ b/versioned_docs/version-1.0/user-guide/deployments-administration/manage-data/gc.md @@ -4,7 +4,7 @@ description: GC keeps SST/index files until all references are released, protect --- # Garbage Collection (GC) -GreptimeDB GC delays physical deletion of SST/index files until all references (running queries, [repartition](./table-sharding.md#Repartition) cross-region file refs) are released. The configuration contains two parts: +GreptimeDB GC delays physical deletion of SST/index files until all references (running queries, [repartition](./repartition.md) cross-region file refs) are released. The configuration contains two parts: - Metasrv Configuration - Datanode Configuration @@ -52,7 +52,7 @@ unknown_file_lingering_time = "1h" # Keep files without expel time; rare safegua | Configuration Option | Description | | --- | --- | | `enable` | Enable the datanode GC worker. Must match meta GC `enable`. | -| `lingering_time` | How long to keep manifest-removed files before deletion to protect long follower-region queries/cross-region references; set longer than `gc_cooldown_period`. Use `"None"` to delete immediately. | +| `lingering_time` | How long to keep manifest-removed files before deletion to protect long follower-region queries/cross-region references; set longer than `gc_cooldown_period`. Use `"0s"` to delete immediately. | | `unknown_file_lingering_time` | Safety hold for files without expel time (not tracked in manifest). Should be generous; these cases are rare. | :::warning