You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pinot.apache.org by ap...@apache.org on 2019/01/02 23:52:47 UTC
[incubator-pinot] branch master updated: [TE] task - relax task
retrieval to 5 per polling cycle (#3631)
This is an automated email from the ASF dual-hosted git repository.
apucher pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-pinot.git
The following commit(s) were added to refs/heads/master by this push:
new 9d50d1b [TE] task - relax task retrieval to 5 per polling cycle (#3631)
9d50d1b is described below
commit 9d50d1b44007424cab963058fac425025b0c4a19
Author: Alexander Pucher <ap...@linkedin.com>
AuthorDate: Wed Jan 2 15:52:42 2019 -0800
[TE] task - relax task retrieval to 5 per polling cycle (#3631)
After confirming database bottleneck in #3629, we can relax the task retrieval limit to 5 per cycle to increase throughput again
---
.../com/linkedin/thirdeye/datalayer/bao/jdbc/TaskManagerImpl.java | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/thirdeye/thirdeye-pinot/src/main/java/com/linkedin/thirdeye/datalayer/bao/jdbc/TaskManagerImpl.java b/thirdeye/thirdeye-pinot/src/main/java/com/linkedin/thirdeye/datalayer/bao/jdbc/TaskManagerImpl.java
index 26a61e8..b44db6d 100644
--- a/thirdeye/thirdeye-pinot/src/main/java/com/linkedin/thirdeye/datalayer/bao/jdbc/TaskManagerImpl.java
+++ b/thirdeye/thirdeye-pinot/src/main/java/com/linkedin/thirdeye/datalayer/bao/jdbc/TaskManagerImpl.java
@@ -38,10 +38,10 @@ import com.linkedin.thirdeye.datalayer.util.Predicate;
public class TaskManagerImpl extends AbstractManagerImpl<TaskDTO> implements TaskManager {
private static final String FIND_BY_STATUS_ORDER_BY_CREATE_TIME_ASC =
- " WHERE status = :status order by startTime asc limit 1";
+ " WHERE status = :status order by startTime asc limit 5";
private static final String FIND_BY_STATUS_ORDER_BY_CREATE_TIME_DESC =
- " WHERE status = :status order by startTime desc limit 1";
+ " WHERE status = :status order by startTime desc limit 5";
public TaskManagerImpl() {
super(TaskDTO.class, TaskBean.class);
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@pinot.apache.org
For additional commands, e-mail: commits-help@pinot.apache.org