Package | Description |
---|---|
org.elasticsearch.index.engine | |
org.elasticsearch.index.translog | |
org.elasticsearch.index.translog.fs | |
org.elasticsearch.indices.recovery |
Modifier and Type | Method and Description |
---|---|
void |
Engine.RecoveryHandler.phase2(Translog.Snapshot snapshot) |
void |
Engine.RecoveryHandler.phase3(Translog.Snapshot snapshot) |
Modifier and Type | Method and Description |
---|---|
Translog.Snapshot |
Translog.snapshot()
Snapshots the current transaction log allowing to safely iterate over the snapshot.
|
Translog.Snapshot |
Translog.snapshot(Translog.Snapshot snapshot)
Snapshots the delta between the current state of the translog, and the state defined
by the provided snapshot.
|
Modifier and Type | Method and Description |
---|---|
Translog.Snapshot |
Translog.snapshot(Translog.Snapshot snapshot)
Snapshots the delta between the current state of the translog, and the state defined
by the provided snapshot.
|
Modifier and Type | Class and Description |
---|---|
class |
FsChannelSnapshot |
Modifier and Type | Method and Description |
---|---|
Translog.Snapshot |
FsTranslog.snapshot(Translog.Snapshot snapshot) |
Modifier and Type | Method and Description |
---|---|
Translog.Snapshot |
FsTranslog.snapshot(Translog.Snapshot snapshot) |
Modifier and Type | Method and Description |
---|---|
void |
RecoverySourceHandler.phase2(Translog.Snapshot snapshot)
Perform phase2 of the recovery process
Phase2 takes a snapshot of the current translog *without* acquiring the
write lock (however, the translog snapshot is a point-in-time view of
the translog).
|
void |
SharedFSRecoverySourceHandler.phase2(Translog.Snapshot snapshot) |
void |
RecoverySourceHandler.phase3(Translog.Snapshot snapshot)
Perform phase 3 of the recovery process
Phase3 again takes a snapshot of the translog, however this time the
snapshot is acquired under a write lock.
|
void |
SharedFSRecoverySourceHandler.phase3(Translog.Snapshot snapshot) |
protected int |
RecoverySourceHandler.sendSnapshot(Translog.Snapshot snapshot)
Send the given snapshot's operations to this handler's target node.
|
protected int |
SharedFSRecoverySourceHandler.sendSnapshot(Translog.Snapshot snapshot) |
Copyright © 2009–2015. All rights reserved.