[infinispan-issues] [JBoss JIRA] (ISPN-1663) Grid filesystem improvements
Marko Lukša (Updated) (JIRA)
jira-events at lists.jboss.org
Tue Jan 3 14:49:09 EST 2012
[ https://issues.jboss.org/browse/ISPN-1663?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Marko Lukša updated ISPN-1663:
------------------------------
Description:
- Implement appending to files (up to now, the append parameter was ignored)
- Implement GridFile.getParent() and getParentFile()
- Implement GridFile.lastModified()
- Prevent writing to and reading from directories
- Fix bugs related to non-default chunk size
- Leak when overwriting existing file with shorter content length (excess file chunks are never removed from cache)
- Leak when calling GridFile.delete() (removes only file metadata, but not the actual file contents)
- GridFile.createNewFile() does not honor the contract of File.createNewFile()
- GridFile.list() does not honor contract of File.list() and also has a few bugs (it doesn't handle file separators correctly)
- GridFilesystem.getFile(File, String) creates File with illegal path (on windows, the created file begins with "C:\...")
- mkdir() fails on "/dir", but works on "dir"
- the root dir is not handled properly
- add javadoc to GridFilesystem
- GridFilesystem.remove() should not be public
- GridFile.setLength() should throw exception instead of printing to System.err
was:
- Implement appending to files (up to now, the append parameter was ignored)
- Implement GridFile.getParent() and getParentFile()
- Implement GridFile.lastModified()
- Prevent writing to and reading from directories
- Fix bugs related to non-default chunk size
- Leak when overwriting existing file with shorter content length (excess file chunks are never removed from cache)
- Leak when calling GridFile.delete() (removes only file metadata, but not the actual file contents)
- GridFile.createNewFile() does not honor the contract of File.createNewFile()
- GridFile.list() does not honor contract of File.list() and also has a few bugs (it doesn't handle file separators correctly)
- GridFilesystem.getFile(File, String) creates File with illegal path (on windows, the created file begins with "C:\...")
- mkdir() fails on "/dir", but works on "dir"
- the root dir is not handled properly
- add javadoc to GridFilesystem
> Grid filesystem improvements
> ----------------------------
>
> Key: ISPN-1663
> URL: https://issues.jboss.org/browse/ISPN-1663
> Project: Infinispan
> Issue Type: Enhancement
> Reporter: Marko Lukša
> Assignee: Manik Surtani
> Fix For: 5.1.0.CR3
>
>
> - Implement appending to files (up to now, the append parameter was ignored)
> - Implement GridFile.getParent() and getParentFile()
> - Implement GridFile.lastModified()
> - Prevent writing to and reading from directories
> - Fix bugs related to non-default chunk size
> - Leak when overwriting existing file with shorter content length (excess file chunks are never removed from cache)
> - Leak when calling GridFile.delete() (removes only file metadata, but not the actual file contents)
> - GridFile.createNewFile() does not honor the contract of File.createNewFile()
> - GridFile.list() does not honor contract of File.list() and also has a few bugs (it doesn't handle file separators correctly)
> - GridFilesystem.getFile(File, String) creates File with illegal path (on windows, the created file begins with "C:\...")
> - mkdir() fails on "/dir", but works on "dir"
> - the root dir is not handled properly
> - add javadoc to GridFilesystem
> - GridFilesystem.remove() should not be public
> - GridFile.setLength() should throw exception instead of printing to System.err
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the infinispan-issues
mailing list