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: fix bugs with cloud sink s3 and resolved filename ordering #34247

Merged
merged 2 commits into from
Jan 25, 2019

Conversation

danhhz
Copy link
Contributor

@danhhz danhhz commented Jan 25, 2019

See commits for details.

Stop truncating the logical part of the hlc timestamp from the
filenames. This also allows us to stop doing the subtraction of a
nanosecond when generating filenames for resolved timestamps, which was
surprising and led to a bug. I was trying to make the filenames shorter,
but it's time to give up and do the obvious thing for now.

Release note (bug fix): The `CHANGEFEED` experimental could sink now
orders resolved timestamp files correctly.
Found in preliminary acceptance testing. The cloudStorageSink doesn't
know about the params each ExportStorage accepts, so it was rejecting
them as unknown, preventing use of the s3 sink. It'd be great if
ExportStorage could error if it then got a param it didn't understand,
but this is a thread I don't have time to pull right now.

Release note (bug fix): The `CHANGEFEED` experimental cloud sink now
supports s3 auth params.
@danhhz danhhz requested review from tbg and a team January 25, 2019 15:52
@cockroach-teamcity
Copy link
Member

This change is Reviewable

Copy link
Member

@tbg tbg 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 3 of 3 files at r1.
Reviewable status: :shipit: complete! 1 of 0 LGTMs obtained (waiting on @tbg)

Copy link
Member

@tbg tbg left a comment

Choose a reason for hiding this comment

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

Reviewed 2 of 2 files at r2.
Reviewable status: :shipit: complete! 1 of 0 LGTMs obtained

@danhhz
Copy link
Contributor Author

danhhz commented Jan 25, 2019

TFTR!

bors r=tbg

craig bot pushed a commit that referenced this pull request Jan 25, 2019
34247: changefeedccl: fix bugs with cloud sink s3 and resolved filename ordering r=tbg a=danhhz

See commits for details.

Co-authored-by: Daniel Harrison <[email protected]>
@craig
Copy link
Contributor

craig bot commented Jan 25, 2019

Build succeeded

@craig craig bot merged commit 515d4d6 into cockroachdb:master Jan 25, 2019
@danhhz danhhz deleted the cdc_cloudstorage branch January 25, 2019 18:43
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