You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@directory.apache.org by "Emmanuel Lecharny (JIRA)" <ji...@apache.org> on 2011/07/01 16:56:28 UTC

[jira] [Commented] (DIRSERVER-1517) We can't move an entry from a partition to another one

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

Emmanuel Lecharny commented on DIRSERVER-1517:
----------------------------------------------

It has to be handled in M2. 

The reason it does not work is that we delegate such operation to the store, thus we can't anymore move an entry from one store to another (a store is associated with a partition).

One solution would be to handle those operations as a delete/add couple, done on the two partitions. We have to handle this in the NexusPartition. The best would be to handle move into the same partition the way we do it atm, and if we try to move an entry from one partition to another one, then we call delete on the old partition, and add on the new one.

Note that we need to address ACIDity for such a composite operation...

> We can't move an entry from a partition to another one
> ------------------------------------------------------
>
>                 Key: DIRSERVER-1517
>                 URL: https://issues.apache.org/jira/browse/DIRSERVER-1517
>             Project: Directory ApacheDS
>          Issue Type: Bug
>    Affects Versions: 1.5.7
>            Reporter: Emmanuel Lecharny
>            Priority: Critical
>             Fix For: 2.0.0-RC2
>
>
> Assuming we have 2 partitions, there is no way we can move an entry from one partition to the other one.
> For instance, moving an entry from ou=system to dc=example,dc=com is impossibe.
> It won't be easy to manage, as it will require a double modification (one in each partition), and I'm not sure we can do that for 2.0-RC1.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira