Skip to content

storage: create TestReplicaRangefeedPushesTransactions#43121

Merged
craig[bot] merged 1 commit intocockroachdb:masterfrom
nvb:nvanbenschoten/rangefeedPush
Dec 13, 2019
Merged

storage: create TestReplicaRangefeedPushesTransactions#43121
craig[bot] merged 1 commit intocockroachdb:masterfrom
nvb:nvanbenschoten/rangefeedPush

Conversation

@nvb
Copy link
Copy Markdown
Contributor

@nvb nvb commented Dec 12, 2019

I noticed that there weren't any storage-level integration tests that verified that an active rangefeed processor would push transactions that were holding up its resolved timestamp from progressing. This commit adds such a test.

Periodically flakes under stress with the following panic unless rebased on #42939:

panic: resolved timestamp 1576109922.890013000,0 equal to or above timestamp of operation {<nil> txn_id:d599eb68-cf29-4e15-90be-554b04f10a8b txn_key:"\275\211\211\210" txn_min_timestamp:<wall_time:1576109922877135000 > timestamp:<wall_time:1576109922883114000 logical:2 >  <nil> <nil> <nil> <nil>}

Release note: None

@nvb nvb requested a review from danhhz December 12, 2019 00:34
@cockroach-teamcity
Copy link
Copy Markdown
Member

This change is Reviewable

Copy link
Copy Markdown
Contributor

@danhhz danhhz left a comment

Choose a reason for hiding this comment

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

:lgtm: this is a nice test!

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

I noticed that there weren't any storage-level integration tests that
verified that an active rangefeed processor would push transactions that
were holding up its resolved timestamp from progressing. This commit adds
such a test.

Periodically flakes with the following panic unless rebased on cockroachdb#42939:
```
panic: resolved timestamp 1576109922.890013000,0 equal to or above timestamp of operation {<nil> txn_id:d599eb68-cf29-4e15-90be-554b04f10a8b txn_key:"\275\211\211\210" txn_min_timestamp:<wall_time:1576109922877135000 > timestamp:<wall_time:1576109922883114000 logical:2 >  <nil> <nil> <nil> <nil>}
```

Release note: None
@nvb nvb force-pushed the nvanbenschoten/rangefeedPush branch from 265be56 to dd6a821 Compare December 13, 2019 17:29
@nvb
Copy link
Copy Markdown
Contributor Author

nvb commented Dec 13, 2019

bors r+

@nvb
Copy link
Copy Markdown
Contributor Author

nvb commented Dec 13, 2019

Bors crash.

bors r+

craig bot pushed a commit that referenced this pull request Dec 13, 2019
43121: storage: create TestReplicaRangefeedPushesTransactions r=nvanbenschoten a=nvanbenschoten

I noticed that there weren't any storage-level integration tests that verified that an active rangefeed processor would push transactions that were holding up its resolved timestamp from progressing. This commit adds such a test.

Periodically flakes under stress with the following panic unless rebased on #42939:
```
panic: resolved timestamp 1576109922.890013000,0 equal to or above timestamp of operation {<nil> txn_id:d599eb68-cf29-4e15-90be-554b04f10a8b txn_key:"\275\211\211\210" txn_min_timestamp:<wall_time:1576109922877135000 > timestamp:<wall_time:1576109922883114000 logical:2 >  <nil> <nil> <nil> <nil>}
```

Release note: None

Co-authored-by: Nathan VanBenschoten <nvanbenschoten@gmail.com>
@craig
Copy link
Copy Markdown
Contributor

craig bot commented Dec 13, 2019

Build succeeded

@craig craig bot merged commit dd6a821 into cockroachdb:master Dec 13, 2019
@nvb nvb mentioned this pull request Dec 16, 2019
19 tasks
@nvb nvb deleted the nvanbenschoten/rangefeedPush branch December 27, 2019 22:59
@nvb nvb mentioned this pull request Feb 4, 2020
19 tasks
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