Files
alfresco-community-repo/source/java/org/alfresco/repo/dictionary
Alan Davis f7e3dc7e6c Merged 5.0.N (5.0.3) to HEAD (5.1)
109729: Merged 5.0.2 (5.0.2) to 5.0.N (5.0.3)
      109705: MNT-14463: Deadlock during startup
      DictionaryDAO: Remove side-effect code in:
       - DictionaryRepositoryBootstrap.register: Now it only registers listeners rathern than destroying and rebuilding the dictionary
       - DictionaryDAOImpl.removeDictionaryRegistry: Now it only removes the dictionary rather than removes and reinitialized
      DictionaryRepositoryBootstrap.onBootstrap:
       - RESETS the dictionary (destroy, reinitialize)
       - Then registers listeners
       - Then fires application events
      The stacks and logs for the deadlock show that the dictioanary bootstrap was triggering a background reload
      and then firing the application events without checking that the dictionary had loaded.  The events will now
      only be fired once the dictionary has successfully retrieved an instance i.e. no other code will need to wait
      for the background thread after the reset has finished.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@109804 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2015-08-08 08:01:06 +00:00
..
2015-08-04 01:56:12 +00:00
2015-08-04 01:56:12 +00:00