Skip to content

Missing error codes for restore errors #8716

@reevespaul

Description

@reevespaul

I came across this error today:

Image

This was with Fb 3.0.11.

Searching across the source for all supported branches failed to return neither 336330998 nor 336330999.

When I dug into messages2.sql I found this section:

('gbak_sysmemex', 'MISC_alloc_memory', 'misc.c', NULL, 12, 238, NULL, 'System memory exhausted', NULL, NULL);
<snipped>
(NULL, 'RESTORE_restore', 'restore.e', NULL, 12, 246, NULL, 'Database is not online due to failure to activate one or more indices.', NULL, NULL);
(NULL, 'RESTORE_restore', 'restore.e', NULL, 12, 247, NULL, 'Run gfix -online to bring database online without active indices.', NULL, NULL);

gbak_sysmemex matches error code 336330990 and counting through it is evident that the entry for 246 matches error code 336330998.

So, part of the problem was solved. But why are these codes missing?

B3_0_Release and v4.0-release are certainly affected. v5.0-release also appears to be affected but the code has been reworked. The relevant section in gbak.h is marked FB_IMPL_MSG_NO_SYMBOL

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions