Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update enable-ttl description #8043

Merged
merged 6 commits into from
Mar 7, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions releases/release-3.0.3.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,7 @@ TiDB Ansible 版本:3.0.3

+ SQL 优化器
- 添加 `opt_rule_blacklist` 表,用于禁用一些逻辑优化规则,比如 `aggregation_eliminate`,`column_prune` 等 [#11658](https://github.com/pingcap/tidb/pull/11658)
- 修复 Index join 的 join key 中使用前缀索引或者使用 unsigned 的索引列等于负数时结果不正确的问题
[#11759](https://github.com/pingcap/tidb/pull/11759)
- 修复 Index join 的 join key 中使用前缀索引或者使用 unsigned 的索引列等于负数时结果不正确的问题 [#11759](https://github.com/pingcap/tidb/pull/11759)
- 修复 `create … binding ...` 的 Select 语句中带有 `”` 或者 `\` 时解析报错的问题 [#11726](https://github.com/pingcap/tidb/pull/11726)
+ SQL 执行引擎
- 修复 `Quote` 函数处理 null 值的返回值类型出错的问题 [#11619](https://github.com/pingcap/tidb/pull/11619)
Expand Down
7 changes: 6 additions & 1 deletion tikv-configuration-file.md
Original file line number Diff line number Diff line change
Expand Up @@ -340,9 +340,14 @@ TiKV 配置文件比命令行参数支持更多的选项。你可以在 [etc/con
### `enable-ttl`

+ TTL 即 Time to live。数据超过 TTL 时间后会被自动删除。用户需在客户端写入请求中指定 TTL。不指定 TTL 即表明相应数据不会被自动删除。
+ 注意:TTL 暂时只适用于 RawKV 接口。由于所涉及底层数据格式的不同,用户只能在新建集群时设置好该功能,在已有集群上修改该项配置会使得启动报错。
+ 默认值:false

> **警告:**
>
> TTL 暂时只适用于 RawKV 接口。由于所涉及底层数据格式不同,你只能在新建集群时设置该功能。
> **禁止**在已有集群上修改该项配置,否则会导致启动报错。
> **禁止**在有 TiDB 节点的集群中使用该参数,以免导致数据写坏等严重后果。

7yyo marked this conversation as resolved.
Show resolved Hide resolved
### `ttl-check-poll-interval`

+ 回收数据物理空间的检查周期。如果数据超过了 TTL 时间,数据的物理空间会在检查时被强制回收。
Expand Down