When a snapshot is made with include_global_state, the _status endpoint should indicate if state data is present, maybe with some info about what it has.
Could you give some more information on this? I'm a new contributor.
A snapshot usually contains a backup of some indices, but when you take the snapshot with the include_global_state parameter, then other non-index data is included in the backup, such as templates, persistent settings, and other global state. Then when you go to restore the backup, you can specify include_global_state again in the API call, and that state will be restored along with the indices. It would just simply be useful to be able to see a yes/no flag in the _status endpoint indicating the snapshot includes global state.
Hi @PhaedrusTheGreek, do you know any detailed docs about the global_state data and how it can be useful?
I sent a PR for this issue. @PhaedrusTheGreek May I ask you to take a review. Thanks in advance. 馃槃
Most helpful comment
A snapshot usually contains a backup of some indices, but when you take the snapshot with the
include_global_stateparameter, then other non-index data is included in the backup, such as templates, persistent settings, and other global state. Then when you go to restore the backup, you can specifyinclude_global_stateagain in the API call, and that state will be restored along with the indices. It would just simply be useful to be able to see a yes/no flag in the _status endpoint indicating the snapshot includes global state.