You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2015/11/20 12:16:10 UTC

[jira] [Commented] (SLING-5078) Missing indexes on MongoDBResourceProvider

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

ASF GitHub Bot commented on SLING-5078:
---------------------------------------

GitHub user nleite opened a pull request:

    https://github.com/apache/sling/pull/113

    SLING-5078

    - adding creation of mandatory indexes on `_path` and `_parentPath` fields 

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/nleite/sling trunk

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/sling/pull/113.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #113
    
----
commit ea53eb93bb5d24d592a024ffd0c1252678fab980
Author: Norberto <no...@10gen.com>
Date:   2015-09-30T13:44:04Z

    SLING-5078: Missing indexes on MongoDBResourceProv
    Simple first approach of adding a single build indexes method that is called for all collections.

commit 5cd3ec67eb0570d7e42c96d4501fe2384a25f1d4
Author: Norberto <no...@10gen.com>
Date:   2015-09-30T14:08:33Z

    Merge branch 'trunk' of github.com:nleite/sling into trunk

commit f6602984888e7da49323faf592a7f5b0646a7187
Author: Norberto <no...@10gen.com>
Date:   2015-11-19T19:45:14Z

    Merge branch 'trunk' of github.com:apache/sling into trunk

commit e1f2a91231fa37f3e55ed48f1a378498b56a3b56
Author: Norberto <no...@10gen.com>
Date:   2015-11-20T11:10:56Z

    Adding mandatory indexes - https://issues.apache.org/jira/browse/SLING-5078
    - Adding index on `_path` and `_parentPath` fields
    - Added integration test to validate the correct creation of the indexes

----


> Missing indexes on MongoDBResourceProvider
> ------------------------------------------
>
>                 Key: SLING-5078
>                 URL: https://issues.apache.org/jira/browse/SLING-5078
>             Project: Sling
>          Issue Type: Improvement
>          Components: NoSQL
>    Affects Versions: NoSQL MongoDB Resource Provider 1.0.0
>            Reporter: Norberto Leite
>   Original Estimate: 1h
>  Remaining Estimate: 1h
>
> MongoDB supports secondary indexes but those are missing from the existing implementation. 
> Not only for performance but also for uniqueness guarantee we should have the following indexes: 
> *_path* - unique 
> *_parent* - unique 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)