[ https://issues.apache.org/jira/browse/CASSANDRA-6993?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13971959#comment-13971959 ]
Joshua McKenzie commented on CASSANDRA-6993: -------------------------------------------- Hard-coded in DatabaseDescriptor to use Config.DiskAccessMode.standard for both file and index access if it's not a unix environment. I also took the liberty of changing the isUnix check to strcmp once on class init and then reference a set boolean later rather than checking the string every time we called the function. > Windows: remove mmap'ed I/O for index files and force standard file access > -------------------------------------------------------------------------- > > Key: CASSANDRA-6993 > URL: https://issues.apache.org/jira/browse/CASSANDRA-6993 > Project: Cassandra > Issue Type: Improvement > Reporter: Joshua McKenzie > Assignee: Joshua McKenzie > Priority: Minor > Fix For: 3.0 > > Attachments: 6993_v1.txt > > > Memory-mapped I/O on Windows causes issues with hard-links; we're unable to > delete hard-links to open files with memory-mapped segments even using nio. > We'll need to push for close to performance parity between mmap'ed I/O and > buffered going forward as the buffered / compressed path offers other > benefits. -- This message was sent by Atlassian JIRA (v6.2#6252)