Skip to content

Commit

Permalink
Update 20_Retrieving.md
Browse files Browse the repository at this point in the history
  • Loading branch information
ZxYuan authored Aug 2, 2016
1 parent 75c04db commit f8e24ef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion 040_Distributed_CRUD/20_Retrieving.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

1. 客户端给`Node 1`发送get请求。
2. 节点使用文档的`_id`确定文档属于分片`0`。分片`0`对应的复制分片在三个节点上都有。此时,它转发请求到`Node 2`
3. `Node 2`返回endangered给`Node 1`然后返回给客户端。
3. `Node 2`返回文档(document)给`Node 1`然后返回给客户端。

对于读请求,为了平衡负载,请求节点会为每个请求选择不同的分片——它会循环所有分片副本。

Expand Down

0 comments on commit f8e24ef

Please sign in to comment.