Backup restore-status response missing startedAt/completedAt/size
Describe your feature request
GET /v1/backups/{backend}/{id}/restore (restore-status) returns a
BackupRestoreStatusResponse that's missing startedAt, completedAt, and size — fields the
sibling create-status response (BackupCreateStatusResponse, from
GET /v1/backups/{backend}/{id}) already exposes. Both are backed by the exact same
usecases/backup.Status struct (StartedAt, CompletedAt, Size fields all already populated
by the scheduler for both create and restore operations) — the restore-status handler just never
reads them into its response payload, and the response model/spec never defined them either.
A client polling restore progress currently can't tell how long a restore has been running or how large it is, even though that same information is already available (and already surfaced) for the equivalent create-status call, and the underlying data already exists in memory at the point the response is built.
Server Version: main branch, post-v1.39.3 (commit 5a39c0cfc1)
Code of Conduct
- I have read and agree to the Weaviate's Contributor Guide and Code of Conduct
Source: weaviate/weaviate