Stefan Egli created OAK-10918:
---------------------------------

             Summary: Embed and log an explain for the fullgc mongo query
                 Key: OAK-10918
                 URL: https://issues.apache.org/jira/browse/OAK-10918
             Project: Jackrabbit Oak
          Issue Type: Task
          Components: documentmk
            Reporter: Stefan Egli
            Assignee: Stefan Egli


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
{noformat}
                            "stage": "IXSCAN",
                            "indexName": "_modified_1__id_1",
{noformat}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to