Skip to content

Conversation

@danielmitterdorfer
Copy link
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 Indexing/Engine Anything around managing Lucene and the Translog in an open shard. backport labels Feb 15, 2019
@elasticmachine
Copy link
Collaborator

Pinging @elastic/es-distributed

@danielmitterdorfer danielmitterdorfer merged commit fcc7f55 into elastic:7.x Feb 15, 2019
@danielmitterdorfer danielmitterdorfer deleted the backport-7-x-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 Indexing/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