Description
Currently while connecting oak-run console to older oak/Mongo setups results in following warning logged
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}.
As the connect by default is read only we can avoid logging this warning.