mirror of https://github.com/OpenIdentityPlatform/OpenDJ.git

jvergara
21.29.2008 4821dd205c7e9a559ec196fc0447075a0df612da
refs
author jvergara <jvergara@localhost>
Monday, January 21, 2008 19:29 +0100
committer jvergara <jvergara@localhost>
Monday, January 21, 2008 19:29 +0100
commit4821dd205c7e9a559ec196fc0447075a0df612da
tree 82cea8c27eb647e741d45d936f38237a69150db3 tree | zip | gz
parent 1e78859f4b0a4c8982451aa02002705b2c94ed60 view | diff
Fix for issue 2862 (Online backup command exit status 0 while backup is failed).

The code used to consider the errors during backup as warnings. In general the errors during the backupmean that at least one backend could not be backed up, the modifications simply update the code to return TaskState.STOPPED_BY_ERROR instead of TaskState.COMPLETED_WITH_ERRORS. This is more accurate because if one of the backends is not backed up we should return an error code and because every error detected in the backup code stops the backup processing of a particular backend.
1 files modified
7 ■■■■■ changed files
opends/src/server/org/opends/server/tasks/BackupTask.java 7 ●●●●● diff | view | raw | blame | history