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: multitenant-upgrade failed #95648

Closed
cockroach-teamcity opened this issue Jan 21, 2023 · 13 comments · Fixed by #95904
Closed

roachtest: multitenant-upgrade failed #95648

cockroach-teamcity opened this issue Jan 21, 2023 · 13 comments · Fixed by #95904
Assignees
Labels
branch-master Failures and bugs on the master branch. C-test-failure Broken test (automatically or manually discovered). O-roachtest O-robot Originated from a bot. release-blocker Indicates a release-blocker. Use with branch-release-2x.x label to denote which branch is blocked. T-multitenant Issues owned by the multi-tenant virtual team
Milestone

Comments

@cockroach-teamcity
Copy link
Member

cockroach-teamcity commented Jan 21, 2023

roachtest.multitenant-upgrade failed with artifacts on master @ 2861a4ee05fac1cc13f87bf00f368a65ea8700dc:

test artifacts and logs in: /artifacts/multitenant-upgrade/run_1
(assertions.go:264).Fail: 
	Error Trace:	/go/src/github.com/cockroachdb/cockroach/multitenant_upgrade.go:331
	            				/go/src/github.com/cockroachdb/cockroach/multitenant_upgrade.go:168
	            				/go/src/github.com/cockroachdb/cockroach/multitenant_upgrade.go:41
	            				/go/src/github.com/cockroachdb/cockroach/test_runner.go:943
	            				/go/src/github.com/cockroachdb/cockroach/asm_amd64.s:1594
	Error:      	Not equal: 
	            	expected: [][]string{[]string{"22.2"}}
	            	actual  : [][]string{[]string{"1000022.2"}}
	            	
	            	Diff:
	            	--- Expected
	            	+++ Actual
	            	@@ -2,3 +2,3 @@
	            	  ([]string) (len=1) {
	            	-  (string) (len=4) "22.2"
	            	+  (string) (len=9) "1000022.2"
	            	  }
	Test:       	multitenant-upgrade
(require.go:165).Equal: FailNow called
(cluster.go:1937).Run: cluster.RunE: context canceled
(cluster.go:1937).Run: cluster.RunE: context canceled
(cluster.go:1937).Run: cluster.RunE: context canceled

Parameters: ROACHTEST_cloud=gce , ROACHTEST_cpu=4 , ROACHTEST_encrypted=false , ROACHTEST_fs=ext4 , ROACHTEST_localSSD=true , ROACHTEST_ssd=0

Help

See: roachtest README

See: How To Investigate (internal)

/cc @cockroachdb/multi-tenant

This test on roachdash | Improve this report!

Jira issue: CRDB-23651

Epic CRDB-27931

@cockroach-teamcity cockroach-teamcity added branch-master Failures and bugs on the master branch. C-test-failure Broken test (automatically or manually discovered). O-roachtest O-robot Originated from a bot. release-blocker Indicates a release-blocker. Use with branch-release-2x.x label to denote which branch is blocked. T-multitenant Issues owned by the multi-tenant virtual team labels Jan 21, 2023
@cockroach-teamcity cockroach-teamcity added this to the 23.1 milestone Jan 21, 2023
@cockroach-teamcity
Copy link
Member Author

roachtest.multitenant-upgrade failed with artifacts on master @ b21379bb56dd206e6f63cc7d07ca72e85db7a4c4:

test artifacts and logs in: /artifacts/multitenant-upgrade/run_1
(assertions.go:264).Fail: 
	Error Trace:	/go/src/github.com/cockroachdb/cockroach/multitenant_upgrade.go:331
	            				/go/src/github.com/cockroachdb/cockroach/multitenant_upgrade.go:168
	            				/go/src/github.com/cockroachdb/cockroach/multitenant_upgrade.go:41
	            				/go/src/github.com/cockroachdb/cockroach/test_runner.go:943
	            				/go/src/github.com/cockroachdb/cockroach/asm_amd64.s:1594
	Error:      	Not equal: 
	            	expected: [][]string{[]string{"22.2"}}
	            	actual  : [][]string{[]string{"1000022.2"}}
	            	
	            	Diff:
	            	--- Expected
	            	+++ Actual
	            	@@ -2,3 +2,3 @@
	            	  ([]string) (len=1) {
	            	-  (string) (len=4) "22.2"
	            	+  (string) (len=9) "1000022.2"
	            	  }
	Test:       	multitenant-upgrade
(require.go:165).Equal: FailNow called
(cluster.go:1937).Run: cluster.RunE: context canceled
(cluster.go:1937).Run: cluster.RunE: context canceled
(cluster.go:1937).Run: cluster.RunE: context canceled

Parameters: ROACHTEST_cloud=gce , ROACHTEST_cpu=4 , ROACHTEST_encrypted=false , ROACHTEST_fs=ext4 , ROACHTEST_localSSD=true , ROACHTEST_ssd=0

Help

See: roachtest README

See: How To Investigate (internal)

This test on roachdash | Improve this report!

@healthy-pod
Copy link
Contributor

@renatolabs this failure seems related to #92431, any thoughts?

@cockroach-teamcity
Copy link
Member Author

roachtest.multitenant-upgrade failed with artifacts on master @ b21379bb56dd206e6f63cc7d07ca72e85db7a4c4:

test artifacts and logs in: /artifacts/multitenant-upgrade/run_1
(assertions.go:264).Fail: 
	Error Trace:	/go/src/github.com/cockroachdb/cockroach/multitenant_upgrade.go:331
	            				/go/src/github.com/cockroachdb/cockroach/multitenant_upgrade.go:168
	            				/go/src/github.com/cockroachdb/cockroach/multitenant_upgrade.go:41
	            				/go/src/github.com/cockroachdb/cockroach/test_runner.go:943
	            				/go/src/github.com/cockroachdb/cockroach/asm_amd64.s:1594
	Error:      	Not equal: 
	            	expected: [][]string{[]string{"22.2"}}
	            	actual  : [][]string{[]string{"1000022.2"}}
	            	
	            	Diff:
	            	--- Expected
	            	+++ Actual
	            	@@ -2,3 +2,3 @@
	            	  ([]string) (len=1) {
	            	-  (string) (len=4) "22.2"
	            	+  (string) (len=9) "1000022.2"
	            	  }
	Test:       	multitenant-upgrade
(require.go:165).Equal: FailNow called
(cluster.go:1937).Run: cluster.RunE: context canceled
(cluster.go:1937).Run: cluster.RunE: context canceled
(cluster.go:1937).Run: cluster.RunE: context canceled

Parameters: ROACHTEST_cloud=gce , ROACHTEST_cpu=4 , ROACHTEST_encrypted=false , ROACHTEST_fs=ext4 , ROACHTEST_localSSD=true , ROACHTEST_ssd=0

Help

See: roachtest README

See: How To Investigate (internal)

This test on roachdash | Improve this report!

@renatolabs
Copy link
Contributor

@healthy-pod I don't think that PR is related; seems like this started failing after #94774 got merged (cc @postamar)

@cockroach-teamcity
Copy link
Member Author

roachtest.multitenant-upgrade failed with artifacts on master @ dc974cd698364a4db5acb630162dd8b1856cfad6:

test artifacts and logs in: /artifacts/multitenant-upgrade/run_1
(assertions.go:264).Fail: 
	Error Trace:	/go/src/github.com/cockroachdb/cockroach/multitenant_upgrade.go:331
	            				/go/src/github.com/cockroachdb/cockroach/multitenant_upgrade.go:168
	            				/go/src/github.com/cockroachdb/cockroach/multitenant_upgrade.go:41
	            				/go/src/github.com/cockroachdb/cockroach/test_runner.go:943
	            				/go/src/github.com/cockroachdb/cockroach/asm_amd64.s:1594
	Error:      	Not equal: 
	            	expected: [][]string{[]string{"22.2"}}
	            	actual  : [][]string{[]string{"1000022.2"}}
	            	
	            	Diff:
	            	--- Expected
	            	+++ Actual
	            	@@ -2,3 +2,3 @@
	            	  ([]string) (len=1) {
	            	-  (string) (len=4) "22.2"
	            	+  (string) (len=9) "1000022.2"
	            	  }
	Test:       	multitenant-upgrade
(require.go:165).Equal: FailNow called
(cluster.go:1937).Run: cluster.RunE: context canceled
(cluster.go:1937).Run: cluster.RunE: context canceled
(cluster.go:1937).Run: cluster.RunE: context canceled

