Merged
Conversation
Explain the surprising fact that we're telling then inflight-writes btree to not reuse its nodes. Release note: None
Contributor
Author
|
Right? |
Member
nvb
approved these changes
Mar 1, 2020
Contributor
nvb
left a comment
There was a problem hiding this comment.
I wouldn't have expected this to be surprising given that it's on the txn COMMITTED path, but I'm happy to have it be more explicit.
Reviewable status:
complete! 1 of 0 LGTMs obtained (waiting on @nvanbenschoten)
andreimatei
commented
Mar 2, 2020
Contributor
Author
andreimatei
left a comment
There was a problem hiding this comment.
TFTR
well, everything about that reuse param is unclear because it's ambiguous whether it's the caller that's free to reuse something, or the callee. Once you figure out that it's the callee, you (I) would expect that when the caller is categorically done with the btree, it'd give the callee the freedom to do whatever it wants. Except here (surprisingly) the freedom comes at a price.
bors r+
Reviewable status:
complete! 1 of 0 LGTMs obtained
Contributor
Build failed |
Contributor
Author
|
roachtest infra flake
bors r+
…On Mon, Mar 2, 2020 at 11:51 AM craig[bot] ***@***.***> wrote:
Build failed
- GitHub CI (Cockroach)
<https://teamcity.cockroachdb.com/viewLog.html?buildId=1778799&buildTypeId=Cockroach_UnitTests>
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#45554?email_source=notifications&email_token=AAC4C4NALHFBATYEDLO6VT3RFPPZTA5CNFSM4K67GRUKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOENQBZEA#issuecomment-593501328>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAC4C4IA6Y66DTANVUPW6HDRFPPZTANCNFSM4K67GRUA>
.
|
Contributor
Build succeeded |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Explain the surprising fact that we're telling then inflight-writes
btree to not reuse its nodes.
Release note: None