[
https://issues.apache.org/jira/browse/PHOENIX-2183?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14700466#comment-14700466
]
James Taylor commented on PHOENIX-2183:
---------------------------------------
Thoughts, [~jesse_yates]?
> 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
> Attachments: PHOENIX-2183.patch
>
>
> 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)