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

Don't log a warning for queries that use "option(traversal fail)"

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.14.0
    • Component/s: query
    • Labels:
      None

      Description

      Currently, a warning is logged for queries that use "option(traversal fail)" in case the query is traversing (for example because there is no index, or an index isn't ready yet).

      It would be better to log with debug level instead. That way, "option(traversal fail)" can be used for flow control - try to run the query, and if it fails, then the index isn't ready - for example for monitoring.

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: