Schema for information about a running task.

interface ActiveTask {
    bulk_get_attempts?: number;
    bulk_get_docs?: number;
    changes_done?: number;
    changes_pending?: number;
    checkpoint_interval?: number;
    checkpointed_source_seq?: string;
    continuous?: boolean;
    database: string;
    design_document?: string;
    doc_id?: string;
    doc_write_failures?: number;
    docs_read?: number;
    docs_written?: number;
    index?: string;
    indexer_pid?: string;
    missing_revisions_found?: number;
    node: string;
    phase?: string;
    pid: string;
    process_status?: string;
    progress?: number;
    replication_id?: string;
    retry?: boolean;
    revisions_checked?: number;
    source?: string;
    source_seq?: string;
    started_on: number;
    target?: string;
    through_seq?: string;
    total_changes?: number;
    type: string;
    updated_on: number;
    user?: string;
    view?: number;
}

Properties

bulk_get_attempts?: number

The total count of attempted doc revisions fetched with _bulk_get. Available for replication type tasks.

bulk_get_docs?: number

The total count of successful docs fetched with _bulk_get. Available for replication type tasks.

changes_done?: number

Processed changes. Available for database_compaction, indexer, search_indexer, view_compaction type tasks.

changes_pending?: number

The count of changes not yet replicated. Available for replication type tasks.

checkpoint_interval?: number

Specifies the checkpoint interval in ms. Available for replication type tasks.

checkpointed_source_seq?: string

The source sequence id which was last successfully replicated. Available for replication type tasks.

continuous?: boolean

The replication configured to be continuous. Available for replication type tasks.

database: string

Source database.

design_document?: string

The design document that belongs to this task. Available for indexer, search_indexer, view_compaction type tasks.

doc_id?: string

Replication document ID. Available for replication type tasks.

doc_write_failures?: number

Number of document write failures. Available for replication type tasks.

docs_read?: number

Number of documents read. Available for replication type tasks.

docs_written?: number

Number of documents written to target. Available for replication type tasks.

index?: string

The search index that belongs to this task. Available for search_indexer type tasks.

indexer_pid?: string

Indexer process ID. Available for indexer type tasks.

missing_revisions_found?: number

The count of docs which have been read from the source. Available for replication type tasks.

node: string

Cluster node where the task is running.

phase?: string

The phase the active task is in. docid_sort, docid_copy, document_copy phases are available for database_compaction, while ids and view phases are available for view_compaction type tasks.

pid: string

Process ID.

process_status?: string

Process status.

progress?: number

Current percentage progress. Available for database_compaction, indexer, search_indexer, view_compaction type tasks.

replication_id?: string

Replication ID. Available for replication type tasks.

retry?: boolean

Indicates whether a compaction retry is currently running on the database. Available for database_compaction type tasks.

revisions_checked?: number

The count of revisions which have been checked since this replication began. Available for replication type tasks.

source?: string

Replication source. Available for replication type tasks.

source_seq?: string

The last sequence number obtained from the source database changes feed. Available for replication type tasks.

started_on: number

Schema for a Unix epoch timestamp.

target?: string

Replication target. Available for replication type tasks.

through_seq?: string

The last sequence number processed by the replicator. Available for replication type tasks.

total_changes?: number

Total changes to process. Available for database_compaction, indexer, search_indexer, view_compaction type tasks.

type: string

Operation type.

updated_on: number

Schema for a Unix epoch timestamp.

user?: string

Name of user running replication or owning the indexer. Available for indexer, replication type tasks.

view?: number

Number of view indexes. Available for view_compaction type tasks.

Generated using TypeDoc