Package org.opensearch.gateway
package org.opensearch.gateway
Gateway Foundation Classes.
-
ClassDescriptionAsyncShardFetch<T extends BaseNodeResponse>Allows to asynchronously fetch shard related data from other nodes for allocation, without blocking the cluster update thread.AsyncShardFetch.FetchResult<T extends BaseNodeResponse>The result of a fetch operation.AsyncShardFetch.Lister<NodesResponse extends BaseNodesResponse<NodeResponse>,
NodeResponse extends BaseNodeResponse> An action that lists the relevant shard data that needs to be fetched.An abstract class that implements basic functionality for allocating shards to nodes based on shard copies that already exist in the cluster.Updates cluster stateThis exception is thrown when OpenSearch detects an inconsistency in one of it's persistent states.The dangling indices state is responsible for finding new dangling indices (indices that have their state written on disk, but don't exists in the metadata of the cluster), and importing them into the cluster.The GatewayThe lister for state recovered.Allocator for the gatewayBase Exception for the gatewayLoads (and maybe upgrades) cluster metadata at startup, and persistently stores cluster metadata for future restarts.Encapsulates the writing of metadata to a remote store usingRemoteClusterStateService
.Binds the gateway moduleThe Gateway Service providerTracks the metadata written to disk, allowing updated metadata to be written incrementally (i.e.Allocates dangled indicesThe request.The response.MetadataStateFormat is a base class to write checksummed XContent based files to one or more directories in a standardized directory structure.Stores cluster metadata in a bare Lucene index (per data path) split across a number of documents.The on disk state.Writer for cluster state serviceThe primary shard allocator allocates unassigned primary shards to nodes that hold valid copies of the unassigned primaries.A comparator that comparesShardRouting
instances based on various properties.Allocates replica shardsLists gateway meta stateThe node gateway metastate.The node request.The nodes gateway metastate.The request.This transport action is used to fetch the shard version from each node during primary allocation inGatewayAllocator
.The response.The request.The nodes response.The nodes request.This exception is thrown when there is a problem of writing state to disk.