[skip ci] Refine drop collection design doc (#12715)

Signed-off-by: Edward Zeng <jie.zeng@zilliz.com>
pull/12723/head
edward.zeng 2021-12-03 18:29:33 +08:00 committed by GitHub
parent 95baf66407
commit 59104d7e08
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -29,11 +29,11 @@ DataNode ignites Flush&Drop
Add a `dropped` flag in `SaveBinlogPathRequest` proto
DN
- Flush all segment in this vChannel, When Flush&Drop, set the `dropped` flag true.
- Flush all segments in this vChannel, When Flush&Drop, set the `dropped` flag true.
- If fails, retry at most 10 times and restart
DC
- DataCoord marks segmentInfo as `dropped`, doesn't remove segmentInfos from Etcd
- DataCoord marks segmentInfo as `dropped`, doesn't remove segmentInfos from etcd
- When recovery, check if the segments in the vchannel are all dropped
- if not, recover before the drop
- if so, no need to recover the vchannel