milvus-logo
Star
0
Forks
0
快速开始

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

Example

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

Return

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