apache / apache/druid

Use Enum keys in CoordinatorStats instead of Strings

Open
#7,092 0 comments 0 reactions 0 assignees View on GitHub
Contributions Welcome Refactoring
Dominant language
Java
Stars
14.1k
Forks
3.8k
Avg merge
2d 58m
Merged PRs (30d)
233

Description

For type safety and performance (EnumMaps should be more compact regular Maps).

Contributor guide

Open the contributing guide

Research direction

Start by locating CoordinatorStats and all of its key and map usages, then inspect the surrounding coordinator code to understand the existing String keys. Confirm the intended enum keys and verify that the coordinator statistics behavior remains unchanged after the key representation is updated.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
backend
Issue type
Refactor
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.