root file name not listed for shadow
------------------------------------

                 Key: CORE-4930
                 URL: http://tracker.firebirdsql.org/browse/CORE-4930
             Project: Firebird Core
          Issue Type: Bug
          Components: Engine
    Affects Versions: 2.5.3 Update 1
         Environment: Windows 7 professional SP1 (32bit)
Firebird 2.5.3.26778
Default character set = SJIS_0208
gstat information (with -h option)
  Database header page information:
        Flags                   0
        Checksum                12345
        Generation              581746
        Page size               4096
        ODS version             11.0
        Oldest transaction      568949
        Oldest active           580669
        Oldest snapshot         580669
        Next transaction        580672
        Bumped transaction      1
        Sequence number         0
        Next attachment ID      563377
        Implementation ID       16
        Shadow count            836
        Page buffers            0
        Next header page        0
        Database dialect        3
        Creation date           May 14, 2015 9:09:14
        Attributes              force write

    Variable header data:
        Sweep interval:         20000
        *END*

            Reporter: Koichi Takeuchi


Shadow file corruption occurs occasionally.
Once this incident occures, I can't access my database;
So, I open a corrupted shadow file by binary editor.
In correct shadow file, I think HDR_root_file_name is stored at hdr_data area.
But in my currupted shadow file, only HDR_sweep_interval is defined in hdr_data 
area, 
HDR_root_file_name is not defined.(disappeared)
Therefore, BUGCHECK(163) will happen, and connection is end.
This incident is a bug or known issue?

Furthermore, firebird.log is below.(selectively)
--------------------------------------------------------
localhost (Server)      Thu Sep 9 15:38:08 2015
        Database: {my root database file path}
        internal Firebird consistency check (root file name not listed for 
shadow (163), file: sdw.cpp line: 1018)


localhost (Server)      Thu Sep 9 15:38:08 2015
        shadow {my shadow file path} deleted from database {my root database 
file path} due to unavailability on attach
--------------------------------------------------------

I create shadow file with no options, like below.
  create shadow 1 '{my shadow file path}';

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://tracker.firebirdsql.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

------------------------------------------------------------------------------
Firebird-Devel mailing list, web interface at 
https://lists.sourceforge.net/lists/listinfo/firebird-devel

Reply via email to