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

feat(cmd/influxd): export 1.x continuous queries as part of upgrade #20039

Merged
merged 6 commits into from
Nov 16, 2020

Conversation

danxmoran
Copy link
Contributor

@danxmoran danxmoran commented Nov 13, 2020

Part of #19985

Write CQs to disk as databases are upgraded. The issue didn't describe an encoding scheme for the exported queries. I went with TSV as I expected that tab wouldn't clash with the content of the queries themselves, but I'm not sure if it's the most useful option.

  • 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)

@kelseiv kelseiv mentioned this pull request Nov 16, 2020
16 tasks
Copy link
Contributor

@stuartcarnie stuartcarnie left a comment

Choose a reason for hiding this comment

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

Awaiting @timhallinflux's comments on the format of the file. My preference is to write the queries only.

@danxmoran danxmoran force-pushed the dm-upgrade-write-continuous-queries-19985 branch from 97a4ba8 to f66165c Compare November 16, 2020 19:05
Copy link
Contributor

@stuartcarnie stuartcarnie left a comment

Choose a reason for hiding this comment

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

This is great 💯

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

2 participants