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

Add logging around getReferenceCheckpoint method

    XMLWordPrintableJSON

Details

    Description

      04.03.2019 06:42:46.956 WARN [sling-oak-3-org.apache.jackrabbit.oak.plugins.index.AsyncIndexUpdate-async] org.apache.jackrabbit.oak.composite.CompositeNodeStore Checkpoint f7e6524d-62c4-4589-8137-ca873cec934b doesn't exist

      The above warning was observed - but there are not enough logs around this to identify what's causing this .

       

      We need to add stack trace when this is logged and probably changed the message to make it unique.

       

      Also , Since this was logged from a flow in AsyncIndexUpdate - It would make sense to add some more info/ warn level logging there around the code that calls getReferenceCheckpoint()

      Attachments

        1. OAK-8177_1.patch
          3 kB
          Nitin Gupta
        2. OAK-8177_2.patch
          2 kB
          Nitin Gupta
        3. OAK-8177_3.patch
          3 kB
          Nitin Gupta

        Activity

          People

            thomasm Thomas Mueller
            ngupta Nitin Gupta
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: