Skip to content

kv: update replica-level tscache tests for synthetic timestamps#58903

Merged
craig[bot] merged 1 commit intocockroachdb:masterfrom
nvb:nvanbenschoten/tscacheTestSyn
Jan 13, 2021
Merged

kv: update replica-level tscache tests for synthetic timestamps#58903
craig[bot] merged 1 commit intocockroachdb:masterfrom
nvb:nvanbenschoten/tscacheTestSyn

Conversation

@nvb
Copy link
Copy Markdown
Contributor

@nvb nvb commented Jan 13, 2021

This commit updates the following three tests to confirm that synthetic
timestamp information is propagated from read/ranged-write requests,
through the timestamp cache, to conflicting write requests.

  • TestReplicaUpdateTSCache
  • TestReplicaUseTSCache
  • TestReplicaTSCacheForwardsIntentTS

@nvb nvb requested a review from aayushshah15 January 13, 2021 02:17
@cockroach-teamcity
Copy link
Copy Markdown
Member

This change is Reviewable

Copy link
Copy Markdown
Contributor

@aayushshah15 aayushshah15 left a comment

Choose a reason for hiding this comment

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

:lgtm:

Reviewable status: :shipit: complete! 1 of 0 LGTMs obtained (waiting on @nvanbenschoten)


pkg/kv/kvserver/replica_test.go, line 2305 at r1 (raw file):

// TestReplicaUpdateTSCache verifies that reads and ranged writes update the
// timestamp cache. The test performs the operatations with and without the use

operations* here and below for the other tests.

This commit updates the following three tests to confirm that synthetic
timestamp information is propagated from read/ranged-write requests,
through the timestamp cache, to conflicting write requests.

- TestReplicaUpdateTSCache
- TestReplicaUseTSCache
- TestReplicaTSCacheForwardsIntentTS
@nvb nvb force-pushed the nvanbenschoten/tscacheTestSyn branch from c226d3e to 6b71148 Compare January 13, 2021 22:41
Copy link
Copy Markdown
Contributor Author

@nvb nvb left a comment

Choose a reason for hiding this comment

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

TFTR!

bors r+

Reviewable status: :shipit: complete! 0 of 0 LGTMs obtained (and 1 stale) (waiting on @aayushshah15)


pkg/kv/kvserver/replica_test.go, line 2305 at r1 (raw file):

Previously, aayushshah15 (Aayush Shah) wrote…

operations* here and below for the other tests.

Done.

@craig
Copy link
Copy Markdown
Contributor

craig bot commented Jan 13, 2021

Build succeeded:

@craig craig bot merged commit 55d9331 into cockroachdb:master Jan 13, 2021
@nvb nvb deleted the nvanbenschoten/tscacheTestSyn branch January 14, 2021 01:13
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