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: don't divide RPs provided over the CLI by a factor of an hour #19928

Merged
merged 2 commits into from
Nov 6, 2020

Conversation

danxmoran
Copy link
Contributor

Closes #19926

Prior to #19885, influxd would multiply RPs from onboarding requests by a factor of an hour. This caused overflows in many cases, so I removed the multiplication. The tests didn't catch all the places where the CLI was anticipating that multiplication...

The 3 lines changed here mirror the fix I made to non-interactive upgrade as part of the original PR.

  • CHANGELOG.md updated with a link to the PR (not the Issue)
  • Well-formatted commit messages
  • Rebased/mergeable
  • Tests pass
  • http/swagger.yml updated (if modified Go structs or API)
  • Feature flagged (if modified API)
  • Documentation updated or issue created (provide link to issue/pr)
  • Signed CLA (if not already signed)

@psteinbachs psteinbachs self-requested a review November 6, 2020 21:43
Copy link
Contributor

@psteinbachs psteinbachs left a comment

Choose a reason for hiding this comment

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

Looks good.

@danxmoran danxmoran merged commit ee390dd into master Nov 6, 2020
@danxmoran danxmoran deleted the dm-remove-rp-divisions-19926 branch November 6, 2020 22:50
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.

Specifying RP as a CLI option in influx setup or influxd upgrade causes spurious validation error
2 participants