You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Garth Pickell (JIRA)" <ji...@apache.org> on 2015/08/01 16:36:04 UTC
[jira] [Updated] (CASSANDRA-9951) For opening files, change over
usages of java.io.* to java.nio.file.Files counterparts to achieve standard
behavior with Windows IFS.
[ https://issues.apache.org/jira/browse/CASSANDRA-9951?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Garth Pickell updated CASSANDRA-9951:
-------------------------------------
Summary: For opening files, change over usages of java.io.* to java.nio.file.Files counterparts to achieve standard behavior with Windows IFS. (was: For opening files, change over usages of java.io.* to java.nio.files.Files counterparts to achieve standard behavior with Windows IFS.)
> For opening files, change over usages of java.io.* to java.nio.file.Files counterparts to achieve standard behavior with Windows IFS.
> -------------------------------------------------------------------------------------------------------------------------------------
>
> Key: CASSANDRA-9951
> URL: https://issues.apache.org/jira/browse/CASSANDRA-9951
> Project: Cassandra
> Issue Type: Improvement
> Components: Core
> Reporter: Garth Pickell
>
> So in windows, the JVM tends to open files without FILE_SHARE_DELETE. This, I think, is a problem for Cassandra in that:
> a) it is not standard behavior.
> b) Cassandra kind of relies on this a lot.
> However, if you use the java.nio.file.Files class instead for opening files. These methods use FILE_SHARE_DELETE.
> I have personally tested this.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)