diff --git a/docs/developer_guides/how-guarantee-ts-works-cn.md b/docs/developer_guides/how-guarantee-ts-works-cn.md index 3b6a8a6660..bbaeaa94de 100644 --- a/docs/developer_guides/how-guarantee-ts-works-cn.md +++ b/docs/developer_guides/how-guarantee-ts-works-cn.md @@ -53,7 +53,8 @@ syncTs1 为例,当下游消费者(比如QueryNodes)看到 syncTs1,那么 - 强一致性:GuaranteeTs 设为系统最新时间戳,QueryNodes 需要等待 ServiceTime 推进到 当前最新时间戳才能执行该 Search 请求; -- 最终一致性:GuaranteeTs 设为 0,跳过一致性检查,立刻在当前已有数据上执行 Search 查询; +- 最终一致性:GuaranteeTs 设为一个特别小的值(比如说设为 1),跳过一致性检查,立刻在当 +前已有数据上执行 Search 查询; - 有界一致性:GuaranteeTs 是一个比系统最新时间稍旧的时间,在可容忍范围内可以立刻执行查询; - 客户端一致性:客户端使用上一次写入的时间戳作为 GuaranteeTs,那么每个客户端至少能看到 自己插入的全部数据。 diff --git a/docs/developer_guides/how-guarantee-ts-works.md b/docs/developer_guides/how-guarantee-ts-works.md index dfd43c24a5..2697f159b4 100644 --- a/docs/developer_guides/how-guarantee-ts-works.md +++ b/docs/developer_guides/how-guarantee-ts-works.md @@ -70,7 +70,8 @@ As shown in the figure below, different GuaranteeTs correspond to four different - Strong consistency: GuaranteeTs is set to the newest timestamp of the system, QueryNodes will wait for the ServiceTime to be greater than or equal to the GuaranteeTs; -- Eventual consistency: Set GuaranteeTs to 0 and skip the check, QueryNodes will execute search requests immediately; +- Eventual consistency: Set GuaranteeTs to a very small value (for example 1) and skip the check, QueryNodes will + execute search requests immediately; - Bounded Staleness: Set GuaranteeTs to an older timestamp, such as 1 minute ago, the query can be executed immediately within a tolerable range; - Read your own write (Session): Set GuaranteeTs to the client last write, in this way, every client will see all their