Skip to content

Commit 9ffe92b

Browse files
authored
fix an incorrect call in ClientSideIteratorScanner (#6036)
`batchTimeout` was set to `scanner.getTimeout(MILLISECONDS)` instead of `scanner.getBatchTimeout(MILLISECONDS)`
1 parent ab9c420 commit 9ffe92b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/src/main/java/org/apache/accumulo/core/client/ClientSideIteratorScanner.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,7 @@ public ClientSideIteratorScanner(final Scanner scanner) {
177177
this.range = scanner.getRange();
178178
this.size = scanner.getBatchSize();
179179
this.retryTimeout = scanner.getTimeout(MILLISECONDS);
180-
this.batchTimeout = scanner.getTimeout(MILLISECONDS);
180+
this.batchTimeout = scanner.getBatchTimeout(MILLISECONDS);
181181
this.readaheadThreshold = scanner.getReadaheadThreshold();
182182
SamplerConfiguration samplerConfig = scanner.getSamplerConfiguration();
183183
if (samplerConfig != null) {

0 commit comments

Comments
 (0)