Skip to content

Also mmap cfs files for hybridfs (#38940)#38948

Merged
danielmitterdorfer merged 1 commit intoelastic:7.0from
danielmitterdorfer:backport-7-0-hybridfs-with-cfs
Feb 15, 2019
Merged

Also mmap cfs files for hybridfs (#38940)#38948
danielmitterdorfer merged 1 commit intoelastic:7.0from
danielmitterdorfer:backport-7-0-hybridfs-with-cfs

Conversation

@danielmitterdorfer
Copy link
Copy Markdown
Member

With this commit we add the .cfs file extension to the list of file
types that are memory-mapped by hybridfs. .cfs files combine all files
of a Lucene segment into a single file in order to save file handles. As
this strategy is only used for "small" segments (less than 10% of the
shard size), it is benefical to memory-map them instead of accessing
them via NIO.

Relates #36668

With this commit we add the `.cfs` file extension to the list of file
types that are memory-mapped by hybridfs. `.cfs` files combine all files
of a Lucene segment into a single file in order to save file handles. As
this strategy is only used for "small" segments (less than 10% of the
shard size), it is benefical to memory-map them instead of accessing
them via NIO.

Relates elastic#36668
@danielmitterdorfer danielmitterdorfer added >enhancement :Distributed/Engine Anything around managing Lucene and the Translog in an open shard. backport labels Feb 15, 2019
@elasticmachine
Copy link
Copy Markdown
Collaborator

Pinging @elastic/es-distributed

@danielmitterdorfer danielmitterdorfer merged commit 9295ab3 into elastic:7.0 Feb 15, 2019
@danielmitterdorfer danielmitterdorfer deleted the backport-7-0-hybridfs-with-cfs branch February 15, 2019 14:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport :Distributed/Engine Anything around managing Lucene and the Translog in an open shard. >enhancement

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants