mirror of https://github.com/apache/druid.git
interrupt queries on incremental indexer
This commit is contained in:
parent
99c9a2cf05
commit
c08002aa4d
|
@ -201,6 +201,10 @@ public class IncrementalIndexStorageAdapter implements StorageAdapter
|
||||||
}
|
}
|
||||||
|
|
||||||
while (baseIter.hasNext()) {
|
while (baseIter.hasNext()) {
|
||||||
|
if (Thread.interrupted()) {
|
||||||
|
throw new QueryInterruptedException();
|
||||||
|
}
|
||||||
|
|
||||||
currEntry.set(baseIter.next());
|
currEntry.set(baseIter.next());
|
||||||
|
|
||||||
if (filterMatcher.matches()) {
|
if (filterMatcher.matches()) {
|
||||||
|
|
Loading…
Reference in New Issue