Uploaded image for project: 'Jackrabbit Oak'
  1. Jackrabbit Oak
  2. OAK-5145

Warn traversal queries: avoid repeated log entries

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 1.5.15, 1.6.0
    • query
    • None

    Description

      OAK-4888 logs a warning by default if there are queries that traverse. If a query contains joins, the message is logged for each selector. It should only be logged once for a query:

      /jcr:root/home//a/*
      > Traversal query (query without index): ...
      > Traversal query (query without index): ...
      > Traversal query (query without index): ...
      
      /jcr:root/home//a/b/c/d/*
      > Traversal query (query without index): ...
      > Traversal query (query without index): ...
      > Traversal query (query without index): ...
      > Traversal query (query without index): ...
      > Traversal query (query without index): ...
      > Traversal query (query without index): ...
      > Traversal query (query without index): ...
      > Traversal query (query without index): ...
      

      Attachments

        Issue Links

          Activity

            People

              thomasm Thomas Mueller
              thomasm Thomas Mueller
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: