[ 
https://issues.apache.org/jira/browse/PHOENIX-2183?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14700515#comment-14700515
 ] 

Jesse Yates commented on PHOENIX-2183:
--------------------------------------

Seems trivial. Only concern would be renaming the JIRA - at first glance this 
implies writing the WAL when doing WAL replay, not just doing the 
debug/progress logging.

> 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)

Reply via email to