Skip to content

Commit

Permalink
Add import flushed field for bulk insert to catch flush done state
Browse files Browse the repository at this point in the history
issue: milvus-io#65
Signed-off-by: Yuchen Gao <[email protected]>
  • Loading branch information
soothing-rain committed Dec 13, 2022
1 parent 537b49f commit 1734dfa
Show file tree
Hide file tree
Showing 4 changed files with 43 additions and 45 deletions.
79 changes: 41 additions & 38 deletions go-api/commonpb/common.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 0 additions & 2 deletions go-api/milvuspb/milvus.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 0 additions & 4 deletions go-api/schemapb/schema.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion proto/common.proto
Original file line number Diff line number Diff line change
Expand Up @@ -281,7 +281,8 @@ enum ImportState {
ImportPending = 0; // the task in in pending list of rootCoord, waiting to be executed
ImportFailed = 1; // the task failed for some reason, get detail reason from GetImportStateResponse.infos
ImportStarted = 2; // the task has been sent to datanode to execute
ImportPersisted = 5; // all data files have been parsed and data already persisted
ImportPersisted = 5; // all data files have been parsed and all meta data already persisted, ready to be flushed.
ImportFlushed = 8; // all segments are successfully flushed.
ImportCompleted = 6; // all indexes are successfully built and segments are able to be compacted as normal.
ImportFailedAndCleaned = 7; // the task failed and all segments it generated are cleaned up.
}
Expand Down

0 comments on commit 1734dfa

Please sign in to comment.