Null pointer dereference in myrocks::Rdb_key_def::get_keyno()

Description

The attached MTR testcase crashes the server.

Current Git commit is 1fbba6a54a7170b8e464e3366bb6473aa4cbea59, branch 8.0.

Here is the backtrace:

 

Environment

None

Attachments

1

Smart Checklist

Activity

Show:

puneet.kaushik May 10, 2022 at 7:49 AM

MTR test case passed successfully for PS 8.0.28 !

 

 

Aaditya Dubey April 12, 2022 at 1:55 PM
Edited

Hi ,

Thank you for the report.
Able to reproduce the issue, please find my test case below:

To fix this issue, please use higher value for this variable rocksdb_merge_buf_size as a workaround, however server should handle it gracefully which is not happening in this case so sending the concern to engineering for further review and updates.  

Please go through the document for more details about rocksdb_merge_buf_size this variable https://www.percona.com/doc/percona-server/8.0/myrocks/variables.html#rocksdb_merge_buf_size

Rinat Ibragimov April 12, 2022 at 12:46 AM

Branch fb-mysql-8.0.23 of facebook/mysql-5.6 is affected too.

Done

Details

Assignee

Reporter

Priority

Smart Checklist

Created April 12, 2022 at 12:41 AM
Updated March 6, 2024 at 10:13 AM
Resolved June 21, 2022 at 2:10 PM