Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Corrupt, unstartable database after disk full #3988

Closed
monetdb-team opened this issue Nov 30, 2020 · 0 comments
Closed

Corrupt, unstartable database after disk full #3988

monetdb-team opened this issue Nov 30, 2020 · 0 comments
Labels
bug Something isn't working duplicate This issue or pull request already exists GDK Kernel normal

Comments

@monetdb-team
Copy link

Date: 2016-04-22 15:31:04 +0200
From: Richard Hughes <<richard.monetdb>>
To: GDK devs <>
Version: 11.19.11 (Oct2014-SP3)

Duplicates: #4050
Last updated: 2016-10-25 15:16:35 +0200

Comment 22080

Date: 2016-04-22 15:31:04 +0200
From: Richard Hughes <<richard.monetdb>>

Created attachment 394
merovingian.log

Build is Oct2014 35dd891a5d01 (2015-03-23).

I filled up the hard disk; lots of things started failing, as expected.

Upon freeing up some space, the database still refused to start: "!FATAL: Logger_new: inconsistent database, catalog does not exist"

I have attached:

  1. The contents of merovingian.log around the time of failure
  2. The contents of BBP.dir as it was when I got to it
  3. The output of ls -lR

By comparing (2) and (3) you can see that the sql_catalog_bid should be at 01/103.{head|tail}, but that those files do not exist. This is the immediate cause of the FATAL error above.

The SIGBUS which took down mserver5 for the first time is, I believe, fixed in more recent releases (I'm trying to get the machine upgraded, honest!).

If you believe that problems which may have caused irrecoverable corruption of this type have been fixed in more recent releases as well then feel free to close this bug with extreme prejudice. I filed this bug because I don't remember seeing any changes of this kind in release notes or checkin comments.

I don't have an core dumps for any of this stuff - they were trying to be written to the disk that was full.

Attached file: merovingian-diskfullcorruption.log (text/plain, 7129 bytes)
Description: merovingian.log

Comment 22081

Date: 2016-04-22 15:31:50 +0200
From: Richard Hughes <<richard.monetdb>>

Created attachment 395
BBP.dir

Attached file: BBP.dir (text/plain, 146146 bytes)
Description: BBP.dir

Comment 22082

Date: 2016-04-22 15:32:38 +0200
From: Richard Hughes <<richard.monetdb>>

Created attachment 396
directory listing of database

Attached file: ls-lR.gz (application/octet-stream, 390075 bytes)
Description: directory listing of database

Comment 24624

Date: 2016-10-25 15:16:35 +0200
From: Richard Hughes <<richard.monetdb>>

*** This bug has been marked as a duplicate of bug #4050 ***

@monetdb-team monetdb-team added bug Something isn't working duplicate This issue or pull request already exists GDK Kernel normal labels Nov 30, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working duplicate This issue or pull request already exists GDK Kernel normal
Projects
None yet
Development

No branches or pull requests

1 participant