[ https://issues.apache.org/jira/browse/OAK-6588?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Chetan Mehrotra updated OAK-6588: --------------------------------- Attachment: OAK-6588-v1.patch [patch|^OAK-6588-v1.patch] for the same [~mreutegg] [~catholicon] Thoughts? > MongoDocumentStore should avoid logging warning when connect in read only mode > ------------------------------------------------------------------------------ > > Key: OAK-6588 > URL: https://issues.apache.org/jira/browse/OAK-6588 > Project: Jackrabbit Oak > Issue Type: Improvement > Components: mongomk > Reporter: Chetan Mehrotra > Assignee: Chetan Mehrotra > Priority: Minor > Fix For: 1.7.7 > > Attachments: OAK-6588-v1.patch > > > Currently while connecting oak-run console to older oak/Mongo setups results > in following warning logged > {noformat} > 11:14:49.313 [main] WARN o.a.j.o.p.d.mongo.MongoDocumentStore - Detected an > upgrade from Oak version <= 1.6. For optimal Revision GC performance it is > recommended to create a partial index for the 'nodes' collection on > {_deletedOnce:1, _modified:1} with a partialFilterExpression > {_deletedOnce:true}. Partial indexes require MongoDB 3.2 or higher. > 11:14:49.320 [main] WARN o.a.j.o.p.d.mongo.MongoDocumentStore - Detected an > upgrade from Oak version <= 1.6. For optimal Revision GC performance it is > recommended to create a sparse compound index for the 'nodes' collection on > {_sdType:1, _sdMaxRevTime:1}. > {noformat} > As the connect by default is read only we can avoid logging this warning. -- This message was sent by Atlassian JIRA (v6.4.14#64029)