API/CLI/UI handle to trigger full refresh (logical mode)
For logical mode, implement API handle and corresponding CLI command and UI button, to allow DLE admin to trigger full refresh when needed.
Currently, users need to either restart DLE (if refresh on startup time is enabled, which is default) or play games with refresh.timetable
, which is inconvenient.
Additional questions:
- With this feature implemented, we probably should startup refresh disabled by default (disabling
skipStartRefresh
in the default configs) - Related issue #368 – the new handle might have option(s), such as "force full refresh even if non-protected clones exist", etc.
- Should we support it for physical too? (erasing existing PGDATA and running retrieval again, as defined in config, e.g.
pg_basebackup
orwal-g backup-fetch
).
Edited by Nikolay Samokhvalov