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

fix: send empty array of retention rules when no parameters are set #21179

Merged
merged 1 commit into from
Apr 9, 2021

Conversation

danxmoran
Copy link
Contributor

Closes #21169

For backwards-compatibility, send an empty array of retention rules if the user didn't specify expiration seconds or shard-group duration.

@danxmoran
Copy link
Contributor Author

I manually tested that this PR fixes influx bucket create against Cloud when --shard-group-duration isn't specified.

Copy link
Contributor

@adrian-thurston adrian-thurston left a comment

Choose a reason for hiding this comment

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

LGTM! Verified it indeed fixes bucket creation in IDPE.

@danxmoran danxmoran force-pushed the dm-influx-bucket-create-cloud-fix-21169 branch from 2f7f105 to ba3f6ee Compare April 9, 2021 20:34
@danxmoran danxmoran merged commit d448b54 into master Apr 9, 2021
@danxmoran danxmoran deleted the dm-influx-bucket-create-cloud-fix-21169 branch April 9, 2021 20:54
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.

influx bucket create broken against InfluxDB Cloud
2 participants