Uploaded image for project: 'Crowd Data Center'
  1. Crowd Data Center
  2. CWD-2346

RemoteDirectorySynchronisedEvent fired too early

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Low
    • 2.2.3
    • 2.2.1
    • None
    • None

    Description

      The RemoteDirectorySynchronisedEvent is fired too early. Currently it is fired in com.atlassian.crowd.directory.ldap.cache.AbstractCacheRefresher#synchroniseAll (or com.atlassian.crowd.directory.ldap.cache.UsnChangedCacheRefresher#synchroniseChanges), before the directory attribute IS_SYNCHRONISING is reset (in com.atlassian.crowd.manager.directory.DirectorySynchroniserHelperImpl#updateSyncEndTime), making it impossible to reliably wait until the synchronisation job completes. It needs to be fired after this attribute is updated instead.

      Attachments

        Activity

          People

            onevalainen Olli Nevalainen
            richatkins Richard Atkins
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - 3h
                3h
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 3h
                3h