Package com.atlassian.jira.index.ha
package com.atlassian.jira.index.ha
-
ClassDescriptionDecouples internal reporting of current state of replication of other nodes index operations from status reported to the DB.Backs up the index to the shared home folderService for recovering an Index.Default implementation of
IndexSnapshotOperator
.Runs periodically and re-indexes/de-indexes issues that have been indexed in the cluster (since 8.10 replays local operations as well).Manages the replicated index.A contribution to the index backup, which writes metadata about the re-indexThis class will check for a disaster recovery scenario and restore the index if required.Used for storing and retrieving failed index replication operations on the current nodeStrategy used to acquire a list of index files fromIndex.Manager
's and pass them to given backupBuilderThe lucene indexes have been restored.Encapsulation of specific index's Index#perform lambda function and its relative subpath to indexes root directory.Manager to recover an index from a previous index backupManager to recover an index from a previous index backupRepresents a result of an attempt to start the index snapshot creation asynchronously.Represents status of an attempt to start the index snapshot creation asynchronously.Represents result of attempted snapshot creation.Represents status of index snapshot creation.Provides a set of methods to manage index snapshot creation and existing index snapshot files.For collecting stats related to waiting on blocked snapshot attempts.A service that when run will store a snapshot of the Lucene indexesHelper methods to work with LuceneIndexes.For collecting stats related to index snapshot creation.Interface for performing read/write operations regarding node's current state of replication changes from other nodes.Reindex service that runs to check if other nodes have made index changesA no-op implementation of the ReplicatedIndexManager.Stores the last index operation id for each nodeStores index operation eventsReindex metadata contained within an index snapshot.Writes ReplicatedIndexOperations to the database.This class represents an Indexing Operation on a nodeFactory for converting GVs toReplicatedIndexOperation
Resolves Shared EntitiesStrategy for acquiring the list of index files for creation of consistent index backup.A provider of files to given directory.Entities implementing this interface are supposed to be uniquely identifiable by id and have a version.For handling index replay with no version for ZDU when upgrading from <= 8.9 To be removed in Jira 9.0.