You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Benjamin Garaude (Jira)" <ji...@apache.org> on 2023/02/17 09:04:00 UTC

[jira] [Created] (IGNITE-18830) GridQueryProcessor logs unnecessary error message

Benjamin Garaude created IGNITE-18830:
-----------------------------------------

             Summary: GridQueryProcessor logs unnecessary error message
                 Key: IGNITE-18830
                 URL: https://issues.apache.org/jira/browse/IGNITE-18830
             Project: Ignite
          Issue Type: Bug
    Affects Versions: 2.14
            Reporter: Benjamin Garaude


GridQueryProcessor logs error message of type:
{quote}07:24:47.571 [build-idx-runner-#123%default-grid%|#123%default-grid%] ERROR o.a.i.i.p.q.GridQueryProcessor - Failed to rebuild indexes for cache [name=...] 
{quote}
But there is no underlying error.
After a quick analysis, this log is emitted by org.apache.ignite.internal.processors.query.GridQueryProcessor.java:2640

If the err is null and log.isInfoEnabled() is false, (which is our case) then it misses the if at line 2637, and goes to the else at line 2640.

This is likely a log issue in that class.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)