Open keith-ratcliffe opened 3 years ago
Linking issue on source repo: #3
As I suspected, server.log reveals the source of the race condition to be AccumuloTableCache reload, which occurred at the exact same time as as the ConcurrentModificationException above...
2021-03-03 19:18:01,027 INFO [datawave.webservice.common.cache.AccumuloTableCache] (EJB default - 1) Reloading datawave.metadata
2021-03-03 19:18:01,027 INFO [datawave.webservice.common.cache.AccumuloTableCache] (EJB default - 1) Reloading datawave.queryMetrics_m
2021-03-03 19:18:01,027 INFO [datawave.webservice.common.cache.AccumuloTableCache] (EJB default - 1) Reloading datawave.error_m
2021-03-03 19:18:01,345 INFO [datawave.webservice.common.cache.BaseTableCache] (EE-ManagedExecutorService-default-Thread-12) Cached 84 k,v for table: datawave.error_m
2021-03-03 19:18:01,396 INFO [datawave.webservice.common.cache.BaseTableCache] (EE-ManagedExecutorService-default-Thread-16) Cached 102 k,v for table: datawave.queryMetrics_m
There appears to be a race condition with at least one of InMemoryAccumulo's internal HashMaps, specifically the
tables
map in this caseFailed query...
First sign of trouble in Wildfly Query.log...