Skip to content

系统变量 tidb_read_staleness 无效 #10583

Open
@monkey1993

Description

@monkey1993

File: /release-6.1/tidb-read-staleness.md

比如,如果该变量的值设置为 -5,TiDB 会在 5 秒时间范围内,保证 TiKV 拥有对应历史版本数据的情况下,选择尽可能新的一个时间戳。

5 秒时间范围内,也就是说:5秒前 到 现在,尽可能新的时间戳,那就是现在。
而预期的时间范围是:从开始 到 5秒前,尽可能新的时间戳。

AS OF TIMESTAMP正常,tidb_snapshot正常,tidb_read_staleness失败。

Metadata

Metadata

Assignees

Labels

area/schedulingIndicates that the Issue or PR belongs to the area of scheduling.trackedThis issue has been tracked.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions