You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Stefan Seifert (JIRA)" <ji...@apache.org> on 2015/11/24 23:44:11 UTC
[jira] [Resolved] (SLING-5078) Missing indexes on
MongoDBResourceProvider
[ https://issues.apache.org/jira/browse/SLING-5078?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Stefan Seifert resolved SLING-5078.
-----------------------------------
Resolution: Fixed
Assignee: Stefan Seifert
Fix Version/s: NoSQL MongoDB Resource Provider 1.0.2
Completed: At revision: 1716273
thanks!
i applied the patch with slight modifications:
- update patch to ignore error when index already exists - log error if it could not be created
- do some refactoring on provided integration test to make sure the mongodb connection parameters passed via command line are used
- update to latest table mongodb java driver
---
in the patch was a change included for the old mongodb resource provider at extensions/mongodb. i've not applied it there because i have not interation tests to test it at hand. if required please open a separate issue for the old "Mongo Resource Provider 1.0.0" for this.
> 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
> Assignee: Stefan Seifert
> Fix For: NoSQL MongoDB Resource Provider 1.0.2
>
> 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)