Resync replication action should be internal (#26345)

This commit renames the TransportResyncReplicationAction name to be an internal action as this is
not an action that should be invoked by a user, but is instead internal to the operation of the
system.
This commit is contained in:
Jay Modi 2017-08-24 11:04:30 -06:00 committed by GitHub
parent c8ca015c0b
commit 7fb716daab

View File

@ -48,7 +48,7 @@ import java.util.function.Supplier;
public class TransportResyncReplicationAction extends TransportWriteAction<ResyncReplicationRequest,
ResyncReplicationRequest, ResyncReplicationResponse> implements PrimaryReplicaSyncer.SyncAction {
public static String ACTION_NAME = "indices:admin/seq_no/resync";
private static String ACTION_NAME = "internal:index/seq_no/resync";
@Inject
public TransportResyncReplicationAction(Settings settings, TransportService transportService,