enonic / cli-enonic

GNU General Public License v3.0
41 stars 1 forks source link

Snapshot restore completion reported too early or never #553

Closed rymsha closed 3 months ago

rymsha commented 3 months ago

Users clam that cli may report snapshot restore being completed almost immediately, when in fact restore takes ~25 minutes. Another attempt took 6 minutes and completion was not reported - cli timed out.

maybe we should reconsider how the check is done.

2024-05-30T17:07:35,761 INFO  c.e.x.r.i.e.s.SnapshotServiceImpl - Restoring all repositories from snapshot
2024-05-30T17:07:35,787 INFO  c.e.x.l.i.framework.FrameworkService - Resetting server...
2024-05-30T17:07:35,788 INFO  c.e.x.l.i.framework.FrameworkService - Server has been reset...
2024-05-30T17:07:36,225 INFO  c.e.x.r.i.e.IndexServiceInternalImpl - Closed index search-system.auditlog
...
2024-05-30T17:07:55,831 INFO  c.e.x.r.i.e.IndexServiceInternalImpl - Opened index search-system.auditlog
...
2024-05-30T17:07:55,848 INFO  c.e.x.r.i.e.s.SnapshotServiceImpl - Snapshot Restore completed
2024-05-30T17:07:55,852 INFO  c.e.x.l.i.framework.FrameworkService - Restarting server...
rymsha commented 3 months ago

it is 20 seconds. not 20 minutes.