-
Type: Bug
-
Status: Resolved
-
Priority: Major
-
Resolution: Cannot Reproduce
-
Affects Version/s: 5.2.9
-
Fix Version/s: None
-
Component/s: Synchronizer
If the connection is lost during synchronization, the items in the status window that were in the process of synchronizing get stuck in that state.
Steps to reproduce
1. Upload items to local Nuxeo Drive folder
2. Kill connection to Nuxeo server
3. Restart connection
Expected behavior: Once the connection is restored, the items finish synchronizing
Actual Results: Items that were in the middle of synchronizing when the connection was lost do not continue synchronizing. They are stuck in the synchronizing state
I see these messages in the Nuxeo Drive logs
2022-05-25 19:08:42 44514 123145600409600 INFO nxdrive.engine.queue_manager Temporary ignore pair for 60s: <DocPair[445] local_path=PosixPath("Workspaces - Nikki's Workspace - NXDrive Folder/gs1Product_02900002173 copy 4.jpg"), local_parent_path=PosixPath("Workspaces - Nikki's Workspace - NXDrive Folder"), remote_ref='', local_state='created', remote_state='unknown', pair_state='locally_created', last_error=None> 2022-05-25 19:08:42 44514 123145601482752 INFO nxdrive.engine.processor Creating remote document 'gs1Product_02900002173 copy.jpg' in folder "Workspaces - Nikki's Workspace - NXDrive Folder" 2022-05-25 19:08:42 44514 123145602555904 INFO nxdrive.engine.processor OngoingRequestError: a request with the idempotency key '1df86399-96bc-473b-a0fa-058cca0425e1' is already being processed. 2022-05-25 19:08:42 44514 123145602555904 INFO nxdrive.engine.queue_manager Temporary ignore pair for 60s: <DocPair[443] local_path=PosixPath("Workspaces - Nikki's Workspace - NXDrive Folder/gs1Product_02900002173 copy 2.jpg"), local_parent_path=PosixPath("Workspaces - Nikki's Workspace - NXDrive Folder"), remote_ref='', local_state='created', remote_state='unknown', pair_state='locally_created', last_error=None> 2022-05-25 19:08:42 44514 123145601482752 INFO nxdrive.engine.processor OngoingRequestError: a request with the idempotency key 'e9910d31-6261-4850-b439-594c00efe774' is already being processed. 2022-05-25 19:08:42 44514 123145600946176 INFO nxdrive.engine.processor OngoingRequestError: a request with the idempotency key '759bc270-ce2a-40b6-99ea-fbd27e9c2cf2' is already being processed. 2022-05-25 19:08:42 44514 123145601482752 INFO nxdrive.engine.queue_manager Temporary ignore pair for 60s: <DocPair[447] local_path=PosixPath("Workspaces - Nikki's Workspace - NXDrive Folder/gs1Product_02900002173 copy.jpg"), local_parent_path=PosixPath("Workspaces - Nikki's Workspace - NXDrive Folder"), remote_ref='', local_state='created', remote_state='unknown', pair_state='locally_created', last_error=None> 2022-05-25 19:08:42 44514 123145600946176 INFO nxdrive.engine.queue_manager Temporary ignore pair for 60s: <DocPair[448] local_path=PosixPath("Workspaces - Nikki's Workspace - NXDrive Folder/gs1Product_02900002173.jpg"), local_parent_path=PosixPath("Workspaces - Nikki's Workspace - NXDrive Folder"), remote_ref='', local_state='created', remote_state='unknown', pair_state='locally_created', last_error=None> 2022-05-25 19:09:13 44514 4668122624 INFO nxdrive.engine.engine Checking sync for engine 6a4463be77b011ec85d2acde48001122: queue manager is inactive (size=0), empty remote polls count is 2, local watcher empty events is True, errors queue size is 0 and syncing count is 4
The above 4 files are the ones that got stuck in the synchronizing state.
Note: I was able to reproduce this issue when uploading 1800 items to my local Nuxeo Drive folder. A previous test with 200 items did not have this issue.