-
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
fix(tsdb): allow backups during snapshotting, and don't leak tmp files #20527
Conversation
@@ -46,6 +46,8 @@ Replacement `tsi1` indexes will be automatically generated on startup for shards | |||
1. [20409](https://github.com/influxdata/influxdb/pull/20409): Improve messages in DBRP API validation errors. | |||
1. [20489](https://github.com/influxdata/influxdb/pull/20489): Improve error message when opening BoltDB with unsupported file system options. | |||
1. [20490](https://github.com/influxdata/influxdb/pull/20490): Fix silent failure to register CLI args as required. | |||
1. [20527](https://github.com/influxdata/influxdb/pull/20527): Don't leak .tmp files while backing up shards. | |||
1. [20527](https://github.com/influxdata/influxdb/pull/20527): Allow backups to complete while a snapshot is in progress. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Are these 2 lines an accurate summary of the expected impact?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think they are close enough. Sorry for no squash/merge on the original commits.
d819785
to
4a5b722
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good. Thanks!
@@ -46,6 +46,8 @@ Replacement `tsi1` indexes will be automatically generated on startup for shards | |||
1. [20409](https://github.com/influxdata/influxdb/pull/20409): Improve messages in DBRP API validation errors. | |||
1. [20489](https://github.com/influxdata/influxdb/pull/20489): Improve error message when opening BoltDB with unsupported file system options. | |||
1. [20490](https://github.com/influxdata/influxdb/pull/20490): Fix silent failure to register CLI args as required. | |||
1. [20527](https://github.com/influxdata/influxdb/pull/20527): Don't leak .tmp files while backing up shards. | |||
1. [20527](https://github.com/influxdata/influxdb/pull/20527): Allow backups to complete while a snapshot is in progress. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think they are close enough. Sorry for no squash/merge on the original commits.
Co-authored-by: davidby-influx <dbyrne@influxdata.com>
4a5b722
to
1389264
Compare
Closes #20526
Backports the end combination of #19869 and #20063, which I believe were the relevant PRs in 1.x.