apache / accumulo

Apache Accumulo
https://accumulo.apache.org
Apache License 2.0
1.07k stars 445 forks source link

avoid reading from zookeeper when clearing zoocache entries #5008

Closed keith-turner closed 3 weeks ago

keith-turner commented 4 weeks ago

This change indirectly fixes ZombieScanIT. That test was creating scanners running in a thread and interrupting those threads. The interrupts were routinely being ingnored by code in zoocache that ignores interrupts when reading from zookeeper. Looking at the code that was reading from zookeeper, that code was attempting clear entries in the cache. Modified this code to avoid reading from zookeeper when clearing the cache.

keith-turner commented 4 weeks ago

This change will probably fix a failure in InterruptibleScannersIT also.