Parameters: ROACHTEST_cloud=gce , ROACHTEST_cpu=4 , ROACHTEST_encrypted=false , ROACHTEST_fs=ext4 , ROACHTEST_localSSD=true , ROACHTEST_ssd=0

Help

See: roachtest README

See: How To Investigate (internal)

This test on roachdash | Improve this report!

@cockroach-teamcity
Copy link
Member Author

roachtest.multitenant-upgrade failed with artifacts on master @ 6eabc2f348710f4146ff984bc346cd8cbe96f83b:

test artifacts and logs in: /artifacts/multitenant-upgrade/run_1
(assertions.go:264).Fail: 
	Error Trace:	/go/src/github.com/cockroachdb/cockroach/multitenant_upgrade.go:331
	            				/go/src/github.com/cockroachdb/cockroach/multitenant_upgrade.go:168
	            				/go/src/github.com/cockroachdb/cockroach/multitenant_upgrade.go:41
	            				/go/src/github.com/cockroachdb/cockroach/test_runner.go:943
	            				/go/src/github.com/cockroachdb/cockroach/asm_amd64.s:1594
	Error:      	Not equal: 
	            	expected: [][]string{[]string{"22.2"}}
	            	actual  : [][]string{[]string{"1000022.2"}}
	            	
	            	Diff:
	            	--- Expected
	            	+++ Actual
	            	@@ -2,3 +2,3 @@
	            	  ([]string) (len=1) {
	            	-  (string) (len=4) "22.2"
	            	+  (string) (len=9) "1000022.2"
	            	  }
	Test:       	multitenant-upgrade
(require.go:165).Equal: FailNow called
(cluster.go:1937).Run: cluster.RunE: context canceled
(cluster.go:1937).Run: cluster.RunE: context canceled
(cluster.go:1937).Run: cluster.RunE: context canceled

Parameters: ROACHTEST_cloud=gce , ROACHTEST_cpu=4 , ROACHTEST_encrypted=false , ROACHTEST_fs=ext4 , ROACHTEST_localSSD=true , ROACHTEST_ssd=0

Help

See: roachtest README

See: How To Investigate (internal)

This test on roachdash | Improve this report!

healthy-pod pushed a commit to healthy-pod/cockroach that referenced this issue Jan 26, 2023
In cockroachdb#94774, we didn't intend to change the TLV and it
is still supposed to be equal to the SLV. Changing the
way we set it however has caused TLV and SLV to be different
if a test uses two binaries, and only one of them was built
with `crdb_test` due to how we add `1e6` to versions in test
binaries.

Closes cockroachdb#95648

Epic: none
Release note: None
@cockroach-teamcity
Copy link
Member Author

roachtest.multitenant-upgrade failed with artifacts on master @ 2ad8df3df3272110705984efc32f1453631ce602:

test artifacts and logs in: /artifacts/multitenant-upgrade/run_1
(assertions.go:264).Fail: 
	Error Trace:	/go/src/github.com/cockroachdb/cockroach/multitenant_upgrade.go:331
	            				/go/src/github.com/cockroachdb/cockroach/multitenant_upgrade.go:168
	            				/go/src/github.com/cockroachdb/cockroach/multitenant_upgrade.go:41
	            				/go/src/github.com/cockroachdb/cockroach/test_runner.go:943
	            				/go/src/github.com/cockroachdb/cockroach/asm_amd64.s:1594
	Error:      	Not equal: 
	            	expected: [][]string{[]string{"22.2"}}
	            	actual  : [][]string{[]string{"1000022.2"}}
	            	
	            	Diff:
	            	--- Expected
	            	+++ Actual
	            	@@ -2,3 +2,3 @@
	            	  ([]string) (len=1) {
	            	-  (string) (len=4) "22.2"
	            	+  (string) (len=9) "1000022.2"
	            	  }
	Test:       	multitenant-upgrade
(require.go:165).Equal: FailNow called
(cluster.go:1937).Run: cluster.RunE: context canceled
(cluster.go:1937).Run: cluster.RunE: context canceled
(cluster.go:1937).Run: cluster.RunE: context canceled

Parameters: ROACHTEST_cloud=gce , ROACHTEST_cpu=4 , ROACHTEST_encrypted=false , ROACHTEST_fs=ext4 , ROACHTEST_localSSD=true , ROACHTEST_ssd=0

