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

release-2.1: changefeedccl: support a minimum frequency between resolved ts emits #31008

Merged
merged 1 commit into from
Oct 8, 2018

Conversation

danhhz
Copy link
Contributor

@danhhz danhhz commented Oct 5, 2018

Backport 1/1 commits from #30974.

/cc @cockroachdb/release


The WITH resolved option now take an optional duration which is used
as a lower bound on the duration between emitting resolved timestamps.
It accepts any format that https://golang.org/pkg/time/#ParseDuration
does. (e.g. WITH resolved='10s'). If unspecified, the previous
behavior of emitting all resolved timestamps is used.

Closes #30367

Release note (enterprise change): CHANGEFEEDs can now be configured with
a minimum duration between emitting resolved timestamps.

The `WITH resolved` option now take an optional duration which is used
as a lower bound on the duration between emitted resolved timestamps. It
accepts any format that https://golang.org/pkg/time/#ParseDuration does.
(e.g. `WITH resolved='10s'`). If unspecified, the previous behavior of
emitting all resolved timestamps is used.

`resolved` is now the first `WITH` option to optionally take a value, so
this required a small refactor to make an enum from the bool specifing
whether the value was required.

Closes cockroachdb#30367

Release note (enterprise change): CHANGEFEEDs can now be configured with
a minimum duration between emitted resolved timestamps.
@danhhz danhhz requested review from mrtracy and a team October 5, 2018 15:07
@cockroach-teamcity
Copy link
Member

This change is Reviewable

Copy link
Contributor

@mrtracy mrtracy 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! 0 of 0 LGTMs obtained

@danhhz danhhz merged commit 324dfeb into cockroachdb:release-2.1 Oct 8, 2018
@danhhz danhhz deleted the backport2.1-30974 branch October 8, 2018 21:39
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