milvus-logo
LFAI
< Docs
  • Node

getFlushState()

This method checks the status of data flush by segment IDs.

Invocation

new milvusClient(MILUVS_ADDRESS).dataManager.getFlushState(GetFlushStateReq);

Parameters

GetFlushStateReq

ParameterDescriptiontyperequired
segmentIDsAn array of the IDs of the segments to checkString[]True
timeoutAn optional duration of time in millisecond to allow for the RPC. Default is undefinedNumberFalse

Example

new milvusClient(MILUVS_ADDRESS).dataManager.getFlushState({
  segmentIDs: segIds,
});

Return

// getFlushState return
{ status: { error_code: 'Success', reason: '' }, flushed: true }
Feedback

Was this page helpful?