-
Notifications
You must be signed in to change notification settings - Fork 718
Description
With a newly made project, I started mysqld with rocksdb as the default engine, then ran a quick Random Query Generator test. I then check the checksum on one of the tables few times, the first return value is different from the rest.
- Random Query Generator test command
perl gentest.pl --dsn=dbi:mysql:host=localhost:port=3306:user=root:database=test:mysql_socket=/tmp/mysql.sock --gendata=conf/examples/example.zz --grammar=conf/examples/example.yy --threads=2
- mysql.cnf file
[mysqld]
datadir=/home/myrocks/builds/mytest/install.db
socket=/tmp/mysql.sock
gdb
language=./share/english
default-storage-engine=rocksdb
skip-innodb
default-storage-engine=innodb
default-tmp-storage-engine=MyISAM
rocksdb
- MySQL client output
mysql> checksum table table0_int_autoinc;
+-------------------------+------------+
| Table | Checksum |
+-------------------------+------------+
| test.table0_int_autoinc | 1585077795 |
+-------------------------+------------+
1 row in set (0.00 sec)
mysql> checksum table table0_int_autoinc;
+-------------------------+-----------+
| Table | Checksum |
+-------------------------+-----------+
| test.table0_int_autoinc | 265692401 |
+-------------------------+-----------+
1 row in set (0.00 sec)
mysql> checksum table table0_int_autoinc;
+-------------------------+-----------+
| Table | Checksum |
+-------------------------+-----------+
| test.table0_int_autoinc | 265692401 |
+-------------------------+-----------+
1 row in set (0.00 sec)
mysql> checksum table table0_int_autoinc;
+-------------------------+-----------+
| Table | Checksum |
+-------------------------+-----------+
| test.table0_int_autoinc | 265692401 |
+-------------------------+-----------+