-
Notifications
You must be signed in to change notification settings - Fork 25.8k
snapshot should work when cluster is in read_only mode. #8102
Copy link
Copy link
Closed
Labels
:Distributed/Snapshot/RestoreAnything directly related to the `_snapshot/*` APIsAnything directly related to the `_snapshot/*` APIs>bugv2.0.0-beta1
Description
I was trying to make a full, consistent backup before an upgrade. Snapshots are at a moment of time, which doesn't work if clients are still updating your indexes.
I tried putting the cluster into read_only mode by setting cluster.blocks.read_only: true, but running a snapshot returned this error:
{"error":"ClusterBlockException[blocked by: [FORBIDDEN/6/cluster read-only (api)];]","status":403}
Please consider allowing snapshots to provide a consistent backup by running when in read-only mode.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
:Distributed/Snapshot/RestoreAnything directly related to the `_snapshot/*` APIsAnything directly related to the `_snapshot/*` APIs>bugv2.0.0-beta1
Type
Fields
Give feedbackNo fields configured for issues without a type.