cshannon commented on code in PR #4829:
URL: https://github.com/apache/accumulo/pull/4829#discussion_r1730042285
##########
server/tserver/src/main/java/org/apache/accumulo/tserver/session/ScanSession.java:
##########
@@ -180,9 +183,18 @@ public TabletResolver getTabletResolver() {
return tabletResolver;
}
+ public ScanTask<T> getScanTask() {
+ return scanTask;
+ }
+
+ public void setScanTask(ScanTask<T> scanTask) {
+ this.scanTask = scanTask;
+ }
+
@Override
public boolean cleanup() {
tabletResolver.close();
+
Review Comment:
The cleanup method could be simplified:
```suggestion
@Override
public boolean cleanup() {
tabletResolver.close();
return super.cleanup();
}
```
--
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]