Uploaded image for project: 'Nuxeo Platform'
  1. Nuxeo Platform
  2. NXP-11124

Model inconsistency in case of nested synchronization roots

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Nuxeo Drive
    • Tags:
    • Backlog priority:
      600

      Description

      Steps to reproduce:

      • Create a workspace named Workspace and a folder under it: Workspace / Folder and a file name File.txt under it
      • Mark Folder as sync root
      • Wait for the client to pick it up
      • Mark the Workspace as sync root

      Observed: both Folder and Workspace are available as sync roots in the local file system and File.txt is synchronized twice. This is problematic because because when adapting a document (e.g. File) after a change event in the audit log, one walks up the hierarch building the parent path to send the adapted FS item to the client to take the change into account. In our case only the File under Folder will be adapted as we make the simplifying assumption that a document can be mapped into a single node in the virtual FS tree (only one path).

      To fix this model inconsistency we should unbind any existing sub nest roots when binding a container up in the physical repository document tree.

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - 2 hours Original Estimate - 2 hours
                2h
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 1 day
                1d