apache / apache/druid

Coordinator to kick off a new run when loading queues are sufficiently empty

Open
#7,344 3 comments 0 reactions 0 assignees View on GitHub
Area - Segment Balancing/Coordination
Dominant language
Java
Stars
14.1k
Forks
3.8k
Avg merge
2d 58m
Merged PRs (30d)
233

Description

After #7159 is fixed, Coordinator can start a new run as soon as the total number of loading segments drops below the threshold, instead of waiting the full period (default is 1 minute). In some cases, it may make Coordinator be idle almost two times less (60.1 seconds vs. 120 seconds).

Contributor guide

Open the contributing guide

Research direction

Start by reviewing issue #7159 and the Coordinator's loading-queue and run-wait behavior. The change is complete when Coordinator can begin a new run once total loading segments fall below the threshold, without waiting for the full default period, and the behavior is covered by the relevant tests.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
databases, distributed-systems
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.