🚀 Try Zilliz Cloud, the fully managed Milvus, for free—experience 10x faster performance! Try Now>>

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

Example

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

Return

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

Try Managed Milvus for Free

Zilliz Cloud is hassle-free, powered by Milvus and 10x faster.

Get Started
Feedback

Was this page helpful?