getFlushState()
This method checks the status of data flush by segment IDs.
Invocation
new milvusClient(MILUVS_ADDRESS).dataManager.getFlushState(GetFlushStateReq);
Parameters
GetFlushStateReq
Parameter | Description | type | required |
---|---|---|---|
segmentIDs | An array of the IDs of the segments to check | String[] | True |
Example
new milvusClient(MILUVS_ADDRESS).dataManager.getFlushState({
segmentIDs: segIds,
});
Return
// getFlushState return
{ status: { error_code: 'Success', reason: '' }, flushed: true }