[ 
https://issues.apache.org/jira/browse/OAK-1796?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13990379#comment-13990379
 ] 

Chetan Mehrotra edited comment on OAK-1796 at 5/6/14 10:58 AM:
---------------------------------------------------------------

Currently oak-core imports mongo packages with following ranges

{noformat}
  com.mongodb                           {resolution:=optional, version=[2.11,3)}
  com.mongodb.gridfs                    {resolution:=optional, version=[2.11,3)}
  com.mongodb.util                      {resolution:=optional, version=[2.11,3)}
{noformat}

While mong-java-driver 2.12 exports with following versions

{noformat}
  com.mongodb                           {version=2.12.1.RELEASE}
  com.mongodb.gridfs                    {version=2.12.1.RELEASE}
  com.mongodb.io                        {version=2.12.1.RELEASE}
  com.mongodb.util                      {version=2.12.1.RELEASE}
  org.bson                              {version=2.12.1.RELEASE}
  org.bson.io                           {version=2.12.1.RELEASE}
  org.bson.types                        {version=2.12.1.RELEASE}
  org.bson.util                         {version=2.12.1.RELEASE}
  org.bson.util.annotations             {version=2.12.1.RELEASE}
{noformat}

So as the import range is wide [2.11,3) we should be ok there


was (Author: chetanm):
While updating we need to ensure that package import ranges are relaxed. 
Currently oak-core imports mongo packages with following ranges

{noformat}
  com.mongodb                           {resolution:=optional, version=[2.11,3)}
  com.mongodb.gridfs                    {resolution:=optional, version=[2.11,3)}
  com.mongodb.util                      {resolution:=optional, version=[2.11,3)}
{noformat}

While mong-java-driver 2.12 exports with following versions

{noformat}
  com.mongodb                           {version=2.12.1.RELEASE}
  com.mongodb.gridfs                    {version=2.12.1.RELEASE}
  com.mongodb.io                        {version=2.12.1.RELEASE}
  com.mongodb.util                      {version=2.12.1.RELEASE}
  org.bson                              {version=2.12.1.RELEASE}
  org.bson.io                           {version=2.12.1.RELEASE}
  org.bson.types                        {version=2.12.1.RELEASE}
  org.bson.util                         {version=2.12.1.RELEASE}
  org.bson.util.annotations             {version=2.12.1.RELEASE}
{noformat}

> Update Mongo Java Driver version to 2.12
> ----------------------------------------
>
>                 Key: OAK-1796
>                 URL: https://issues.apache.org/jira/browse/OAK-1796
>             Project: Jackrabbit Oak
>          Issue Type: Improvement
>          Components: mongomk
>            Reporter: Chetan Mehrotra
>            Assignee: Chetan Mehrotra
>            Priority: Minor
>             Fix For: 1.1
>
>
> Current latest release of Mongo Java Driver is 2.12.1 [1] while we are using 
> 2.11.3. 
> Noticeable feature relevant to us is the support for bulk writes [2] (for 
> mongo 2.6.x) and some enhancements in connection pooling
> [1] https://github.com/mongodb/mongo-java-driver/releases
> [2] 
> http://docs.mongodb.org/master/release-notes/2.6/#rel-notes-write-operations



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to