-
Type: Bug
-
Status: Resolved
-
Priority: Major
-
Resolution: Duplicate
-
Affects Version/s: None
-
Fix Version/s: 4.1.2
-
Component/s: Synchronizer
-
Epic Link:
-
Backlog priority:400
- install server 6.0HF35
- add the following to nuxeo.conf:
nuxeo.db.max-pool-size=55 nuxeo.vcs.max-pool-size=50 nuxeo.vcs.blocking-timeout-millis=2000
- start up the server and ensure Workspaces (type WorkspaceRoot) exists
- install client 2.1.1221 on Windows 10
- import documents and users with the following commands (attached scripts):
importDocsNXDRIVE701.sh &> /dev/null importUsersNXDRIVE701.sh &> /dev/null
- on server, create group named testusers
- add users to testusers group using the following command (script attached):
importUsersIntoGroup.sh &> /dev/null
- give Read permission to group testusers on workspace testWorkspaceNXDRIVE701
- create another workspace named testWorkspaceNXDRIVE701RenameScenario
- enable synchronization on this workspace
- on the client side create an excel file named originalFile.xls with an office suite (MS or Libre) and save it on the desktop
- setup client and wait for workspace synchronization
- install Gatling 2.2.3
- use user-files.tar and launch simulation named NXDRIVE701Simulation
- wait for the server to be loaded (between 350% and 450% cpu on my machine)
- 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)
- on the Drive client side ensure the client is ready and not synchronizing
- drop the excel file
- open the excel file, edit it, save it
- rename the excel file to renamedFile.xls
- the Drive client detects the change and tries to upload the it
- 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.
- after some time the Drive switches to download and renames the file to originalFile.xls
- 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.