bbejeck opened a new pull request, #23841: URL: https://github.com/apache/kafka/pull/23841
Follow-up to KAFKA-14302 (#23298). `maybeAdvanceStandbyRestoredOffset` called the blocking `restoreConsumer.position()`, which can wait up to `default.api.timeout.ms` while the position is unresolved. It runs on every restore loop for every standby changelog, including paused ones while actives restore, so a single standby could stall the state-updater thread. Both calls now use `position(partition, Duration.ZERO)`, and a timeout is logged at debug and retried on the next loop. -- 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]
