rseetham opened a new pull request, #18624:
URL: https://github.com/apache/pinot/pull/18624
The /tables/{name}/pauseStatus endpoint returned only a boolean pauseFlag
with no information about which topics were individually paused via the
topic-level pause API. This change surfaces the list of inactive topic indices
already stored in PauseState so callers can see per-topic pause state without
inspecting ZooKeeper directly.
Changes:
- PauseStatusDetails: add indexOfInactiveTopics field with proper
@JsonProperty binding in @JsonCreator for correct round-trip serialization;
return List.copyOf to avoid aliasing PauseState internals; annotate getter
@Nullable since the field is omitted when empty
- PinotLLCRealtimeSegmentManager.getPauseStatusDetails: pass
pauseState.getIndexOfInactiveTopics() through to PauseStatusDetails, removing
the TODO comment
- Tests: add round-trip JSON test and getPauseStatusDetails unit test
covering the inactive-topics code path
`cleanup`
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]