Class ReadOnlyStep


public class ReadOnlyStep extends AsyncActionStep
Marks an index as read-only, by setting a IndexMetadata.APIBlock.WRITE block on the index.
  • Field Details

  • Constructor Details

    • ReadOnlyStep

      public ReadOnlyStep(Step.StepKey key, Step.StepKey nextStepKey, Client client, boolean markVerified)
      Parameters:
      markVerified - whether the index should be marked verified after becoming read-only, ensuring that N-2 is supported without manual intervention. Should be set to true when the read-only block is not temporary.
  • Method Details