Help

See: roachtest README

See: How To Investigate (internal)

This test on roachdash | Improve this report!

@cockroach-teamcity
Copy link
Member Author

roachtest.multitenant-upgrade failed with artifacts on master @ 95a3a11f11b09481bbdf56820eea4420120f04f9:

test artifacts and logs in: /artifacts/multitenant-upgrade/run_1
(assertions.go:264).Fail: 
	Error Trace:	/go/src/github.com/cockroachdb/cockroach/multitenant_upgrade.go:331
	            				/go/src/github.com/cockroachdb/cockroach/multitenant_upgrade.go:168
	            				/go/src/github.com/cockroachdb/cockroach/multitenant_upgrade.go:41
	            				/go/src/github.com/cockroachdb/cockroach/test_runner.go:943
	            				/go/src/github.com/cockroachdb/cockroach/asm_amd64.s:1594
	Error:      	Not equal: 
	            	expected: [][]string{[]string{"22.2"}}
	            	actual  : [][]string{[]string{"1000022.2"}}
	            	
	            	Diff:
	            	--- Expected
	            	+++ Actual
	            	@@ -2,3 +2,3 @@
	            	  ([]string) (len=1) {
	            	-  (string) (len=4) "22.2"
	            	+  (string) (len=9) "1000022.2"
	            	  }
	Test:       	multitenant-upgrade
(require.go:165).Equal: FailNow called
(cluster.go:1937).Run: cluster.RunE: context canceled
(cluster.go:1937).Run: cluster.RunE: context canceled
(cluster.go:1937).Run: cluster.RunE: context canceled

Parameters: ROACHTEST_cloud=gce , ROACHTEST_cpu=4 , ROACHTEST_encrypted=false , ROACHTEST_fs=ext4 , ROACHTEST_localSSD=true , ROACHTEST_ssd=0

Help

See: roachtest README

See: How To Investigate (internal)

This test on roachdash | Improve this report!

@cockroach-teamcity
Copy link
Member Author

roachtest.multitenant-upgrade failed with artifacts on master @ 78fe59d0536be35fcec68280142746fb91515551:

test artifacts and logs in: /artifacts/multitenant-upgrade/run_1
(assertions.go:264).Fail: 
	Error Trace:	/go/src/github.com/cockroachdb/cockroach/multitenant_upgrade.go:331
	            				/go/src/github.com/cockroachdb/cockroach/multitenant_upgrade.go:168
	            				/go/src/github.com/cockroachdb/cockroach/multitenant_upgrade.go:41
	            				/go/src/github.com/cockroachdb/cockroach/test_runner.go:943
	            				/go/src/github.com/cockroachdb/cockroach/asm_amd64.s:1594
	Error:      	Not equal: 
	            	expected: [][]string{[]string{"22.2"}}
	            	actual  : [][]string{[]string{"1000022.2"}}
	            	
	            	Diff:
	            	--- Expected
	            	+++ Actual
	            	@@ -2,3 +2,3 @@
	            	  ([]string) (len=1) {
	            	-  (string) (len=4) "22.2"
	            	+  (string) (len=9) "1000022.2"
	            	  }
	Test:       	multitenant-upgrade
(require.go:165).Equal: FailNow called
(cluster.go:1937).Run: cluster.RunE: context canceled
(cluster.go:1937).Run: cluster.RunE: context canceled
(cluster.go:1937).Run: cluster.RunE: context canceled

Parameters: ROACHTEST_cloud=gce , ROACHTEST_cpu=4 , ROACHTEST_encrypted=false , ROACHTEST_fs=ext4 , ROACHTEST_localSSD=true , ROACHTEST_ssd=0

Help

See: roachtest README

See: How To Investigate (internal)

This test on roachdash | Improve this report!

@cockroach-teamcity
Copy link
Member Author

roachtest.multitenant-upgrade failed with artifacts on master @ 69dd453d0e61e258f402c5751de310405743cd18:

