apache / apache/druid

Fix concurrency of VersionedIntervalTimeline

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

Description

`getAllTimelineEntries()` allows accessing a collection that might be modified concurrently. See https://github.com/code-review-checklists/java-concurrency#unsafe-concurrent-iteration

Contributor guide

Open the contributing guide

Research direction

Start by locating getAllTimelineEntries() and its callers, then read the surrounding VersionedIntervalTimeline implementation and the linked unsafe-iteration guidance. Trace how the returned collection is used under concurrent modification; done means the method no longer exposes unsafe concurrent iteration and relevant regression coverage passes.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
backend, databases
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.