keith-turner commented on code in PR #4735:
URL: https://github.com/apache/accumulo/pull/4735#discussion_r1676247874
##########
core/src/main/java/org/apache/accumulo/core/iterators/user/VisibilityFilter.java:
##########
@@ -46,6 +47,7 @@ public class VisibilityFilter extends Filter implements
OptionDescriber {
private AccessEvaluator accessEvaluator;
protected Map<ByteSequence,Boolean> cache;
+ private ArrayByteSequence testVis = new ArrayByteSequence(new byte[0]);
Review Comment:
No this was not thread safe before and was never intended to be thread
safe. The LRUMap used for caching is not thread safe.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]