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

Blob store compression fix #39073

Conversation

henningandersen
Copy link
Contributor

Blob store compression was not enabled for some of the files in
snapshots due to constructor accessing sub-class fields, fixed to
instead accept compress field as constructor param. Also fixed chunk
size validation to work.

Deprecated repositories.fs.compress setting as well to unify.

This will be backported to 7.0 too and the repositories.fs.compress option will be removed in a follow up PR.

Blob store compression was not enabled for some of the files in
snapshots due to constructor accessing sub-class fields, fixed to
instead accept compress field as constructor param. Also fixed chunk
size validation to work.

Deprecated repositories.fs.compress setting as well to unify.
@henningandersen henningandersen added :Distributed Coordination/Snapshot/Restore Anything directly related to the `_snapshot/*` APIs v7.0.0 v8.0.0 v7.2.0 labels Feb 18, 2019
@elasticmachine
Copy link
Collaborator

Pinging @elastic/es-distributed

Copy link
Member

@original-brownbear original-brownbear left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks @henningandersen

@henningandersen henningandersen merged commit f5fc163 into elastic:master Feb 20, 2019
henningandersen added a commit that referenced this pull request Feb 20, 2019
Blob store compression was not enabled for some of the files in
snapshots due to constructor accessing sub-class fields. Fixed to
instead accept compress field as constructor param. Also fixed chunk
size validation to work.

Deprecated repositories.fs.compress setting as well to be able to unify
in a future commit.
henningandersen added a commit that referenced this pull request Feb 20, 2019
Blob store compression was not enabled for some of the files in
snapshots due to constructor accessing sub-class fields. Fixed to
instead accept compress field as constructor param. Also fixed chunk
size validation to work.

Deprecated repositories.fs.compress setting as well to be able to unify
in a future commit.
henningandersen added a commit to henningandersen/elasticsearch that referenced this pull request Feb 25, 2019
Blob store compression was all implemented generally, except reading the
setting for it. Moved the setting to BlobStoreRepository to unify this.
Also removed deprecated env setting 'repositories.fs.compress'.

This is a follow up on elastic#39073
henningandersen added a commit to henningandersen/elasticsearch that referenced this pull request Feb 27, 2019
Added breaking changes documentation on the removed
'repositories.fs.compress' setting.

This is a follow up on elastic#39073
henningandersen added a commit that referenced this pull request Feb 28, 2019
Blob store compression was all implemented generally, except reading the
setting for it. Moved the setting to BlobStoreRepository to unify this.
Also removed deprecated env setting 'repositories.fs.compress'.

This is a follow up on #39073
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants