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 "Marcel Reutegger (JIRA)" <ji...@apache.org> on 2017/08/28 07:22:00 UTC
[jira] [Commented] (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:comment-tabpanel&focusedCommentId=16143472#comment-16143472 ]
Marcel Reutegger commented on OAK-6588:
---------------------------------------
LGTM
> 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)