-
Notifications
You must be signed in to change notification settings - Fork 25.7k
Rename setting to enable mmap #37070
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
Rename setting to enable mmap #37070
Conversation
With this commit we rename `node.store.allow_mmapfs` to `node.store.allow_mmap`. Previously this setting has controlled whether `mmapfs` could be used as a store type. With the introduction of `hybridfs` which also relies on memory-mapping, `node.store.allow_mmapfs` also applies to `hybridfs` and thus we rename it in order to convey that it is actually used to allow memory-mapping but not a specific store type. Relates elastic#36668
|
Pinging @elastic/es-distributed |
| [float] | ||
| ==== Disabling memory-mapping | ||
|
|
||
| * The deprecated `node.store.allow_mmapfs` setting has been removed in favour of |
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 will create a separate PR on 6.x which introduces node.store.allow_mmapfs as a deprecated setting.
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'm wondering that saying "renamed to" rather than "removed in favour of" might be clearer?
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.
Makes sense. I changed it now to
The setting
node.store.allow_mmapfshas been renamed tonode.store.allow_mmap.
| [float] | ||
| ==== Disabling memory-mapping | ||
|
|
||
| * The deprecated `node.store.allow_mmapfs` setting has been removed in favour of |
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'm wondering that saying "renamed to" rather than "removed in favour of" might be clearer?
|
@elasticmachine test this please |
With this commit we deprecate the setting `node.store.allow_mmapfs` and add a new setting `node.store.allow_mmap`. Previously this setting has controlled whether `mmapfs` could be used as a store type. With the introduction of `hybridfs` which also relies on memory-mapping the old setting name is no longer appropriate as it also applies to `hybridfs`and thus we rename it in order to convey that it is actually used to allow memory-mapping but not a specific store type. Relates #37067 Relates #37070 Relates #37095
With this commit we rename
node.store.allow_mmapfstonode.store.allow_mmap. Previously this setting has controlled whethermmapfscould be used as a store type. With the introduction ofhybridfswhich also relies on memory-mapping,node.store.allow_mmapfsalso applies tohybridfsand thus we renameit in order to convey that it is actually used to allow memory-mapping
but not a specific store type.
Relates #36668