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

Segfault/Assertion error in DBImplReadOnly::GetImpl when calling GetMergeOperands #13243

Open
chengji77 opened this issue Dec 22, 2024 · 0 comments

Comments

@chengji77
Copy link

Expected behavior

GetMergeOperands should work when DB is opened in read only mode.

Actual behavior

Segfault in DBImplReadOnly::GetImpl when build in release mode.

When compiled using debug mode, this assert failed:

assert(get_impl_options.value != nullptr ||

Steps to reproduce the behavior

RocksDB v9.7.4
Open a db in read only mode and call db->GetMergeOperands

It might be a regression when adding wide column support. We had an older build using v8.6.7 and there was no crash.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant