mirror of https://github.com/apache/druid.git
fix queuedSize not decrease in HttpLoadQueuePeon when load failed (#8596)
This commit is contained in:
parent
9f1f5e115c
commit
a280c5dc03
|
@ -576,6 +576,13 @@ public class HttpLoadQueuePeon extends LoadQueuePeon
|
||||||
queuedSize.addAndGet(-getSegment().getSize());
|
queuedSize.addAndGet(-getSegment().getSize());
|
||||||
super.requestSucceeded();
|
super.requestSucceeded();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public void requestFailed(String failureCause)
|
||||||
|
{
|
||||||
|
queuedSize.addAndGet(-getSegment().getSize());
|
||||||
|
super.requestFailed(failureCause);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
private class DropSegmentHolder extends SegmentHolder
|
private class DropSegmentHolder extends SegmentHolder
|
||||||
|
|
Loading…
Reference in New Issue