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

roachtest: update hibernate blacklist after new syntax support #41130

Merged

Conversation

rafiss
Copy link
Collaborator

@rafiss rafiss commented Sep 26, 2019

Some tests that used to fail pass now since we support SELECT FOR UPDATE
syntax.

relates to #40538

Release justification: test only change

Release note: None

Some tests that used to fail pass now since we support SELECT FOR UPDATE
syntax.

Release justification: test only change

Release note: None
@rafiss rafiss requested review from jordanlewis and a team September 26, 2019 17:34
@cockroach-teamcity
Copy link
Member

This change is Reviewable

@jordanlewis
Copy link
Member

What did we miss from the PR last night that also tried to do this? Triaging this stuff is frustrating.

Copy link
Member

@jordanlewis jordanlewis left a comment

Choose a reason for hiding this comment

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

LGTM

Release justification: testing only change

Release note: None
@rafiss
Copy link
Collaborator Author

rafiss commented Sep 26, 2019

bors r=jordanlewis

craig bot pushed a commit that referenced this pull request Sep 26, 2019
41089: zone: Fix zone configuration application bug r=andreimatei a=rohany

There was a bug that allowed zone configuration application on indexes
to leak into the zone configurations for partitions, due to a subtlety in
ZoneConfig.GetSubzone. This PR fixes the bug with zone configuration
application and adds a test.

This PR is necessary for #40493 to land.

An example of this is as follows:

```
CREATE TABLE infect (x INT PRIMARY KEY);
ALTER TABLE infect PARTITION BY LIST (x) ( PARTITION p1 VALUES IN (1));
ALTER INDEX infect@primary CONFIGURE ZONE USING num_replicas=5;
ALTER PARTITION p1 OF TABLE infect CONFIGURE ZONE USING
constraints='[+dc=dc1]';
```
Before, the zone configuration for p1 would *also have* num_replicas=5
set, which should not be the case. This PR ensures that the zone
configuration for p1 only has constraints set.

Release Justification: Important bug fix.

Release note (bug fix): Fixing bug where zone configuration application
on indexes could leak into configurations on partitions.

41130: roachtest: update hibernate blacklist after new syntax support r=jordanlewis a=rafiss

Some tests that used to fail pass now since we support SELECT FOR UPDATE
syntax.

relates to #40538 

Release justification: test only change

Release note: None

Co-authored-by: Rohan Yadav <rohany@cockroachlabs.com>
Co-authored-by: Rafi Shamim <rafi@cockroachlabs.com>
@craig
Copy link
Contributor

craig bot commented Sep 26, 2019

Build succeeded

@craig craig bot merged commit 084919a into cockroachdb:master Sep 26, 2019
@rafiss rafiss deleted the roachtest-hibernate-select-for-update-fix branch September 27, 2019 19:19
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.

3 participants