Uploaded image for project: 'onedata'
  1. onedata
  2. VFS-2038

Cache FileLocation for different open modes

XMLWordPrintable

      • Icon: Bug Bug
      • Resolution: Fixed
      • Icon: Major Major
      • None
      • None
      • oneclient
      • None
      • Sprint 79, Sprint 80
      • 2

        Currently, when a file is first opened its location is cached. Consider:

        • open F1 read-only
        • open F2 write-only

        The second operation would lookup the cached location in MetadataCache and reuse the "read-only" location, foregoing permission checks (GetFileLocation and GetNewFileLocation are threated as open in cluster) and potentially trying to write to a read-only storage.

                  plgmwrona MichaƂ Wrona (Inactive)
                  plgkzemek kremek (Inactive)
                  Votes:
                  0 Vote for this issue
                  Watchers:
                  1 Start watching this issue

                    Created:
                    Updated:
                    Resolved: