You are viewing a plain text version of this content. The canonical link for it is here.
Posted to oak-issues@jackrabbit.apache.org by "Chetan Mehrotra (JIRA)" <ji...@apache.org> on 2017/08/28 09:26:00 UTC

[jira] [Resolved] (OAK-6588) MongoDocumentStore should avoid logging warning when connect in read only mode

     [ https://issues.apache.org/jira/browse/OAK-6588?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Chetan Mehrotra resolved OAK-6588.
----------------------------------
       Resolution: Fixed
    Fix Version/s: 1.8

Done with 1806416

> 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.8, 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)