apache / apache/pinot

Toggle instance state API may not work when there are realtime segments in OFFLINE state

Open
#4,653 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
6.1k
Forks
1.5k
Avg merge
2d 55m
Merged PRs (30d)
182

Description

Handle the case when realtime segments are in OFFLINE state because there're some problem with realtime segment consumption, and realtime segment will mark itself as OFFLINE in ideal state.

The current API of toggling instance state just checks whether the current state is the same as `OFFLINE` state, while there's one exception that realtime segment will intentionally mark itself as `OFFLINE` in ideal state when there's some problem during the consumption.

Contributor guide

Open the contributing guide

Research direction

No files or tests are named. Start by tracing the current instance-state toggle API and how realtime segments mark themselves OFFLINE during consumption problems. Done means the API distinguishes that intentional realtime-segment state from an instance that should be toggled offline.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
distributed-systems
Issue type
Bug
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.