keith-turner commented on code in PR #3409:
URL: https://github.com/apache/accumulo/pull/3409#discussion_r1202894162


##########
server/base/src/main/java/org/apache/accumulo/server/manager/state/ZooTabletStateStore.java:
##########
@@ -42,16 +39,14 @@ class ZooTabletStateStore extends AbstractTabletStateStore 
implements TabletStat
 
   private static final Logger log = 
LoggerFactory.getLogger(ZooTabletStateStore.class);
   private final Ample ample;
-  private final ClientContext context;
 
   ZooTabletStateStore(ClientContext context) {
     super(context);
-    this.context = context;
     this.ample = context.getAmple();
   }
 
   @Override
-  public ClosableIterator<TabletLocationState> iterator() {
+  public ClosableIterator<ManagerTabletInfo> iterator() {

Review Comment:
   Looking at the ZooTabletStateStore code it takes a ClientContext, so trying 
to something from the manager would not be worthwhile if its not necessary. 



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