Percona-Server-rocksdb failed start

254 views
Skip to first unread message

linuxg...@gmail.com

unread,
Nov 14, 2017, 7:23:20 AM11/14/17
to Percona Discussion
1. install percona server rocksdb 
Percona-Server-client-57-5.7.19-17.1.el7.x86_64
Percona-Server-shared-57-5.7.19-17.1.el7.x86_64
percona-toolkit-3.0.3-1.el7.x86_64
Percona-Server-shared-compat-57-5.7.19-17.1.el7.x86_64
Percona-Server-rocksdb-57-5.7.19-17.1.el7.x86_64
Percona-Server-server-57-5.7.19-17.1.el7.x86_64

2. failed to start 
 ps-admin --enable-rocksdb -u root  -S /var/lib/mysql/mysql.sock   
Checking if RocksDB plugin is available for installation ...
INFO: ha_rocksdb.so library for RocksDB found at /usr/lib64/mysql/plugin/ha_rocksdb.so.

Checking RocksDB engine plugin status...
INFO: RocksDB engine plugin is not installed.

Installing RocksDB engine...
ERROR: Failed to install RocksDB engine plugin. Please check error log.

3. mysql Error log
2017-11-12T14:11:30.023883+08:00 179 [Note] RocksDB: 2 column families found
2017-11-12T14:11:30.023963+08:00 179 [Note] RocksDB: Column Families at start:
2017-11-12T14:11:30.023979+08:00 179 [Note]   cf=default
2017-11-12T14:11:30.023984+08:00 179 [Note]     write_buffer_size=67108864
2017-11-12T14:11:30.023988+08:00 179 [Note]     target_file_size_base=67108864
2017-11-12T14:11:30.023997+08:00 179 [Note]   cf=__system__
2017-11-12T14:11:30.024002+08:00 179 [Note]     write_buffer_size=67108864
2017-11-12T14:11:30.024015+08:00 179 [Note]     target_file_size_base=67108864
2017-11-12T14:11:30.024336+08:00 179 [ERROR] RocksDB: Compatibility check against existing database options failed, Status Code: 4, Status: Invalid argument: Unrecognized option DBOptions:: concurrent_prepare
2017-11-12T14:11:30.024355+08:00 179 [ERROR] Plugin 'ROCKSDB' init function returned error.
2017-11-12T14:11:30.024360+08:00 179 [ERROR] Plugin 'ROCKSDB' registration as a STORAGE ENGINE failed.


There is no rocksdb version. I search goolge, concurrent_prepare rename to two_write_queues ?







George O. Lorch III

unread,
Nov 14, 2017, 7:48:44 AM11/14/17
to percona-d...@googlegroups.com

Was this some kind of upgrade or re-install over some earlier install of any variant (Percona Server, MariaDB, FB-MySQL)? If so, you must completely remove the /var/lib/mysql before you install the server packages. MyRocks is not compatible across variants. until it reaches GA within Percona Server, in-place upgrades are also not supported.

--
You received this message because you are subscribed to the Google Groups "Percona Discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email to percona-discuss...@googlegroups.com.
To post to this group, send email to percona-d...@googlegroups.com.
Visit this group at https://groups.google.com/group/percona-discussion.
To view this discussion on the web visit https://groups.google.com/d/msgid/percona-discussion/bebcf97e-76b7-4df2-92ae-9f8ca8812b06%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

-- 
George O. Lorch III
Senior Software Engineer, Percona
US/Arizona (GMT -7)
skype: george.ormond.lorch.iii

George O. Lorch III

unread,
Nov 14, 2017, 8:10:28 AM11/14/17
to percona-d...@googlegroups.com

I wonder also how this is even possible, two_write_queues was only added to rocksdb 4 days ago (https://github.com/facebook/rocksdb/commit/857adf388fd1de81b8749bf1e5fe20edf6f8a8c8) and to my knowledge, none of the variants have advanced their rocksdb versions through this change yet.


On 11/14/2017 05:23 AM, linuxg...@gmail.com wrote:
--
You received this message because you are subscribed to the Google Groups "Percona Discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email to percona-discuss...@googlegroups.com.
To post to this group, send email to percona-d...@googlegroups.com.
Visit this group at https://groups.google.com/group/percona-discussion.
To view this discussion on the web visit https://groups.google.com/d/msgid/percona-discussion/bebcf97e-76b7-4df2-92ae-9f8ca8812b06%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

R-DBA R

unread,
Nov 14, 2017, 9:23:32 PM11/14/17
to percona-d...@googlegroups.com
I use yum installed.  clean mysql install, no other version exist files

To unsubscribe from this group and stop receiving emails from it, send an email to percona-discussion+unsub...@googlegroups.com.
To post to this group, send email to percona-discussion@googlegroups.com.

-- 
George O. Lorch III
Senior Software Engineer, Percona
US/Arizona (GMT -7)
skype: george.ormond.lorch.iii

--
You received this message because you are subscribed to a topic in the Google Groups "Percona Discussion" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/percona-discussion/JEF4njF1094/unsubscribe.
To unsubscribe from this group and all its topics, send an email to percona-discussion+unsub...@googlegroups.com.
To post to this group, send email to percona-discussion@googlegroups.com.

linuxg...@gmail.com

unread,
Nov 17, 2017, 3:50:57 AM11/17/17
to Percona Discussion
my problem

I have compile facebook/mysql-5.6 before install percona



在 2017年11月14日星期二 UTC+8下午8:48:44,George Lorch写道:
To unsubscribe from this group and stop receiving emails from it, send an email to percona-discussion+unsub...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages