apache / apache/pinot

FreshnessBasedConsumptionStatusChecker never pass when a table got deleted during the restart.

Closed
#12,381 2 comments 0 reactions 0 assignees View on GitHub
bug stale
Dominant language
Java
Stars
6.1k
Forks
1.5k
Avg merge
1d 21h
Merged PRs (30d)
189

Description

Below are the log reference:
```
2024/02/08 01:19:09.149 INFO [BaseServerStarter] [Start a Pinot [SERVER]] Sleep for 10000ms as service status has not turned GOOD: MultipleCallbackServiceStatusCallback:IdealStateAndCurrentStateMatchServiceStatusCallback:None;IdealStateAndExternalViewMatchServiceStatusCallback:None;RealtimeConsumptionCatchupServiceStatusCallback:Waiting for consuming segments to catchup: numConsumingSegmentsNotCaughtUp=1, timeRemaining=13928231ms;;PinotServiceManagerStatusCallback:Started;

2024/02/08 01:19:09.802 INFO [FreshnessBasedConsumptionStatusChecker] [grizzly-http-server-11] TableDataManager is not yet setup for segment mytable__19__224__20240207T1805Z. Will check consumption status later
```

Contributor guide

Open the contributing guide

Research direction

Start with FreshnessBasedConsumptionStatusChecker and the provided startup log, focusing on the segment whose table is deleted during restart. Trace how the checker handles a missing TableDataManager and verify the status check no longer prevents startup or waits indefinitely when the table has been removed.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.