Bug #13367 | InnoDB does not create doublewrite buffer in new installation: assertion failure | ||
---|---|---|---|
Submitted: | 21 Sep 2005 4:24 | Modified: | 6 Oct 2005 1:03 |
Reporter: | Yasufumi Kinoshita | Email Updates: | |
Status: | Closed | Impact on me: | |
Category: | MySQL Server: InnoDB storage engine | Severity: | S2 (Serious) |
Version: | 5.0.12-beta-standard | OS: | Linux (SuSE Linux 9.3) |
Assigned to: | Alexey Kopytov | CPU Architecture: | Any |
[21 Sep 2005 4:24]
Yasufumi Kinoshita
[21 Sep 2005 4:25]
Yasufumi Kinoshita
.err file
Attachment: mysql.err (application/octet-stream, text), 21.25 KiB.
[21 Sep 2005 4:26]
Yasufumi Kinoshita
/etc/my.cnf
Attachment: my.cnf (application/octet-stream, text), 20.45 KiB.
[21 Sep 2005 9:15]
Heikki Tuuri
Hi! This is really strange. When you create a new InnoDB installation, it should print: " InnoDB: Doublewrite buffer not found: creating new InnoDB: Doublewrite buffer created " Those lines are missing from your .err log! Could it be that another mysqld server was running at the same time, and it stamped the doublewrite buffer magic number to the page in the ibdata file? If you create a new InnoDB installation, does it then print that it is creating the doublewrite buffer? Regards, Heikki heikki@hundin:~/mysql-5.0/sql> ./mysqld InnoDB: The first specified data file /home/heikki/data/ibdata1 did not exist: InnoDB: a new database to be created! 050921 12:20:48 InnoDB: Setting file /home/heikki/data/ibdata1 size to 20 MB InnoDB: Database physically writes the file full: wait... 050921 12:20:50 InnoDB: Log file /home/heikki/data/ib_logfile0 did not exist: n ew to be created InnoDB: Setting log file /home/heikki/data/ib_logfile0 size to 128 MB InnoDB: Database physically writes the file full: wait... InnoDB: Progress in MB: 100 050921 12:21:11 InnoDB: Log file /home/heikki/data/ib_logfile1 did not exist: n ew to be created InnoDB: Setting log file /home/heikki/data/ib_logfile1 size to 128 MB InnoDB: Database physically writes the file full: wait... InnoDB: Progress in MB: 100 InnoDB: Doublewrite buffer not found: creating new InnoDB: Doublewrite buffer created InnoDB: Creating foreign key constraint system tables InnoDB: Foreign key constraint system tables created 050921 12:21:38 InnoDB: Started; log sequence number 0 0 050921 12:21:38 [Warning] mysql.user table is not updated to new password format ; Disabling new password usage until mysql_fix_privilege_tables is run 050921 12:21:38 [Note] ./mysqld: ready for connections. Version: '5.0.14-rc-debug-log' socket: '/home/heikki/bugsocket' port: 3307 So urce distribution
[21 Sep 2005 9:24]
Heikki Tuuri
Hi! Ok, I see. You have probably specified skip-innodb-doublewrite in your my.cnf. Normally, you should use the doublewrite buffer. That new option is currently mostly used in benchmarking. I am assigning Vadim to this. I think the doublewrite buffer SHOULD be created when a new InnoDB installation is created. The disable operation should just skip its use. Regards, Heikki
[21 Sep 2005 17:15]
Heikki Tuuri
Assigning Marko Mäkelä as the reviewer of Alexey's patch to the bug.
[26 Sep 2005 15:31]
Bugs System
A patch for this bug has been committed. After review, it may be pushed to the relevant source trees for release in the next version. You can access the patch from: http://lists.mysql.com/internals/30335
[27 Sep 2005 9:37]
Bugs System
A patch for this bug has been committed. After review, it may be pushed to the relevant source trees for release in the next version. You can access the patch from: http://lists.mysql.com/internals/30366
[27 Sep 2005 10:50]
Alexey Kopytov
Fixed in 5.0.14
[6 Oct 2005 1:03]
Paul DuBois
Noted in 5.0.14 changelog.
[16 Nov 2005 17:40]
Jim Ferris
Can someone get me a copy of this dbgen tool for tpch..i cant get it to compile from the website...--> jamesferris@hotmail.com thanks -Jim