[skip ci]Update design docs (#11626)

Signed-off-by: shiyu22 <shiyu.chen@zilliz.com>
This commit is contained in:
shiyu22 2021-11-11 13:11:15 +08:00 committed by GitHub
parent 1b35b81fe2
commit 15856a0968
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -27,15 +27,15 @@ D. DDL messages are now in DML Vchannels.
When a flowgraph flushes a segment, we need to save these things: When a flowgraph flushes a segment, we need to save these things:
- current segment's binlog paths, - current segment's binlog paths.
- current segment positions, - current segment positions.
- all other segments' current positions from the replica (If a segment hasn't been flushed, save the position when datanode first meets it.) - all other segments' current positions from the replica (If a segment hasn't been flushed, save the position when datanode first meets it).
Whether save successfully: Whether save successfully:
- If succeeded, flowgraph updates all segments' positions to the replica - If succeeded, flowgraph updates all segments' positions to the replica
- If not - If not
- For a grpc failure( this failure will appear after many times retry internally), crush itself. - For a grpc failure(this failure will appear after many times retry internally), crush itself.
- For a normal failure, retry save 10 times, if still fails, crush itself. - For a normal failure, retry save 10 times, if still fails, crush itself.
### B. Recovery from a set of checkpoints ### B. Recovery from a set of checkpoints