jira.js
    Preparing search index...

    Function getIndexSummary

    • Returns a summary of the index condition of the current node. The returned data consists of:

      • nodeId - Node identifier.
      • reportTime - Time of this report creation.
      • issueIndex - Summary of the issue index status.
      • replicationQueues - Map of index replication queues, where keys represent nodes from which replication operations came from.
      • externalPlatformIndexReplay - Map of external platform's index replay queues, where keys represents which node logged to index replay queue (journal)

      issueIndex can contain: - indexReadable - If false the endpoint failed to read data from the issue index (check Jira logs for detailed stack trace), otherwise true. - countInDatabase - Count of issues found in the database. - countInIndex - Count of issues found while querying the index. - lastUpdatedInDatabase - Time of the last update of the issue found in the database. - lastUpdatedInIndex - Time of the last update of the issue found while querying the index. replicationQueues's map values can contain: - lastConsumedOperation - Last executed index replication operation by the current node from the sending node's queue. - lastConsumedOperation.id - Identifier of the operation. - lastConsumedOperation.replicationTime - Time when the operation was sent to other nodes. - lastOperationInQueue - Last index replication operation in the sending node's queue. - lastOperationInQueue.id - Identifier of the operation. - lastOperationInQueue.replicationTime - Time when the operation was sent to other nodes. - queueSize - Number of operations in the queue from the sending node to the current node. externalPlatformIndexReplay's map values can contain: - lastConsumedOperation - Last executed external platform's index replay operation. - lastConsumedOperation.id - Identifier of the operation. - lastConsumedOperation.journalWriteTime - Time when the operation was written to the journal. - lastOperationInQueue - Last external platform's index replay operation in the replay queue. - lastOperationInQueue.id - Identifier of the operation. - lastOperationInQueue.journalWriteTime - Time when the operation was written to the journal. - queueSize - Number of operations in the queue awaiting synchronization with the external platform's index.

      Parameters

      Returns Promise<
          {
              externalPlatformIndexReplay?: Record<
                  string,
                  {
                      lastConsumedOperation?: {
                          id?: number;
                          journalWriteTime?: Date;
                          [key: string]: unknown;
                      };
                      lastOperationInQueue?: {
                          id?: number;
                          journalWriteTime?: Date;
                          [key: string]: unknown;
                      };
                      queueSize?: number;
                      [key: string]: unknown;
                  },
              >;
              issueIndex?: {
                  countInArchive?: number;
                  countInDatabase?: number;
                  countInIndex?: number;
                  indexReadable?: boolean;
                  lastUpdatedInDatabase?: Date;
                  lastUpdatedInIndex?: Date;
                  [key: string]: unknown;
              };
              nodeId?: string;
              replicationQueues?: Record<
                  string,
                  {
                      lastConsumedOperation?: {
                          id?: number;
                          replicationTime?: Date;
                          [key: string]: unknown;
                      };
                      lastOperationInQueue?: {
                          id?: number;
                          replicationTime?: Date;
                          [key: string]: unknown;
                      };
                      queueSize?: number;
                      [key: string]: unknown;
                  },
              >;
              reportTime?: Date;
              [key: string]: unknown;
          },
      >