public static interface Engine.RecoveryHandler
The first phase allows to take a snapshot of the master index. Once this is taken, no commit operations are effectively allowed on the index until the recovery phases are through.
The seconds phase takes a snapshot of the current transaction log.
The last phase returns the remaining transaction log. During this phase, no dirty operations are allowed on the index.
Modifier and Type | Method and Description |
---|---|
void |
phase1(SnapshotIndexCommit snapshot) |
void |
phase2(Translog.Snapshot snapshot) |
void |
phase3(Translog.Snapshot snapshot) |
void phase1(SnapshotIndexCommit snapshot) throws ElasticsearchException
ElasticsearchException
void phase2(Translog.Snapshot snapshot) throws ElasticsearchException
ElasticsearchException
void phase3(Translog.Snapshot snapshot) throws ElasticsearchException
ElasticsearchException
Copyright © 2009–2015. All rights reserved.