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