-
Notifications
You must be signed in to change notification settings - Fork 3.6k
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 1.9 branch] #21597
Comments
4 tasks
4 tasks
davidby-influx
added a commit
that referenced
this issue
Jun 4, 2021
…21609) 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 #21597
Reopening as I have reverted from 1.9 since it should be in 1.9.3, not 1.9.2 |
lesam
pushed a commit
to lesam/influxdb
that referenced
this issue
Jun 15, 2021
…t to 1.9] (influxdata#21609) 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 influxdata#21577 (cherry picked from commit f64be28) Closes influxdata#21597
4 tasks
lesam
added a commit
that referenced
this issue
Jun 15, 2021
* fix: avoid rewriting fields.idx unnecessarily (#21592) [Port to 1.9] (#21609) 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 #21597 * chore: minor refactor suggested by go lint (#21614) (#21616) (cherry picked from commit 7d10228) (cherry picked from commit f820287) Co-authored-by: davidby-influx <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
#21577 port to 1.9 branch for 1.9.2
The text was updated successfully, but these errors were encountered: