Uploaded image for project: 'PUBLIC - Liferay Sync'
  1. PUBLIC - Liferay Sync
  2. SYNC-1062

Sync always downloads all of the dlsync events and does not update the time marker for downloads

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 1.1.1 GA1
    • Fix Version/s: 1.2.0 GA1
    • Component/s: General
    • Labels:
      None
    • Environment:
      All

      Description

      1) Start sync
      2) copy and paste a large complex folder with lots of files
      3) Wait to finish uploading
      4) Edit a local file and have it uploaded.

      After step 3 sync will be bringing down all the changes since the last time for example

      12:28:04,710 TRACE [BaseEvent:99] Request URL /api/secure/jsonws/dlsync/get-dl-sync-update/company-id/10154/repository-id/10198/last-access-date/1379704831889, this is correct.

      However after step 4 the time for the getting the dlsync should be moved ahead to the time of the latest change (done in step 4), however it remains at the original.

      12:27:29,701 TRACE [BaseEvent:99] Request URL /api/secure/jsonws/dlsync/get-dl-sync-update/company-id/10154/repository-id/10198/last-access-date/1379704831889

      Sync should no longer be getting the whole list of changes, they should have already been processed and only the short list of one file changes should be being download. Instead this continues to repeat downloading all the changes which results in a lot of extra processing

      12:27:15,334 TRACE [GetDLSyncUpdateEvent:273] Skipping C:/Users/liferay/Documents/liferay-sync/My Documents (test)/test 1/bin/com/liferay/portal/kernel/servlet
      12:27:15,334 TRACE [GetDLSyncUpdateEvent:273] Skipping C:/Users/liferay/Documents/liferay-sync/My Documents (test)/test 1/bin/com/liferay/portal/kernel/util
      12:27:15,334 TRACE [GetDLSyncUpdateEvent:273] Skipping C:/Users/liferay/Documents/liferay-sync/My Documents (test)/test 1/bin/com/liferay/sync
      12:27:15,334 TRACE [GetDLSyncUpdateEvent:273] Skipping C:/Users/liferay/Documents/liferay-sync/My Documents (test)/test 1/bin/com/liferay/sync/gui
      12:27:15,334 TRACE [GetDLSyncUpdateEvent:273] Skipping C:/Users/liferay/Documents/liferay-sync/My Documents (test)/test 1/bin/com/liferay/sync/gui/desktop
      12:27:15,334 TRACE [GetDLSyncUpdateEvent:273] Skipping C:/Users/liferay/Documents/liferay-sync/My Documents (test)/test 1/bin/com/liferay/sync/gui/desktop/about
      12:27:15,335 TRACE [GetDLSyncUpdateEvent:273] Skipping C:/Users/liferay/Documents/liferay-sync/My Documents (test)/test 1/bin/com/liferay/sync/gui/desktop/downgrade
      12:27:15,335 TRACE [GetDLSyncUpdateEvent:273] Skipping C:/Users/liferay/Documents/liferay-sync/My Documents (test)/test 1/bin/com/liferay/sync/gui/desktop/notification
      12:27:15,335 TRACE [GetDLSyncUpdateEvent:273] Skipping C:/Users/liferay/Documents/liferay-sync/My Documents (test)/test 1/bin/com/liferay/sync/gui/desktop/notification/growl
      12:27:15,335 TRACE [GetDLSyncUpdateEvent:273] Skipping C:/Users/liferay/Documents/liferay-sync/My Documents (test)/test 1/bin/com/liferay/sync/gui/desktop/notification/growl/listener
      12:27:15,335 TRACE [GetDLSyncUpdateEvent:273] Skipping C:/Users/liferay/Documents/liferay-sync/My Documents (test)/test 1/bin/com/liferay/sync/gui/desktop/notification/model
      12:27:15,335 TRACE [GetDLSyncUpdateEvent:273] Skipping C:/Users/liferay/Documents/liferay-sync/My Documents (test)/test 1/bin/com/liferay/sync/gui/desktop/notification/standard
      12:27:15,335 TRACE [GetDLSyncUpdateEvent:273] Skipping C:/Users/liferay/Documents/liferay-sync/My Documents (test)/test 1/bin/com/liferay/sync/gui/desktop/properties
      12:27:15,336 TRACE [GetDLSyncUpdateEvent:273] Skipping C:/Users/liferay/Documents/liferay-sync/My Documents (test)/test 1/bin/com/liferay/sync/gui/desktop/properties/accountsettings
      12:27:15,336 TRACE [GetDLSyncUpdateEvent:273] Skipping C:/Users/liferay/Documents/liferay-sync/My Documents (test)/test 1/bin/com/liferay/sync/gui/desktop/properties/changerootfolder
      12:27:15,336 TRACE [GetDLSyncUpdateEvent:273] Skipping C:/Users/liferay/Documents/liferay-sync/My Documents (test)/test 1/bin/com/liferay/sync/gui/desktop/properties/changesettings
      12:27:15,336 TRACE [GetDLSyncUpdateEvent:273] Skipping C:/Users/liferay/Documents/liferay-sync/My Documents (test)/test 1/bin/com/liferay/sync/gui/desktop/properties/sslprompt
      12:27:15,336 TRACE [GetDLSyncUpdateEvent:273] Skipping C:/Users/liferay/Documents/liferay-sync/My Documents (test)/test 1/bin/com/liferay/sync/gui/desktop/properties/util
      12:27:15,336 TRACE [GetDLSyncUpdateEvent:273] Skipping C:/Users/liferay/Documents/liferay-sync/My Documents (test)/test 1/bin/com/liferay/sync/gui/desktop/swt
      12:27:15,337 TRACE [GetDLSyncUpdateEvent:273] Skipping C:/Users/liferay/Documents/liferay-sync/My Documents (test)/test 1/bin/com/liferay/sync/gui/desktop/trayicon

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved:
                Days since last comment:
                6 years, 7 weeks, 4 days ago

                Packages

                Version Package
                1.2.0 GA1