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

IndexStatsMBean should provide some details if the async indexing is failing

    XMLWordPrintableJSON

Details

    Description

      If the background indexing fails for some reason it logs the exception for the first time then it logs the exception like The index update failed .... After that if indexing continues to fail then no further logging is done so as to avoid creating noise.

      This poses a problem on long running system where original exception might not be noticed and index does not show updated result. For such cases we should expose the indexing health as part of IndexStatsMBean. Also we can provide the last recorded exception.

      Administrator can then check for MBean and enable debug logs for further troubleshooting

      Attachments

        1. OAK-3054-v3.patch
          16 kB
          Alex Deparvu
        2. OAK-3054-v2.patch
          15 kB
          Alex Deparvu
        3. OAK-3054-v1.patch
          13 kB
          Alex Deparvu

        Issue Links

          Activity

            People

              stillalex Alex Deparvu
              chetanm Chetan Mehrotra
              Votes:
              12 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: