forked from cockroachdb/cockroach
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
colexecjoin: fix the merge joiner in some cases
Previously, we were incorrectly updating the internal state of `circularGroupsBuffer` when we needed to expand the buffer size. The bug was introduced several months ago (during 21.1 cycle) when we made the buffer grow dynamically. As it turns out, the bug is easily caught by our unit tests if we randomize the initial buffer size. Release note (bug fix): CockroachDB could previously return incorrect results in some cases when executing the merge join operation via the vectorized engine. The bug is only present in 21.1 test releases.
- Loading branch information
1 parent
34904ed
commit 9f6fce0
Showing
2 changed files
with
41 additions
and
18 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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