[jira] [Commented] (IO-340) The use of file.exists() is failure prone. Where file.exists() is checked, it should be replaced with the following dual check: exists = ( file.exists() || file.length()0

2012-10-13 Thread Sebb (JIRA)
[ https://issues.apache.org/jira/browse/IO-340?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13475599#comment-13475599 ] Sebb commented on IO-340: - If file.length() really does refresh the NFS cache, then it should be more

[jira] [Commented] (IO-340) The use of file.exists() is failure prone. Where file.exists() is checked, it should be replaced with the following dual check: exists = ( file.exists() || file.length()0

2012-08-04 Thread Sebb (JIRA)
[ https://issues.apache.org/jira/browse/IO-340?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13428589#comment-13428589 ] Sebb commented on IO-340: - Strange that file.exists() should not cause a handle refresh whereas it

[jira] [Commented] (IO-340) The use of file.exists() is failure prone. Where file.exists() is checked, it should be replaced with the following dual check: exists = ( file.exists() || file.length()0

2012-08-04 Thread Wilf Middleton (JIRA)
[ https://issues.apache.org/jira/browse/IO-340?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13428795#comment-13428795 ] Wilf Middleton commented on IO-340: --- More proof for Murphy's Law. The use

[jira] [Commented] (IO-340) The use of file.exists() is failure prone. Where file.exists() is checked, it should be replaced with the following dual check: exists = ( file.exists() || file.length()0

2012-08-03 Thread Sebb (JIRA)
[ https://issues.apache.org/jira/browse/IO-340?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13428330#comment-13428330 ] Sebb commented on IO-340: - Do you have any reference to documentation for this behaviour? If it is

[jira] [Commented] (IO-340) The use of file.exists() is failure prone. Where file.exists() is checked, it should be replaced with the following dual check: exists = ( file.exists() || file.length()0

2012-08-03 Thread Wilf Middleton (JIRA)
[ https://issues.apache.org/jira/browse/IO-340?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13428380#comment-13428380 ] Wilf Middleton commented on IO-340: --- The bug is known:

[jira] [Commented] (IO-340) The use of file.exists() is failure prone. Where file.exists() is checked, it should be replaced with the following dual check: exists = ( file.exists() || file.length()0

2012-08-03 Thread Sebb (JIRA)
[ https://issues.apache.org/jira/browse/IO-340?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13428418#comment-13428418 ] Sebb commented on IO-340: - Thanks. The bug says that the problem is with the stat() call, which may

[jira] [Commented] (IO-340) The use of file.exists() is failure prone. Where file.exists() is checked, it should be replaced with the following dual check: exists = ( file.exists() || file.length()0

2012-08-03 Thread Wilf Middleton (JIRA)
[ https://issues.apache.org/jira/browse/IO-340?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13428504#comment-13428504 ] Wilf Middleton commented on IO-340: --- Repeats calls to file.exists() does nothingto remedy