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
Alexander Peshkov made changes - 20/Apr/16 09:44 AM
Field Original Value New Value
Assignee Alexander Peshkov [ alexpeshkoff ]
Alexander Peshkov made changes - 25/Apr/16 02:18 PM
Summary Return result code 1 when restore fails on activating and creating deferred user index Return nonzero result code when restore fails on activating and creating deferred user index
Alexander Peshkov made changes - 25/Apr/16 02:20 PM
Status Open [ 1 ] Resolved [ 5 ]
Fix Version/s 3.0.1 [ 10730 ]
Fix Version/s 4.0 Alpha 1 [ 10731 ]
Resolution Fixed [ 1 ]
Alexander Peshkov made changes - 25/Apr/16 03:08 PM
Fix Version/s 2.5.6 [ 10721 ]
Pavel Zotov made changes - 25/Apr/16 06:22 PM
Status Resolved [ 5 ] Resolved [ 5 ]
QA Status No test Done successfully
Pavel Zotov made changes - 25/Apr/16 06:22 PM
Status Resolved [ 5 ] Closed [ 6 ]
Dmitry Yemanov made changes - 17/May/16 05:25 PM
Issue Type New Feature [ 2 ] Improvement [ 4 ]