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

changefeedccl: substitute placeholders in job description #28220

Merged
merged 1 commit into from
Aug 3, 2018

Conversation

danhhz
Copy link
Contributor

@danhhz danhhz commented Aug 2, 2018

Release note (enterprise change): CHANGEFEED job descriptions now
substitute values for sql placeholders

Release note (enterprise change): CHANGEFEED job descriptions now
substitute values for sql placeholders
@danhhz danhhz requested review from tbg, nvanbenschoten and a team August 2, 2018 19:06
@cockroach-teamcity
Copy link
Member

This change is Reviewable

Copy link
Member

@nvanbenschoten nvanbenschoten left a comment

Choose a reason for hiding this comment

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

:lgtm:

Reviewed 2 of 2 files at r1.
Reviewable status: :shipit: complete! 0 of 0 LGTMs obtained (and 1 stale)

@danhhz
Copy link
Contributor Author

danhhz commented Aug 3, 2018

bors r=nvanbenschoten

craig bot pushed a commit that referenced this pull request Aug 3, 2018
27996: jobspb,changefeedccl: finalize ChangefeedDetails job proto for 2.1 r=nvanbenschoten a=danhhz

For now, this commit removes remove any table expansions, including
databases. Getting it right as tables enter and leave the set over time
is tricky (as we learned fixing it in incremental backup).

This simplification allows us to store the targeted tables as a list of
IDs. Table IDs can change over time, such as with TRUNCATE, and the
changefeed is responsible for detecting this or preventing it. Post 2.1,
we'll reconsider supporting name expansions and how that should be
represented in this proto.

Release note (enterprise change): CHANGEFEEDs can now only target lists
of physical tables

28220: changefeedccl: substitute placeholders in job description r=nvanbenschoten a=danhhz

Release note (enterprise change): CHANGEFEED job descriptions now
substitute values for sql placeholders

Co-authored-by: Daniel Harrison <daniel.harrison@gmail.com>
@craig
Copy link
Contributor

craig bot commented Aug 3, 2018

Build succeeded

@craig craig bot merged commit dead8ee into cockroachdb:master Aug 3, 2018
@danhhz danhhz deleted the cdc_jobdesc branch August 3, 2018 17:41
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.

None yet

3 participants