You are viewing a plain text version of this content. The canonical link for it is here.
Posted to oak-issues@jackrabbit.apache.org by "Chetan Mehrotra (JIRA)" <ji...@apache.org> on 2016/11/03 06:57:59 UTC
[jira] [Resolved] (OAK-4874) Improve the warning logged when
traversal happens within property index
[ https://issues.apache.org/jira/browse/OAK-4874?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Chetan Mehrotra resolved OAK-4874.
----------------------------------
Resolution: Duplicate
[~tmueller] Changed the log message with OAK-4888
{noformat}
"Index-Traversed {} nodes ({} index entries) using index {} with filter {}"
{noformat}
> Improve the warning logged when traversal happens within property index
> -----------------------------------------------------------------------
>
> Key: OAK-4874
> URL: https://issues.apache.org/jira/browse/OAK-4874
> Project: Jackrabbit Oak
> Issue Type: Improvement
> Components: query
> Reporter: Chetan Mehrotra
> Assignee: Chetan Mehrotra
> Priority: Minor
> Fix For: 1.6
>
>
> Currently a traversal related warning gets logged in 2 modes
> # Actual traversal - Query execution not backed by any index
> {noformat}
> LOG.warn("Traversed " + readCount + " nodes with filter " + filter + "; consider creating an index or changing the query");
> {noformat}
> # Traversal within property index
> {noformat}
> LOG.warn("Traversed {} nodes ({} index entries) using index {} with filter {}", readCount, intermediateNodeReadCount, indexName, filter);
> {noformat}
> To allow users to better distinguish between these 2 warning we should reword the warning message in #2 to avoid using traversal there
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)