ImportState

This enum represents the state of a bulk-import task.

export enum ImportState {
  ImportPending = 'ImportPending', // Task is in pending list
  ImportFailed = 'ImportFailed', // Task is failed, use state.infos["failed_reason"] to get the failed reason
  ImportStarted = 'ImportStarted', // Task is dispatched to data node, gonna to be executed.
  ImportPersisted = 'ImportPersisted', // New segments have been generated and persisted.
  ImportCompleted = 'ImportCompleted', // If the collection index has been specified, ImportCompleted indicates the new segments have been indexed successfully. Otherwise,  the task state will be directly converted from ImportPersisted to ImportCompleted.
  ImportFailedAndCleaned = 'ImportFailedAndCleaned', // The task is failed, and the temporary data generated by this task has been cleaned.
}

FIELDS:

  • ImportPending

    The task is in the pending list.

  • ImportFailed

    The task failed; see infos["failed_reason"] for the reason.

  • ImportStarted

    The task has been dispatched to a data node and will be executed.

  • ImportPersisted

    New segments have been generated and persisted.

  • ImportCompleted

    The import completed; segments are indexed when an index was specified.

Try Managed Milvus for Free

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

Get Started
Feedback

Was this page helpful?