[
https://issues.apache.org/jira/browse/EAGLE-694?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15614471#comment-15614471
]
ASF GitHub Bot commented on EAGLE-694:
--------------------------------------
Github user RalphSu commented on a diff in the pull request:
https://github.com/apache/incubator-eagle/pull/577#discussion_r85476879
--- Diff:
eagle-core/eagle-alert-parent/eagle-alert/alert-coordinator/src/main/java/org/apache/eagle/alert/coordinator/provider/ScheduleContextBuilder.java
---
@@ -224,7 +224,8 @@ private void
clearMonitoredStreams(List<MonitoredStream> monitoredStreams) {
} else {
StreamWorkSlotQueue queue =
queueMap.get(assignment.getQueueId());
if (queue == null
- ||
policies.get(assignment.getPolicyName()).getParallelismHint() >
queue.getQueueSize()) {
+ ||
policies.get(assignment.getPolicyName()).getParallelismHint() >
queue.getQueueSize()
--- End diff --
use != ?
> alert engine could not reduce alert bolt number when parallelism of policy
> reduces
> ----------------------------------------------------------------------------------
>
> Key: EAGLE-694
> URL: https://issues.apache.org/jira/browse/EAGLE-694
> Project: Eagle
> Issue Type: Bug
> Reporter: wujinhu
> Assignee: wujinhu
>
> alert engine could not reduce alert bolt number when parallelism of policy
> reduces
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)