You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In DefaultSystemRegistry, you will receive a ConcurrentModificationException when calling removeEntries() with a System Filter to remove systems from a database. However, this issue does not occur if you remove the systems iteratively. This occurs in the registerDatabase() method and the exception does not throw when removing data streams or command streams, but only when removing systems.
systemStateDb.getDataStreamStore().removeEntries(dsFilter);
systemStateDb.getCommandStreamStore().removeEntries(csFilter);
varcount = systemStateDb.getSystemDescStore().removeEntries(topLevelSystemsFilter);
if (count > 0)
List<ISystemWithDesc> procsToRemove = systemStateDb.getSystemDescStore().select(procFilter).collect(Collectors.toList());
for(varproc : procsToRemove)
systemStateDb.getSystemDescStore().remove(proc.getUniqueIdentifier());
// var count = systemStateDb.getSystemDescStore().removeEntries(procFilter);// if (count > 0)log.info("Database #{} now handles system {}. Removing all records from state DB", db.getDatabaseNum(), uid);
The text was updated successfully, but these errors were encountered:
In DefaultSystemRegistry, you will receive a
ConcurrentModificationException
when callingremoveEntries()
with a System Filter to remove systems from a database. However, this issue does not occur if you remove the systems iteratively. This occurs in theregisterDatabase()
method and the exception does not throw when removing data streams or command streams, but only when removing systems.The text was updated successfully, but these errors were encountered: