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

mvcc/backend: check for nil boltOpenOptions #11630

Merged

Conversation

jingyih
Copy link
Contributor

@jingyih jingyih commented Feb 15, 2020

Check if boltOpenOptions is nil before use it. I believe currently defrag will panic on platforms other than linux.

cc @jpbetz @gyuho @wenjiaswe

Check if boltOpenOptions is nil before use it.
@jpbetz
Copy link
Contributor

jpbetz commented Feb 15, 2020

Good catch. This needs back port too

@jpbetz
Copy link
Contributor

jpbetz commented Feb 15, 2020

LGTM

@jingyih
Copy link
Contributor Author

jingyih commented Feb 15, 2020

Good catch. This needs back port too

I opened PRs to back port this to release-3.4 and release-3.3. Release-3.2 does not need this.

jingyih added a commit that referenced this pull request Feb 16, 2020
…0-upstream-release-3.4

Automated cherry pick of #11630 to release-3.4
jingyih added a commit that referenced this pull request Feb 16, 2020
…0-upstream-release-3.3

Automated cherry pick of #11630 to release-3.3
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants