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

Rewriting fields.idx is a bottleneck with many new fields and measurements [Port to master] #21598

Closed
davidby-influx opened this issue Jun 3, 2021 · 0 comments · Fixed by #21610

Comments

@davidby-influx
Copy link
Contributor

#21577 port to master branch for 2.X versions

@davidby-influx davidby-influx self-assigned this Jun 3, 2021
@davidby-influx davidby-influx changed the title Rewriting fields.idx is a bottleneck with many new fields and measurements Rewriting fields.idx is a bottleneck with many new fields and measurements [Port to master] Jun 4, 2021
davidby-influx added a commit that referenced this issue Jun 4, 2021
Under heavy write load creating new fields and measurements
the rewrite of the fields.idx file is a bottleneck. This
enhancement combines multiple writes into a single one and
shares any error return value with all of the combined
invocations. MeasurementFieldSet and the new
MeasurementFieldSetWriter must both now be explicitly
closed.

Closes #21577

(cherry picked from commit f64be28)

Closes #21598
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant