Uploaded image for project: 'Infinispan'
  1. Infinispan
  2. ISPN-1663

Grid filesystem improvements

    XMLWordPrintable

Details

    • Enhancement
    • Resolution: Done
    • Major
    • 5.1.0.CR3, 5.1.0.FINAL
    • None
    • None
    • None

    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

      Attachments

        Activity

          People

            manik_jira Manik Surtani (Inactive)
            marko.luksa@gmail.com Marko Luksa (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: