Yuhao Bi created PHOENIX-2183:
---------------------------------
Summary: Write to log when actually doing WAL replay
Key: PHOENIX-2183
URL: https://issues.apache.org/jira/browse/PHOENIX-2183
Project: Phoenix
Issue Type: Bug
Reporter: Yuhao Bi
In Indexer#postOpen(...) we write the log in any condition.
{code}
LOG.info("Found some outstanding index updates that didn't succeed during"
+ " WAL replay - attempting to replay now.");
//if we have no pending edits to complete, then we are done
if (updates == null || updates.size() == 0) {
return;
}
{code}
We should only write the log when we actually doing a replay.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)