test artifacts and logs in: /artifacts/multitenant-upgrade/run_1
(assertions.go:264).Fail: 
	Error Trace:	/go/src/github.com/cockroachdb/cockroach/multitenant_upgrade.go:331
	            				/go/src/github.com/cockroachdb/cockroach/multitenant_upgrade.go:168
	            				/go/src/github.com/cockroachdb/cockroach/multitenant_upgrade.go:41
	            				/go/src/github.com/cockroachdb/cockroach/test_runner.go:943
	            				/go/src/github.com/cockroachdb/cockroach/asm_amd64.s:1594
	Error:      	Not equal: 
	            	expected: [][]string{[]string{"22.2"}}
	            	actual  : [][]string{[]string{"1000022.2"}}
	            	
	            	Diff:
	            	--- Expected
	            	+++ Actual
	            	@@ -2,3 +2,3 @@
	            	  ([]string) (len=1) {
	            	-  (string) (len=4) "22.2"
	            	+  (string) (len=9) "1000022.2"
	            	  }
	Test:       	multitenant-upgrade
(require.go:165).Equal: FailNow called
(cluster.go:1937).Run: cluster.RunE: context canceled
(cluster.go:1937).Run: cluster.RunE: context canceled
(cluster.go:1937).Run: cluster.RunE: context canceled

Parameters: ROACHTEST_cloud=gce , ROACHTEST_cpu=4 , ROACHTEST_encrypted=false , ROACHTEST_fs=ext4 , ROACHTEST_localSSD=true , ROACHTEST_ssd=0

Help

See: roachtest README

See: How To Investigate (internal)

This test on roachdash | Improve this report!

healthy-pod pushed a commit to healthy-pod/cockroach that referenced this issue Jan 30, 2023
If the multitenant-upgrade roachtest uses both binaries built
with `crdb_test` and ones that weren't, it may be using versions
that are technically the same but fail to confirm that because
version in test binaries are incremented by 1M.

This code change fixes the issue by normalizing versions before
comparing them.

Closes cockroachdb#95648

Epic: none
Release note: None
@cockroach-teamcity
Copy link
Member Author

roachtest.multitenant-upgrade failed with artifacts on master @ 69dd453d0e61e258f402c5751de310405743cd18:

test artifacts and logs in: /artifacts/multitenant-upgrade/run_1
(assertions.go:264).Fail: 
	Error Trace:	/go/src/github.com/cockroachdb/cockroach/multitenant_upgrade.go:331
	            				/go/src/github.com/cockroachdb/cockroach/multitenant_upgrade.go:168
	            				/go/src/github.com/cockroachdb/cockroach/multitenant_upgrade.go:41
	            				/go/src/github.com/cockroachdb/cockroach/test_runner.go:943
	            				/go/src/github.com/cockroachdb/cockroach/asm_amd64.s:1594
	Error:      	Not equal: 
	            	expected: [][]string{[]string{"22.2"}}
	            	actual  : [][]string{[]string{"1000022.2"}}
	            	
	            	Diff:
	            	--- Expected
	            	+++ Actual
	            	@@ -2,3 +2,3 @@
	            	  ([]string) (len=1) {
	            	-  (string) (len=4) "22.2"
	            	+  (string) (len=9) "1000022.2"
	            	  }
	Test:       	multitenant-upgrade
(require.go:165).Equal: FailNow called
(cluster.go:1937).Run: cluster.RunE: context canceled
(cluster.go:1937).Run: cluster.RunE: context canceled
(cluster.go:1937).Run: cluster.RunE: context canceled

Parameters: ROACHTEST_cloud=gce , ROACHTEST_cpu=4 , ROACHTEST_encrypted=false , ROACHTEST_fs=ext4 , ROACHTEST_localSSD=true , ROACHTEST_ssd=0

Help

See: roachtest README

See: How To Investigate (internal)

This test on roachdash | Improve this report!

@cockroach-teamcity
Copy link
Member Author

roachtest.multitenant-upgrade failed with artifacts on master @ 1fb7236f7b1f53e28bde833c28bed83a976138cf:

test artifacts and logs in: /artifacts/multitenant-upgrade/run_1
(assertions.go:264).Fail: 
	Error Trace:	/go/src/github.com/cockroachdb/cockroach/multitenant_upgrade.go:331
	            				/go/src/github.com/cockroachdb/cockroach/multitenant_upgrade.go:168
	            				/go/src/github.com/cockroachdb/cockroach/multitenant_upgrade.go:41
	            				/go/src/github.com/cockroachdb/cockroach/test_runner.go:943
	            				/go/src/github.com/cockroachdb/cockroach/asm_amd64.s:1594
	Error:      	Not equal: 
	            	expected: [][]string{[]string{"22.2"}}
	            	actual  : [][]string{[]string{"1000022.2"}}
	            	
	            	Diff:
	            	--- Expected
	            	+++ Actual
	            	@@ -2,3 +2,3 @@
	            	  ([]string) (len=1) {
	            	-  (string) (len=4) "22.2"
	            	+  (string) (len=9) "1000022.2"
	            	  }
	Test:       	multitenant-upgrade
