Skip to content

perf: optimize coordinator duty runtime#19532

Draft
jtuglu1 wants to merge 1 commit into
apache:masterfrom
jtuglu1:coordinator-duty-perf
Draft

perf: optimize coordinator duty runtime#19532
jtuglu1 wants to merge 1 commit into
apache:masterfrom
jtuglu1:coordinator-duty-perf

Conversation

@jtuglu1

@jtuglu1 jtuglu1 commented May 30, 2026

Copy link
Copy Markdown
Contributor

Fixes #XXXX.

Description

Fixed the bug ...

Renamed the class ...

Added a forbidden-apis entry ...

Release note


Key changed/added classes in this PR
  • MyFoo
  • OurBar
  • TheirBaz

This PR has:

  • been self-reviewed.
  • added documentation for new or modified features or behaviors.
  • a release note entry in the PR description.
  • added Javadocs for most classes and all non-trivial methods. Linked related entities via Javadoc links.
  • added or updated version, license, or notice information in licenses.yaml
  • added comments explaining the "why" and the intent of the code wherever would not be obvious for an unfamiliar reader.
  • added unit tests or modified existing tests to cover new code paths, ensuring the threshold for code coverage is met.
  • added integration tests.
  • been tested in a test Druid cluster.

@jtuglu1 jtuglu1 added this to the 38.0.0 milestone Jun 16, 2026
@jtuglu1 jtuglu1 force-pushed the coordinator-duty-perf branch from 924dcf0 to 520c157 Compare June 25, 2026 07:55
@jtuglu1 jtuglu1 force-pushed the coordinator-duty-perf branch from 520c157 to b0cea24 Compare June 25, 2026 08:04
@jtuglu1 jtuglu1 force-pushed the coordinator-duty-perf branch from b0cea24 to a2df321 Compare June 25, 2026 08:24
Comment on lines +118 to +128
return new DataSegment(
DATASOURCE,
interval,
"v1",
Collections.emptyMap(),
Collections.emptyList(),
Collections.emptyList(),
null,
0,
1
);

private static DataSegment segment(String datasource, Interval interval, String version)
{
return DataSegment.builder()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants