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

Tech debt: refactor influxd's "run" method for better readability / testability #19976

Open
danxmoran opened this issue Nov 10, 2020 · 0 comments
Labels
area/2.x OSS 2.0 related issues and PRs kind/tech-debt Needs cleanup, will make the developer experience better

Comments

@danxmoran
Copy link
Contributor

influxd's run method is ~800 lines long. This makes it very hard to tell how different pieces of the DB interact with and depend on one another during setup, especially when using middleware that doesn't affect types (i.e. applying an authorization wrapper).

It should be possible to refactor run into smaller pieces and make it easier to understand.

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 kind/tech-debt Needs cleanup, will make the developer experience better
Projects
None yet
Development

No branches or pull requests

1 participant