Uploaded image for project: 'Nuxeo Drive '
  1. Nuxeo Drive
  2. NXDRIVE-701

Renamed file after editing reverts back to original name when server is loaded

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Duplicate
    • Affects Version/s: None
    • Fix Version/s: 4.1.2
    • Component/s: Synchronizer

      Description

      1. install server 6.0HF35
      2. add the following to nuxeo.conf:
        nuxeo.db.max-pool-size=55
        nuxeo.vcs.max-pool-size=50
        nuxeo.vcs.blocking-timeout-millis=2000
        
      3. start up the server and ensure Workspaces (type WorkspaceRoot) exists
      4. install client 2.1.1221 on Windows 10
      5. import documents and users with the following commands (attached scripts):
        importDocsNXDRIVE701.sh &> /dev/null
        importUsersNXDRIVE701.sh &> /dev/null
        
      6. on server, create group named testusers
      7. add users to testusers group using the following command (script attached):
        importUsersIntoGroup.sh &> /dev/null
        
      8. give Read permission to group testusers on workspace testWorkspaceNXDRIVE701
      9. create another workspace named testWorkspaceNXDRIVE701RenameScenario
      10. enable synchronization on this workspace
      11. on the client side create an excel file named originalFile.xls with an office suite (MS or Libre) and save it on the desktop
      12. setup client and wait for workspace synchronization
      13. install Gatling 2.2.3
      14. use user-files.tar and launch simulation named NXDRIVE701Simulation
      15. wait for the server to be loaded (between 350% and 450% cpu on my machine)
      16. this should provide increased response time from the UI or even give errors in the logs (Gatling as well saying the server does not answer)
      17. on the Drive client side ensure the client is ready and not synchronizing
      18. drop the excel file
      19. open the excel file, edit it, save it
      20. rename the excel file to renamedFile.xls
      21. the Drive client detects the change and tries to upload the it
      22. if the client becomes greyed then stop gattling and wait for the server to be responsive. The client should then be back to blue and begin synchronizing again. Restart quickly Gatling.
      23. after some time the Drive switches to download and renames the file to originalFile.xls
      24. wait for complete synchronization -> it stays this way. Moreover on the server the file has been uploaded with the renamed filename leaving the whole synchronization in an inconsistent state.

        Attachments

        1. importDocsNXDRIVE701.sh
          4.15 MB
        2. importUsersIntoGroup.sh
          29 kB
        3. importUsersNXDRIVE701.sh
          64 kB
        4. NXDRIVE701.zip
          927 kB
        5. user-files-NDRIVE701.tar
          37 kB

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: