[CDO] Branches created in an offline clone [message #720918] |
Wed, 31 August 2011 13:41 |
Szabolcs Bardy Messages: 9 Registered: July 2009 |
Junior Member |
|
|
Hi,
I'm trying to set up an offline clone to be used with our current CDO repository. In our current scenario we have to use branches in order to realize a workflow, where users can have their separate snapshot of the repository. I have managed to set up an example with an offline clone and a master repository. Everything is synchronized fine except the created branches. When I create a branch in the master, it will be created in the offline clone as well, but when I create a branch in the offline clone, no branch will be created in the master. I do not see it in the code either why it should happen, as I see there is no "write-through" branch creation, or do I miss something? Is branching supported in the offline mode as well?
Another question related to the offline mode:
Is there a way to use "with ranges" mapping strategy when using an offline mode?
The methods 'rawImportReviseOldRevisions' and 'rawImportUnreviseNewRevisions' from AbstractHorizontalMappingStrategy are overridden only in HorizontalBranchingMappingStrategy, but not in HorizontalBranchingMappingStrategyWithRanges, hence I get an UnsupportedOperation exception when synchronizing the repositories.
Thanks,
Szabolcs
|
|
|
Re: [CDO] Branches created in an offline clone [message #720996 is a reply to message #720918] |
Wed, 31 August 2011 16:13 |
|
Am 31.08.2011 15:41, schrieb Szabolcs Bardy:
> Hi,
>
> I'm trying to set up an offline clone to be used with our current CDO repository. In our current scenario we have to
> use branches in order to realize a workflow, where users can have their separate snapshot of the repository. I have
> managed to set up an example with an offline clone and a master repository. Everything is synchronized fine except the
> created branches. When I create a branch in the master, it will be created in the offline clone as well, but when I
> create a branch in the offline clone, no branch will be created in the master. I do not see it in the code either why
> it should happen, as I see there is no "write-through" branch creation, or do I miss something? Is branching supported
> in the offline mode as well?
"Branching" as a capability is supported, but not as a verb (as in "creating a branch") in OFFLINE state.
Just the other day we've discussed that in the team but it's not trivial and we have no concrete plans so far.
>
> Another question related to the offline mode:
>
> Is there a way to use "with ranges" mapping strategy when using an offline mode? The methods
> 'rawImportReviseOldRevisions' and 'rawImportUnreviseNewRevisions' from AbstractHorizontalMappingStrategy are
> overridden only in HorizontalBranchingMappingStrategy, but not in HorizontalBranchingMappingStrategyWithRanges, hence
> I get an UnsupportedOperation exception when synchronizing the repositories.
Unfortunately neither Stefan nor myself had the time so far to implement raw replication for the newer ranges-based
mapping strategies ;-(
Cheers
/Eike
----
http://www.esc-net.de
http://thegordian.blogspot.com
http://twitter.com/eikestepper
Cheers
/Eike
----
http://www.esc-net.de
http://thegordian.blogspot.com
http://twitter.com/eikestepper
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03629 seconds