[Geoserver-devel] [JIRA] (GEOS-8587) Backup/restore reports completion too soon

Devon Tucker created an issue

GeoServer / BugGEOS-8587

Backup/restore reports completion too soon

Issue Type:

BugBug

Assignee:

Unassigned

Components:

Backup and Restore

Created:

14/Feb/18 11:40 PM

Priority:

HighHigh

Reporter:

Devon Tucker

Backup and Restore reports the backup is Completed before the backup file itself is actually finalized. This makes it hard to script backups, since you need to wait an indefinite amount of time for the backup to actually be finalized.

The issue appears to be that the very final step – copying the backup zip file to its final location – occurs in a Spring Batch afterJob call, after the job itself is marked as COMPLETED (see BackupJobExecutionListener.afterJob). If possible it would be nice if the backup wasn’t marked as complete until this step has finished.

Add Comment

Add Comment

Get Jira notifications on your phone! Download the Jira Cloud app for Android or iOS


This message was sent by Atlassian Jira (v1001.0.0-SNAPSHOT#100079-sha1:a6b0ac3)

Atlassian logo