(require.go:165).Equal: FailNow called
(cluster.go:1937).Run: cluster.RunE: context canceled
(cluster.go:1937).Run: cluster.RunE: context canceled
(cluster.go:1937).Run: cluster.RunE: context canceled

Parameters: ROACHTEST_cloud=gce , ROACHTEST_cpu=4 , ROACHTEST_encrypted=false , ROACHTEST_fs=ext4 , ROACHTEST_localSSD=true , ROACHTEST_ssd=0

Help

See: roachtest README

See: How To Investigate (internal)

This test on roachdash | Improve this report!

healthy-pod pushed a commit to healthy-pod/cockroach that referenced this issue Jan 31, 2023
If the multitenant-upgrade roachtest uses a mix
of release/non-release binaries, it may be using versions
that are technically the same but fail to confirm that because
version in test binaries are incremented by 1M.

This code change fixes the issue by normalizing versions before
comparing them.

Closes cockroachdb#95648

Epic: none
Release note: None
@cockroach-teamcity
Copy link
Member Author

roachtest.multitenant-upgrade failed with artifacts on master @ b59fa09d971e92b8b5bcc874437159ef252e0313:

test artifacts and logs in: /artifacts/multitenant-upgrade/run_1
(assertions.go:264).Fail: 
	Error Trace:	/go/src/github.com/cockroachdb/cockroach/multitenant_upgrade.go:331
	            				/go/src/github.com/cockroachdb/cockroach/multitenant_upgrade.go:168
	            				/go/src/github.com/cockroachdb/cockroach/multitenant_upgrade.go:41
	            				/go/src/github.com/cockroachdb/cockroach/test_runner.go:974
	            				/go/src/github.com/cockroachdb/cockroach/asm_amd64.s:1594
	Error:      	Not equal: 
	            	expected: [][]string{[]string{"22.2"}}
	            	actual  : [][]string{[]string{"1000022.2"}}
	            	
	            	Diff:
	            	--- Expected
	            	+++ Actual
	            	@@ -2,3 +2,3 @@
	            	  ([]string) (len=1) {
	            	-  (string) (len=4) "22.2"
	            	+  (string) (len=9) "1000022.2"
	            	  }
	Test:       	multitenant-upgrade
(require.go:165).Equal: FailNow called
(cluster.go:1937).Run: cluster.RunE: context canceled
(cluster.go:1937).Run: cluster.RunE: context canceled
(cluster.go:1937).Run: cluster.RunE: context canceled

Parameters: ROACHTEST_cloud=gce , ROACHTEST_cpu=4 , ROACHTEST_encrypted=false , ROACHTEST_fs=ext4 , ROACHTEST_localSSD=true , ROACHTEST_ssd=0

Help

See: roachtest README

See: How To Investigate (internal)

This test on roachdash | Improve this report!

craig bot pushed a commit that referenced this issue Feb 2, 2023
95904: roachtest: normalize versions in multitenant-upgrade roachtest r=ajstorm a=healthy-pod

If the multitenant-upgrade roachtest uses a mix
of release/non-release binaries, it may be using versions
that are technically the same but fail to confirm that because
version in test binaries are incremented by 1M.

This code change fixes the issue by normalizing versions before
comparing them.

Closes #95648

Epic: none
Release note: None

95911: kv: perform PushTxn(PUSH_TIMESTAMP) without Raft consensus r=arulajmani a=nvanbenschoten

This PR contains a sequence of three commits that combine to resolve #94728.

### check txn push marker on commit, not txn record creation

The first commit moves the point when a transaction checks the timestamp cache for its minimum commit timestamp from transaction record creation time back to commit time. This allows us to use the timestamp cache to communicate successful `PushTxn(TIMESTAMP)` to a pushee with an existing record without rewriting its transaction record.

