You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@phoenix.apache.org by "chenglei (Jira)" <ji...@apache.org> on 2020/12/30 11:12:00 UTC
[jira] [Assigned] (PHOENIX-6287) Fix incorrect log in
ParallelIterators.submitWork
[ https://issues.apache.org/jira/browse/PHOENIX-6287?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
chenglei reassigned PHOENIX-6287:
---------------------------------
Assignee: chenglei
> Fix incorrect log in ParallelIterators.submitWork
> --------------------------------------------------
>
> Key: PHOENIX-6287
> URL: https://issues.apache.org/jira/browse/PHOENIX-6287
> Project: Phoenix
> Issue Type: Bug
> Affects Versions: 5.1.0, 4.16.0
> Reporter: chenglei
> Assignee: chenglei
> Priority: Major
> Fix For: 4.16.0, 5.10
>
> Attachments: PHOENIX-6287-4.x.patch
>
>
> In {{ParallelIterators.submitWork}}, the following log is critical but is meaningless:
> {code:java}
> 123 @Override
> 124 public PeekingResultIterator call() throws Exception {
> 125 long startTime = EnvironmentEdgeManager.currentTimeMillis();
> 126 if (LOGGER.isDebugEnabled()) {
> 127 LOGGER.debug(LogUtil.addCustomAnnotations("Id: " + scanId + ", Time: " +
> 128 (EnvironmentEdgeManager.currentTimeMillis() - startTime) +
> 129 "ms, Scan: " + scan, ScanUtil.getCustomAnnotations(scan)));
> 130 }
> {code}
> The log should be placed after the {{iterator.peek}} is called.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)