dlmarion commented on code in PR #5420:
URL: https://github.com/apache/accumulo/pull/5420#discussion_r2005995984


##########
server/base/src/main/java/org/apache/accumulo/server/tables/TableManager.java:
##########
@@ -57,29 +57,37 @@
 public class TableManager {
 
   private static final Logger log = 
LoggerFactory.getLogger(TableManager.class);
-  private static final Set<TableObserver> observers = 
Collections.synchronizedSet(new HashSet<>());
-  private static final Map<TableId,TableState> tableStateCache =
-      Collections.synchronizedMap(new HashMap<>());
   private static final byte[] ZERO_BYTE = {'0'};
 
+  private final Set<TableObserver> observers = Collections.synchronizedSet(new 
HashSet<>());
+  private final Map<TableId,TableState> tableStateCache =

Review Comment:
   curious if we can get rid of this cache.



-- 
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]

Reply via email to