From 16a086dbcb4b043ac763fd0bb9ec7a5abfa42e6f Mon Sep 17 00:00:00 2001 From: yanliang567 <82361606+yanliang567@users.noreply.github.com> Date: Mon, 13 Dec 2021 19:47:32 +0800 Subject: [PATCH] [skip ci]Update typo in index design md (#13247) Signed-off-by: yanliang567 --- docs/design_docs/index_design.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/design_docs/index_design.md b/docs/design_docs/index_design.md index 697a5b2430..4a038ad7e3 100644 --- a/docs/design_docs/index_design.md +++ b/docs/design_docs/index_design.md @@ -78,8 +78,8 @@ restarted, we write the MetaTable information into etcd. When the IndexCoord ser existing Meta information from etcd, and then monitor the changes of Meta through watchNodeLoop. In order to distinguish whether the modification of Meta was initiated by IndexCoord or IndexNode, revision was introduced in Meta. When watchMetaLoop detects that the Meta in etcd is updated, compare the revision in Meta with the Event.Kv.Version -of the etcd event. If the revision is equal to Event.Kv.Version, it means that the update was initiated by IndexCoord. -If the revision is less than Event. .Kv.Version means that this Meta update was initiated by IndexNode, and IndexCoord +of the etcd event. If the revision equals to Event.Kv.Version, it means that the update was initiated by IndexCoord. +If the revision is less than Event.Kv.Version, it means that this Meta update was initiated by IndexNode, and IndexCoord needs to update Meta. There will be no situation where revision is greater than Event.Kv.Version. In order to prevent IndexNode from appearing in a suspended animation state, Version is introduced. When IndexCoord