| クラスと説明 |
|---|
| SnapshotInfo
Information about snapshot
|
| SnapshotsService
Service responsible for creating snapshots
A typical snapshot creating process looks like this:
On the master node the
SnapshotsService.createSnapshot(SnapshotRequest, CreateSnapshotListener) is called and makes sure that no snapshots is currently running
and registers the new snapshot in cluster state
When cluster state is updated the SnapshotsService.beginSnapshot(ClusterState, SnapshotsInProgress.Entry, boolean, CreateSnapshotListener) method
kicks in and initializes the snapshot in the repository and then populates list of shards that needs to be snapshotted in cluster state
Each data node is watching for these shards and when new shards scheduled for snapshotting appear in the cluster state, data nodes
start processing them through SnapshotShardsService.processIndexShardSnapshots(ClusterChangedEvent) method
Once shard snapshot is created data node updates state of the shard in the cluster state using the SnapshotShardsService.updateIndexShardSnapshotStatus(org.elasticsearch.cluster.metadata.SnapshotId, org.elasticsearch.index.shard.ShardId, org.elasticsearch.cluster.SnapshotsInProgress.ShardSnapshotStatus) method
When last shard is completed master node in SnapshotShardsService.innerUpdateSnapshotState(org.elasticsearch.snapshots.SnapshotShardsService.UpdateIndexShardSnapshotStatusRequest) method marks the snapshot as completed
After cluster state is updated, the SnapshotsService.endSnapshot(SnapshotsInProgress.Entry) finalizes snapshot in the repository,
notifies all SnapshotsService.snapshotCompletionListeners that snapshot is completed, and finally calls SnapshotsService.removeSnapshotFromClusterState(SnapshotId, SnapshotInfo, Throwable) to remove snapshot from cluster state
|
| クラスと説明 |
|---|
| SnapshotsService
Service responsible for creating snapshots
A typical snapshot creating process looks like this:
On the master node the
SnapshotsService.createSnapshot(SnapshotRequest, CreateSnapshotListener) is called and makes sure that no snapshots is currently running
and registers the new snapshot in cluster state
When cluster state is updated the SnapshotsService.beginSnapshot(ClusterState, SnapshotsInProgress.Entry, boolean, CreateSnapshotListener) method
kicks in and initializes the snapshot in the repository and then populates list of shards that needs to be snapshotted in cluster state
Each data node is watching for these shards and when new shards scheduled for snapshotting appear in the cluster state, data nodes
start processing them through SnapshotShardsService.processIndexShardSnapshots(ClusterChangedEvent) method
Once shard snapshot is created data node updates state of the shard in the cluster state using the SnapshotShardsService.updateIndexShardSnapshotStatus(org.elasticsearch.cluster.metadata.SnapshotId, org.elasticsearch.index.shard.ShardId, org.elasticsearch.cluster.SnapshotsInProgress.ShardSnapshotStatus) method
When last shard is completed master node in SnapshotShardsService.innerUpdateSnapshotState(org.elasticsearch.snapshots.SnapshotShardsService.UpdateIndexShardSnapshotStatusRequest) method marks the snapshot as completed
After cluster state is updated, the SnapshotsService.endSnapshot(SnapshotsInProgress.Entry) finalizes snapshot in the repository,
notifies all SnapshotsService.snapshotCompletionListeners that snapshot is completed, and finally calls SnapshotsService.removeSnapshotFromClusterState(SnapshotId, SnapshotInfo, Throwable) to remove snapshot from cluster state
|
| クラスと説明 |
|---|
| SnapshotInfo
Information about snapshot
|
| SnapshotsService
Service responsible for creating snapshots
A typical snapshot creating process looks like this:
On the master node the
SnapshotsService.createSnapshot(SnapshotRequest, CreateSnapshotListener) is called and makes sure that no snapshots is currently running
and registers the new snapshot in cluster state
When cluster state is updated the SnapshotsService.beginSnapshot(ClusterState, SnapshotsInProgress.Entry, boolean, CreateSnapshotListener) method
kicks in and initializes the snapshot in the repository and then populates list of shards that needs to be snapshotted in cluster state
Each data node is watching for these shards and when new shards scheduled for snapshotting appear in the cluster state, data nodes
start processing them through SnapshotShardsService.processIndexShardSnapshots(ClusterChangedEvent) method
Once shard snapshot is created data node updates state of the shard in the cluster state using the SnapshotShardsService.updateIndexShardSnapshotStatus(org.elasticsearch.cluster.metadata.SnapshotId, org.elasticsearch.index.shard.ShardId, org.elasticsearch.cluster.SnapshotsInProgress.ShardSnapshotStatus) method
When last shard is completed master node in SnapshotShardsService.innerUpdateSnapshotState(org.elasticsearch.snapshots.SnapshotShardsService.UpdateIndexShardSnapshotStatusRequest) method marks the snapshot as completed
After cluster state is updated, the SnapshotsService.endSnapshot(SnapshotsInProgress.Entry) finalizes snapshot in the repository,
notifies all SnapshotsService.snapshotCompletionListeners that snapshot is completed, and finally calls SnapshotsService.removeSnapshotFromClusterState(SnapshotId, SnapshotInfo, Throwable) to remove snapshot from cluster state
|
| クラスと説明 |
|---|
| RestoreInfo
Information about successfully completed restore operation.
|
| RestoreService
Service responsible for restoring snapshots
Restore operation is performed in several stages.
|
| クラスと説明 |
|---|
| SnapshotShardsService
This service runs on data and master nodes and controls currently snapshotted shards on these nodes.
|
| SnapshotsService
Service responsible for creating snapshots
A typical snapshot creating process looks like this:
On the master node the
SnapshotsService.createSnapshot(SnapshotRequest, CreateSnapshotListener) is called and makes sure that no snapshots is currently running
and registers the new snapshot in cluster state
When cluster state is updated the SnapshotsService.beginSnapshot(ClusterState, SnapshotsInProgress.Entry, boolean, CreateSnapshotListener) method
kicks in and initializes the snapshot in the repository and then populates list of shards that needs to be snapshotted in cluster state
Each data node is watching for these shards and when new shards scheduled for snapshotting appear in the cluster state, data nodes
start processing them through SnapshotShardsService.processIndexShardSnapshots(ClusterChangedEvent) method
Once shard snapshot is created data node updates state of the shard in the cluster state using the SnapshotShardsService.updateIndexShardSnapshotStatus(org.elasticsearch.cluster.metadata.SnapshotId, org.elasticsearch.index.shard.ShardId, org.elasticsearch.cluster.SnapshotsInProgress.ShardSnapshotStatus) method
When last shard is completed master node in SnapshotShardsService.innerUpdateSnapshotState(org.elasticsearch.snapshots.SnapshotShardsService.UpdateIndexShardSnapshotStatusRequest) method marks the snapshot as completed
After cluster state is updated, the SnapshotsService.endSnapshot(SnapshotsInProgress.Entry) finalizes snapshot in the repository,
notifies all SnapshotsService.snapshotCompletionListeners that snapshot is completed, and finally calls SnapshotsService.removeSnapshotFromClusterState(SnapshotId, SnapshotInfo, Throwable) to remove snapshot from cluster state
|
| クラスと説明 |
|---|
| RestoreService
Service responsible for restoring snapshots
Restore operation is performed in several stages.
|
| クラスと説明 |
|---|
| Snapshot
Represent information about snapshot
|
| SnapshotShardFailure
Stores information about failures that occurred during shard snapshotting process
|
| クラスと説明 |
|---|
| Snapshot
Represent information about snapshot
|
| SnapshotShardFailure
Stores information about failures that occurred during shard snapshotting process
|
| クラスと説明 |
|---|
| RestoreInfo
Information about successfully completed restore operation.
|
| RestoreService.RestoreCompletionResponse |
| RestoreService.RestoreRequest
Restore snapshot request
|
| Snapshot
Represent information about snapshot
|
| SnapshotException
Generic snapshot exception
|
| SnapshotInfo
Information about snapshot
|
| SnapshotShardFailure
Stores information about failures that occurred during shard snapshotting process
|
| SnapshotsService
Service responsible for creating snapshots
A typical snapshot creating process looks like this:
On the master node the
SnapshotsService.createSnapshot(SnapshotRequest, CreateSnapshotListener) is called and makes sure that no snapshots is currently running
and registers the new snapshot in cluster state
When cluster state is updated the SnapshotsService.beginSnapshot(ClusterState, SnapshotsInProgress.Entry, boolean, CreateSnapshotListener) method
kicks in and initializes the snapshot in the repository and then populates list of shards that needs to be snapshotted in cluster state
Each data node is watching for these shards and when new shards scheduled for snapshotting appear in the cluster state, data nodes
start processing them through SnapshotShardsService.processIndexShardSnapshots(ClusterChangedEvent) method
Once shard snapshot is created data node updates state of the shard in the cluster state using the SnapshotShardsService.updateIndexShardSnapshotStatus(org.elasticsearch.cluster.metadata.SnapshotId, org.elasticsearch.index.shard.ShardId, org.elasticsearch.cluster.SnapshotsInProgress.ShardSnapshotStatus) method
When last shard is completed master node in SnapshotShardsService.innerUpdateSnapshotState(org.elasticsearch.snapshots.SnapshotShardsService.UpdateIndexShardSnapshotStatusRequest) method marks the snapshot as completed
After cluster state is updated, the SnapshotsService.endSnapshot(SnapshotsInProgress.Entry) finalizes snapshot in the repository,
notifies all SnapshotsService.snapshotCompletionListeners that snapshot is completed, and finally calls SnapshotsService.removeSnapshotFromClusterState(SnapshotId, SnapshotInfo, Throwable) to remove snapshot from cluster state
|
| SnapshotsService.CreateSnapshotListener
Listener for create snapshot operation
|
| SnapshotsService.DeleteSnapshotListener
Listener for delete snapshot operation
|
| SnapshotsService.SnapshotCompletionListener |
| SnapshotsService.SnapshotRequest
Snapshot creation request
|
| SnapshotState
Represents the state that a snapshot can be in
|
Copyright © 2009–2016. All rights reserved.