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

Embed and log an explain for the fullgc mongo query

    XMLWordPrintableJSON

Details

    • Task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 1.66.0
    • documentmk
    • None

    Description

      We should do an explain of the query that is ultimately used in MongoGCSupport for fullgc, and log (at INFO) the most relevant pieces of the winning plan (or just the entire winning plan). Doing this once per reconfig (which is probably currently once per JVM-incarnation) shouldn't be intrusive - but it would make it observable which, if any, index is being used. Eg it should say something like

                                  "stage": "IXSCAN",
                                  "indexName": "_modified_1__id_1",
      

      Attachments

        Issue Links

          Activity

            People

              stefanegli Stefan Egli
              stefanegli Stefan Egli
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: