[
https://issues.apache.org/jira/browse/PHOENIX-7785?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Himanshu Gwalani resolved PHOENIX-7785.
---------------------------------------
Resolution: Fixed
> Infinite loop if there is a persistent issue when processing in-progress files
> ------------------------------------------------------------------------------
>
> Key: PHOENIX-7785
> URL: https://issues.apache.org/jira/browse/PHOENIX-7785
> Project: Phoenix
> Issue Type: Sub-task
> Reporter: Tanuj Khurana
> Assignee: Himanshu Gwalani
> Priority: Major
>
> The replay service can get stuck in an infinite loop if there is a persistent
> issue while processing older files in the in-progress directory.
> {code:java}
> files =
> replicationLogTracker.getOlderInProgressFiles(oldestTimestampToProcess);
> while (!files.isEmpty()) {
> processOneRandomFile(files);
> files =
> replicationLogTracker.getOlderInProgressFiles(oldestTimestampToProcess);
> } {code}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)