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

Chetan Mehrotra updated OAK-1209:
---------------------------------

    Description: 
Currently the Mongo configuration is captured at two different places namely

# org.apache.jackrabbit.oak.plugins.mongomk.MongoNodeStoreService
# org.apache.jackrabbit.oak.plugins.mongomk.MongoMicroKernelService

As the logic to create connection would remain same irrespective of its usage 
it would better to consolidate support. This would help in expanding the 
configuration to capture more Mongo options which are required when running 
cluster. As part of this refactoring we should also update the Mongo Java 
Driver version to 2.11.3 from 2.9.1 currently being used

  was:
Currently the Mongo configuration is captured at three different places namely

# org.apache.jackrabbit.oak.plugins.segment.SegmentNodeStoreService
# org.apache.jackrabbit.oak.plugins.mongomk.MongoNodeStoreService
# org.apache.jackrabbit.oak.plugins.mongomk.MongoMicroKernelService

As the logic to create connection would remain same irrespective of its usage 
it would better to consolidate support. This would help in expanding the 
configuration to capture more Mongo options which are required when running 
cluster. As part of this refactoring we should also update the Mongo Java 
Driver version to 2.11.3 from 2.9.1 currently being used


> Consolidate Mongo client connection creation logic in MongoMK
> -------------------------------------------------------------
>
>                 Key: OAK-1209
>                 URL: https://issues.apache.org/jira/browse/OAK-1209
>             Project: Jackrabbit Oak
>          Issue Type: Improvement
>          Components: mongomk
>    Affects Versions: 0.10
>            Reporter: Chetan Mehrotra
>            Assignee: Chetan Mehrotra
>            Priority: Minor
>
> Currently the Mongo configuration is captured at two different places namely
> # org.apache.jackrabbit.oak.plugins.mongomk.MongoNodeStoreService
> # org.apache.jackrabbit.oak.plugins.mongomk.MongoMicroKernelService
> As the logic to create connection would remain same irrespective of its usage 
> it would better to consolidate support. This would help in expanding the 
> configuration to capture more Mongo options which are required when running 
> cluster. As part of this refactoring we should also update the Mongo Java 
> Driver version to 2.11.3 from 2.9.1 currently being used



--
This message was sent by Atlassian JIRA
(v6.1#6144)

Reply via email to