oleg-vlsk commented on code in PR #11425: URL: https://github.com/apache/ignite/pull/11425#discussion_r1886666669
########## modules/core/src/main/java/org/apache/ignite/internal/processors/query/running/SqlPlanHistoryTracker.java: ########## @@ -47,7 +42,7 @@ public SqlPlanHistoryTracker(int historySize) { * @param engine SQL engine. */ public void addPlan(String plan, String qry, String schema, boolean loc, String engine) { - if (historySize <= 0) + if (sqlPlanHistory.getClass().equals(Collections.emptyMap().getClass())) Review Comment: Yes, this options works. Change applied. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: notifications-unsubscr...@ignite.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org