You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@phoenix.apache.org by "James Taylor (JIRA)" <ji...@apache.org> on 2015/08/18 02:41:46 UTC
[jira] [Updated] (PHOENIX-2183) Add debug log line when doing
secondary index WAL replay
[ https://issues.apache.org/jira/browse/PHOENIX-2183?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
James Taylor updated PHOENIX-2183:
----------------------------------
Summary: Add debug log line when doing secondary index WAL replay (was: Write to log when actually doing WAL replay)
> Add debug log line when doing secondary index 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)