Issue Details (XML | Word | Printable)

Key: CORE-5201
Type: Improvement Improvement
Status: Closed Closed
Resolution: Fixed
Priority: Major Major
Assignee: Alexander Peshkov
Reporter: Pavel Cisar
Votes: 1
Watchers: 3
Operations

If you were logged in you would be able to see more operations.
Firebird Core

Return nonzero result code when restore fails on activating and creating deferred user index

Created: 20/Apr/16 09:10 AM   Updated: 17/May/16 05:25 PM
Component/s: GBAK
Affects Version/s: None
Fix Version/s: 2.5.6, 3.0.1, 4.0 Alpha 1

QA Status: Done successfully


 Description  « Hide
When restore fails to activate (and recreate) deferred index (typically due to insufficient temporary disk space), gbak returns FAIL result code (1) only when failed index is related to referential constraint. Failed user index is reported only to stderr (log if captured) but gbak returns result code 0. When restore is managed by script(s), it's not possible to easily detect this situation, and it's possible that database could be used with inactive index in production.

 All   Comments   Change History   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
There are no comments yet on this issue.