For details, see the changes to the state machine diagram attached to `Replica.CanCreateTxnRecord` for a visual depiction of this change.

### always promote PUSH_TIMESTAMP to PUSH_ABORT on failed staging record 

The second commit simplifies logic in PushTxnRequest that promoted a `PUSH_TIMESTAMP` to a `PUSH_ABORT` when it 
 found a STAGING transaction record that it knew to be part of a failed parallel commit attempt.

The logic tried to be smart and minimize the cases where it needed to promote a `PUSH_TIMESTAMP` to a `PUSH_ABORT`. It was avoiding doing so if it had previously found an intent with a higher epoch. In practice, this optimization doesn't seem to matter. It was also making logic in a following commit harder to write because it was preserving cases where a `PUSH_TIMESTAMP` would succeed against a STAGING transaction record. We don't want to support such state transitions, so eliminate them.

### don't rewrite txn record on PushTxn(TIMESTAMP)

With the previous two commits, transactions will check the timestamp cache before committing to determine whether they have had their commit timestamp pushed. The final commit exploits this to avoid ever rewriting a transaction's record on a timestamp push. Instead, the timestamp cache is used, regardless of whether the record already existed or not. Doing so avoids consensus.

Release note: None

96115: schemachanger: Implement `DROP CONSTRAINT` in declarative schema changer r=Xiang-Gu a=Xiang-Gu

This PR implements `ALTER TABLE t DROP CONSTRAINT cons_name` in declarative schema changer.

Supported constraints include Checks, FK, and UniqueWithoutIndex.

Dropping PK or Unique constraints will fall back to legacy schema changer, which in turn spits out an "not supported yet" error.

Epic: None

96241: sql: use RLock in connExecutor.CancelQuery and connExecutor.CancelActiveQueries r=rafiss,yuzefovich a=ecwall

Fixes #95994

`connExecutor.CancelQuery` and `connExecutor.CancelActiveQueries` do not modify `mu.ActiveQueries` or the `*queryMetas` inside so they can safely use `RLock` instead of `Lock`.

Release note: None

96273: sql/schemachanger: forward fit compatibility changes for 22.2 rules r=fqazi a=fqazi

Informs: #95849

Previously, some constraint-related rules in the 22.2 set incorrectly used logic for 23.X. This patch addresses those to get compatibility back. Additionally, some minor clean-up in rules-related helpers to ensure proper compatibility.

With this change, a manual diff shows both branches are now equal in terms of rules (outside of renames). A roachtest will be coming soon to assert this.

Epic: none
Release note: None

96302: backupccl: add missing context cancel checks to restore r=stevendanna a=adityamaru

In #95257 we saw a restore grind to a halt 2 hours into a 5 hour roachtest. The stacks indicated that we may have seen a context cancellation that was not being respected by the goroutine running `generateAndSendImportSpans`. This resulted in the `generative_split_and_scatter_processor` getting stuck writing to a channel nobody was reading from
(https://github.com/cockroachdb/cockroach/blob/master/pkg/ccl/backupccl/restore_span_covering.go#L516) since the other goroutines
in the processor had seen the ctx cancellation and exited. A side effect of the generative processor not shutting down was that the downstream restore data processors would also hang on their call to `input.Next()` as they would not receive a row or a meta from the generative processor signalling them to shutdown. This fix adds a ctx cancellation check to the goroutine described above, thereby allowing a
graceful teardown of the flow.

Informs: #95257

Release note (bug fix): fixes a bug where a restore flow could hang indefinitely in the face of a context cancellation, manifesting as a stuck restore job.

Co-authored-by: healthy-pod <[email protected]>
Co-authored-by: Nathan VanBenschoten <[email protected]>
Co-authored-by: Xiang Gu <[email protected]>
Co-authored-by: Evan Wall <[email protected]>
Co-authored-by: Faizan Qazi <[email protected]>
Co-authored-by: adityamaru <[email protected]>
@craig craig bot closed this as completed in e046e46 Feb 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
branch-master Failures and bugs on the master branch. C-test-failure Broken test (automatically or manually discovered). O-roachtest O-robot Originated from a bot. release-blocker Indicates a release-blocker. Use with branch-release-2x.x label to denote which branch is blocked. T-multitenant Issues owned by the multi-tenant virtual team
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants