You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@phoenix.apache.org by "Himanshu Gwalani (Jira)" <ji...@apache.org> on 2026/08/03 10:12:00 UTC

[jira] [Created] (PHOENIX-7978) Add buffer of 1 second, before starting replay loop to avoid delay in Failover

Himanshu Gwalani created PHOENIX-7978:
-----------------------------------------

             Summary: Add buffer of 1 second, before starting replay loop to avoid delay in Failover
                 Key: PHOENIX-7978
                 URL: https://issues.apache.org/jira/browse/PHOENIX-7978
             Project: Phoenix
          Issue Type: Sub-task
            Reporter: Himanshu Gwalani
            Assignee: Himanshu Gwalani


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)