Resync replication action should be internal
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.
@@ -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,
