[ 
https://issues.apache.org/jira/browse/PHOENIX-6287?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

chenglei updated PHOENIX-6287:
------------------------------
    Attachment: PHOENIX-6287-4.x.patch

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

Reply via email to