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

Rate limit the log messages for IndexUpdate

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 1.50.0
    • None
    • None

    Description

      For those that want to use indexes in read-only mode (read from the indexes, but not write to them), they can simply not add the Lucene index editor provider when configuring Oak. However, in this case the following warning is logged every second many times:

       

      Missing provider for nrt/sync index: {} (rootState.async: {}).

      Please note, it means that index data should be trusted only after this index

      is processed in an async indexing cycle.

       

      The message is correct, and I think it is good, but it shouldn't be logged all that often: it is filling the disk. Instead, the message should be logged only once per minute, or so.

      Attachments

        Issue Links

          Activity

            People

              thomasm Thomas Mueller
              balasoiu Roxana-Elena Balasoiu
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: