Skip to content

kvcoord: don't disable the merge queue needlessly in test#46383

Merged
craig[bot] merged 1 commit intocockroachdb:masterfrom
andreimatei:small.test-merge-queue
Mar 23, 2020
Merged

kvcoord: don't disable the merge queue needlessly in test#46383
craig[bot] merged 1 commit intocockroachdb:masterfrom
andreimatei:small.test-merge-queue

Conversation

@andreimatei
Copy link
Copy Markdown
Contributor

A test was disabling the queue to not interfere with its AdminSplit, but
since the test was written, the AdminSplit got a TTL.

Release note: None
Release justification: test only

A test was disabling the queue to not interfere with its AdminSplit, but
since the test was written, the AdminSplit got a TTL.

Release note: None
Release justification: test only
@andreimatei andreimatei requested a review from ajwerner March 20, 2020 20:18
@cockroach-teamcity
Copy link
Copy Markdown
Member

This change is Reviewable

Copy link
Copy Markdown
Contributor

@ajwerner ajwerner left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

:lgtm:

Reviewed 1 of 1 files at r1.
Reviewable status: :shipit: complete! 1 of 0 LGTMs obtained

Copy link
Copy Markdown
Contributor Author

@andreimatei andreimatei left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

bors r+

Reviewable status: :shipit: complete! 1 of 0 LGTMs obtained

@craig
Copy link
Copy Markdown
Contributor

craig bot commented Mar 23, 2020

Build succeeded

@craig craig bot merged commit 00605e5 into cockroachdb:master Mar 23, 2020
nvb added a commit to nvb/cockroach that referenced this pull request Mar 23, 2020
Follow up to cockroachdb#46383.

These tests were disabling the queue to not interfere with its
AdminSplits, but since the tests were written, AdminSplit got
a TTL.

Release note: None
Release justification: test only
craig bot pushed a commit that referenced this pull request Mar 23, 2020
46408: opt: fix buggy EliminateUpsertDistinctOnNoColumns rule r=andy-kimball a=andy-kimball

The fix for #37880 added a new ErrorOnDup field to the UpsertDistinctOn
operator. However, the EliminateErrorDistinctNoColumns rule wasn't changed
to respect this flag, and so there's still a case where ON CONFLICT DO
NOTHING returns an error.

This commit eliminates the error by separating out the ErrorOnDup=True case
from the EliminateErrorDistinctNoColumns rule (which raises an error) and
adding it instead to the EliminateDistinctNoColumns rule (which does not
raise an error).

Fixes #46395

Release justification: Bug fixes and low-risk updates to new functionality.
This was always an error, so it's low-risk to make it a non-error.

Release note: None

46431: kv: don't disable the merge queue needlessly in more tests r=nvanbenschoten a=nvanbenschoten

Follow up to #46383.

These tests were disabling the queue to not interfere with its
AdminSplits, but since the tests were written, AdminSplit got
a TTL.

Release note: None
Release justification: test only

46433: kv: re-enable merge queue in TestSplitTriggerRaftSnapshotRace r=nvanbenschoten a=nvanbenschoten

The merge queue was disabled in this test by df26cf6 due to the bug
found in #32784. That bug was fixed by #33312, so we can address the
TODO and re-enable merges in the test.

Release note: None
Release justification: test only

46444: kv: deflake TestRangeInfo by using a manual clock r=nvanbenschoten a=nvanbenschoten

Fixes #46215.

Fallout from #45984.

Release justification: testing only
Release note: None.

Co-authored-by: Andrew Kimball <andyk@cockroachlabs.com>
Co-authored-by: Nathan VanBenschoten <nvanbenschoten@gmail.com>
@andreimatei andreimatei deleted the small.test-merge-queue branch March 31, 2020 19:43
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

Successfully merging this pull request may close these issues.

4 participants