ankitsultana commented on issue #12390:
URL: https://github.com/apache/pinot/issues/12390#issuecomment-1957808371

   Ah my bad, I wasn't clear in the description above. Soon after the segment 
receives a DISCARD from the controller, there's a Helix disconnection. And a 
few seconds later the server reconnects and is back online.
   
   My understanding is that after Helix reconnects, the segment will show up as 
OFFLINE and hence trigger the OFFLINE to ONLINE transition.
   
   Sampled some logs which show this:
   
   ```
   {"@timestamp":"2024-02-12T11:17:02.203+00:00","message":"Controller response 
{\"buildTimeSec\":-1,\"isSplitCommitType\":false,\"streamPartitionMsgOffset\":null,\"offset\":-1,\"status\":\"DISCARD\"}
 for http://redacted:1234/segmentConsumed?
   
reason=timeLimit&streamPartitionMsgOffset=368526984&instance=redacted&offset=-1&name=redacted__44__3696__20240212T1016Z&rowCount=48937&memoryUsedBytes=80637706","logger_name":"org.apache.pinot.server.realtime
   
.ServerSegmentCompletionProtocolHandler","thread_name":"redacted__44__3696__20240212T1016Z","level":"INFO"}
   ....
   {"@timestamp":"2024-02-12T11:17:03.801+00:00","message":"Unable to reconnect 
to ZooKeeper service, session 0x500e8e168947a76 has 
expired","logger_name":"org.apache.zookeeper.ClientCnxn","thread_name":"main-SendThread(redacted:2181)","level":"WARN"}
   ```
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@pinot.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@pinot.apache.org
For additional commands, e-mail: commits-h...@pinot.apache.org

Reply via email to