Details
-
Bug
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
5.10.0, 5.10.1, 5.11.0
-
None
Description
The MultiKahaDBPersistenceAdapter stores the list of PersistenceAdapters in a LinkedList and does not guard against concurrent read / write operations which can lead to exceptions in the logs and possible other subtle issues due to the fact that traversal can be interrupted. The simple solution is to use a CopyOnWriteArrayList here as this list is only added to and the set of adapters is generally not very large. This will prevent an errors during iterations over the set of adapters.