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

kvfeed: refactor and unit test copyFromSourceToDestUntilTableEvent #119959

Merged
merged 1 commit into from
Mar 7, 2024

Conversation

andyyang890
Copy link
Collaborator

@andyyang890 andyyang890 commented Mar 5, 2024

This patch refactors copyFromSourceToDestUntilTableEvent and adds
comments and a unit test.

Epic: None

Release note: None

@cockroach-teamcity
Copy link
Member

This change is Reviewable

@andyyang890 andyyang890 force-pushed the refactor_scan_boundary branch 29 times, most recently from 3833cf5 to 6d3f41f Compare March 6, 2024 08:42
@andyyang890 andyyang890 force-pushed the refactor_scan_boundary branch 5 times, most recently from ee05500 to 923da7c Compare March 6, 2024 08:58
@andyyang890 andyyang890 changed the title WIP kvfeed: refactor and unit test copyFromSourceToDestUntilTableEvent Mar 6, 2024
@andyyang890 andyyang890 marked this pull request as ready for review March 6, 2024 08:58
@andyyang890 andyyang890 requested a review from a team as a code owner March 6, 2024 08:58
@andyyang890 andyyang890 requested review from rharding6373 and removed request for a team March 6, 2024 08:58
@cockroachdb cockroachdb deleted a comment from blathers-crl bot Mar 6, 2024
@andyyang890 andyyang890 requested review from a team and jayshrivastava March 6, 2024 08:59
Copy link
Collaborator

@rharding6373 rharding6373 left a comment

Choose a reason for hiding this comment

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

:lgtm: Love the new tests.

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


pkg/ccl/changefeedccl/kvfeed/kv_feed_test.go line 553 at r1 (raw file):

It is used to populate mock schemafeed.TableEvent's.
nit: Is this sentence incomplete?

@andyyang890 andyyang890 force-pushed the refactor_scan_boundary branch from 923da7c to 3834be8 Compare March 7, 2024 18:42
This patch refactors `copyFromSourceToDestUntilTableEvent` and adds
comments and a unit test.

Release note: None
@andyyang890 andyyang890 force-pushed the refactor_scan_boundary branch from 3834be8 to 1afd0d2 Compare March 7, 2024 18:42
Copy link
Collaborator Author

@andyyang890 andyyang890 left a comment

Choose a reason for hiding this comment

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

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


pkg/ccl/changefeedccl/kvfeed/kv_feed_test.go line 553 at r1 (raw file):

Previously, rharding6373 (Rachael Harding) wrote…

It is used to populate mock schemafeed.TableEvent's.
nit: Is this sentence incomplete?

I rephrased it, hopefully it's more clear now

@andyyang890
Copy link
Collaborator Author

TFTR!

bors r=rharding6373

@craig
Copy link
Contributor

craig bot commented Mar 7, 2024

Build failed:

@andyyang890
Copy link
Collaborator Author

bors retry

@craig
Copy link
Contributor

craig bot commented Mar 7, 2024

Build succeeded:

@craig craig bot merged commit 4806184 into cockroachdb:master Mar 7, 2024
18 checks passed
@andyyang890 andyyang890 deleted the refactor_scan_boundary branch March 7, 2024 22:17
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