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: Port TSM1 storage engine #19446

Merged
merged 88 commits into from
Sep 2, 2020
Merged

feat: Port TSM1 storage engine #19446

merged 88 commits into from
Sep 2, 2020

Conversation

stuartcarnie
Copy link
Contributor

@stuartcarnie stuartcarnie commented Aug 26, 2020

This is work directly related to completing #19114 towards OSS 2.0 GA.

There is no expectation that this PR can be reviewed completely, as it represents several weeks of work to port the storage engine from master-1.x to 2.x. When this is merged, it will replace the existing master branch.

It reintroduces the following core changes:

  • multi-shared TSDB storage engine from master-1.x
  • InfluxDB 1.x API compatibility with parity in Cloud 2.0. Specifically
    • writes via /write
    • InfluxQL via /query

stuartcarnie and others added 30 commits August 3, 2020 09:17
* pulls in 1.x tsdb, compiles and passes test
* retention will be enforced by the InfluxDB 1.x engine
* storage will be a shim for `tsdb`, so don't need tests here
Includes initial migration to add metadata bucket
Remove redundant repl.go after rebasing on 8dd8d1f
Lazily initialize flux, which increases startup time considerably
@stuartcarnie stuartcarnie marked this pull request as ready for review August 31, 2020 19:31
@stuartcarnie stuartcarnie requested a review from a team August 31, 2020 19:31
@stuartcarnie stuartcarnie requested a review from a team as a code owner August 31, 2020 19:31
@stuartcarnie stuartcarnie removed the request for review from a team September 2, 2020 20:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/2.x OSS 2.0 related issues and PRs
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants