mirror of
https://gitee.com/milvus-io/milvus.git
synced 2025-12-07 17:48:29 +08:00
[skip e2e] Fix doc about eventually consistency (#13964)
Signed-off-by: dragondriver <jiquan.long@zilliz.com>
This commit is contained in:
parent
5c003a023e
commit
b704981fa3
@ -53,7 +53,8 @@ syncTs1 为例,当下游消费者(比如QueryNodes)看到 syncTs1,那么
|
|||||||
|
|
||||||
- 强一致性:GuaranteeTs 设为系统最新时间戳,QueryNodes 需要等待 ServiceTime 推进到
|
- 强一致性:GuaranteeTs 设为系统最新时间戳,QueryNodes 需要等待 ServiceTime 推进到
|
||||||
当前最新时间戳才能执行该 Search 请求;
|
当前最新时间戳才能执行该 Search 请求;
|
||||||
- 最终一致性:GuaranteeTs 设为 0,跳过一致性检查,立刻在当前已有数据上执行 Search 查询;
|
- 最终一致性:GuaranteeTs 设为一个特别小的值(比如说设为 1),跳过一致性检查,立刻在当
|
||||||
|
前已有数据上执行 Search 查询;
|
||||||
- 有界一致性:GuaranteeTs 是一个比系统最新时间稍旧的时间,在可容忍范围内可以立刻执行查询;
|
- 有界一致性:GuaranteeTs 是一个比系统最新时间稍旧的时间,在可容忍范围内可以立刻执行查询;
|
||||||
- 客户端一致性:客户端使用上一次写入的时间戳作为 GuaranteeTs,那么每个客户端至少能看到
|
- 客户端一致性:客户端使用上一次写入的时间戳作为 GuaranteeTs,那么每个客户端至少能看到
|
||||||
自己插入的全部数据。
|
自己插入的全部数据。
|
||||||
|
|||||||
@ -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
|
- 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;
|
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
|
- Bounded Staleness: Set GuaranteeTs to an older timestamp, such as 1 minute ago, the query can be executed immediately
|
||||||
within a tolerable range;
|
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
|
- Read your own write (Session): Set GuaranteeTs to the client last write, in this way, every client will see all their
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user