public class SharedFSRecoverySourceHandler extends RecoverySourceHandler
logger, response
Constructor and Description |
---|
SharedFSRecoverySourceHandler(IndexShard shard,
StartRecoveryRequest request,
RecoverySettings recoverySettings,
TransportService transportService,
ESLogger logger) |
Modifier and Type | Method and Description |
---|---|
org.elasticsearch.indices.recovery.RecoveryResponse |
recoverToTarget()
performs the recovery from the local engine to the target
|
protected int |
sendSnapshot(Translog.Snapshot snapshot)
Send the given snapshot's operations to this handler's target node.
|
cancel, finalizeRecovery, phase1, phase2, prepareTargetForTranslog, toString
public SharedFSRecoverySourceHandler(IndexShard shard, StartRecoveryRequest request, RecoverySettings recoverySettings, TransportService transportService, ESLogger logger)
public org.elasticsearch.indices.recovery.RecoveryResponse recoverToTarget()
RecoverySourceHandler
recoverToTarget
in class RecoverySourceHandler
protected int sendSnapshot(Translog.Snapshot snapshot)
RecoverySourceHandler
Operations are bulked into a single request depending on an operation count limit or size-in-bytes limit
sendSnapshot
in class RecoverySourceHandler
Copyright © 2009–2016. All rights reserved.