Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF » [CDO] Multi master (clone)(Changes in clone aren't synchronized in master)
Re: [CDO] Multi master (clone) [message #938005 is a reply to message #937824] Tue, 09 October 2012 09:13 Go to previous messageGo to next message
Ricky de Klerck is currently offline Ricky de Klerck
Messages: 282
Registered: January 2011
Senior Member
It seems like the state of the clone isn't set to OFFLINE when connection is lost.. Therefore an exception occurs. After this exception the state changes to OFFLINE but this is too late (or the commit/save should be done again).
Re: [CDO] Multi master (clone) [message #944998 is a reply to message #937775] Mon, 15 October 2012 03:37 Go to previous messageGo to next message
Ricky de Klerck is currently offline Ricky de Klerck
Messages: 282
Registered: January 2011
Senior Member
Eike Stepper wrote on Tue, 09 October 2012 04:44
Am 09.10.2012 10:15, schrieb Ricky de Klerck:
> Well, the plugin org.eclipse.emf.cdo.common is selected in the run configuration. I suppose the package should be in
> there..
>
> When I do the same test with the example client it allso freezes and after a few seconds it asks if I want to retry or
> abort the operation.. I cannot do anything else at that moment.
I plan to spend some time on testing the offline replication mechanism. Hopefully by end of this week. But I can not
promise it 100%.


Eike, any progress on this?
Re: [CDO] Multi master (clone) [message #945051 is a reply to message #944998] Mon, 15 October 2012 04:04 Go to previous messageGo to next message
Eike Stepper is currently offline Eike Stepper
Messages: 5154
Registered: July 2009
Senior Member
Am 15.10.2012 09:37, schrieb Ricky de Klerck:
> Eike Stepper wrote on Tue, 09 October 2012 04:44
>> Am 09.10.2012 10:15, schrieb Ricky de Klerck:
>> > Well, the plugin org.eclipse.emf.cdo.common is selected in the run configuration. I suppose the package should be
>> in > there..
>> >
>> > When I do the same test with the example client it allso freezes and after a few seconds it asks if I want to retry
>> or > abort the operation.. I cannot do anything else at that moment.
>> I plan to spend some time on testing the offline replication mechanism. Hopefully by end of this week. But I can not
>> promise it 100%.
>
>
> Eike, any progress on this?
No, I'm sorry! And it seems more and more unlikely that I manage to get at this before end of the EclipseCon next week.
Still these possible issues with the offline mode are very high on my list.

Cheers
/Eike

----
http://www.esc-net.de
http://thegordian.blogspot.com
http://twitter.com/eikestepper
Re: [CDO] Multi master (clone) [message #983300 is a reply to message #945051] Tue, 13 November 2012 15:57 Go to previous messageGo to next message
Ricky de Klerck is currently offline Ricky de Klerck
Messages: 282
Registered: January 2011
Senior Member
I'm curious if you already had the time for this issue?

Regards,
Ricky
Re: [CDO] Multi master (clone) [message #985166 is a reply to message #983300] Thu, 15 November 2012 02:46 Go to previous messageGo to next message
Eike Stepper is currently offline Eike Stepper
Messages: 5154
Registered: July 2009
Senior Member
Am 13.11.2012 21:57, schrieb Ricky de Klerck:
> I'm curious if you already had the time for this issue?
Yes. I have been distracted for a couple days, though.

Cheers
/Eike

----
http://www.esc-net.de
http://thegordian.blogspot.com
http://twitter.com/eikestepper
Re: [CDO] Multi master (clone) [message #986293 is a reply to message #937781] Mon, 19 November 2012 13:31 Go to previous messageGo to next message
Eike Stepper is currently offline Eike Stepper
Messages: 5154
Registered: July 2009
Senior Member
Am 09.10.2012 10:53, schrieb Ricky de Klerck:
> Ok, looking forward to here from you.

It took me a bit longer but now it's available. I show a demo in
http://thegordian.blogspot.de/2012/11/use-online-data-offline.html

Cheers
/Eike

----
http://www.esc-net.de
http://thegordian.blogspot.com
http://twitter.com/eikestepper
Re: [CDO] Multi master (clone) [message #990397 is a reply to message #986293] Wed, 12 December 2012 04:56 Go to previous messageGo to next message
Ricky de Klerck is currently offline Ricky de Klerck
Messages: 282
Registered: January 2011
Senior Member
I really appreciate the effort you put into this! The result is amazing and we're definitely going to use this in our applications.
Re: [CDO] Multi master (clone) [message #990704 is a reply to message #990397] Thu, 13 December 2012 00:56 Go to previous messageGo to next message
Eike Stepper is currently offline Eike Stepper
Messages: 5154
Registered: July 2009
Senior Member
Am 12.12.2012 10:56, schrieb Ricky de Klerck:
> I really appreciate the effort you put into this! The result is amazing and we're definitely going to use this in our
> applications.
Excellent. Nice to hear that the effort was worth it ;-)

Cheers
/Eike

----
http://www.esc-net.de
http://thegordian.blogspot.com
http://twitter.com/eikestepper
Re: [CDO] Multi master (clone) [message #990791 is a reply to message #990704] Fri, 14 December 2012 04:57 Go to previous messageGo to next message
Ricky de Klerck is currently offline Ricky de Klerck
Messages: 282
Registered: January 2011
Senior Member
Eike,

We found a problem in the 'org.eclipse.emf.cdo.server.db' plugin. In a few classes, for example 'AbstractHorizontalMappingStrategy', double quotes were added to the table alias. We've tested it with MySQL version 5.5.25, but it doesn't work because of these quotes.. the MySQL syntax won't accept it. When I remove the quotes, everything works fine again. But you must have added them for a reason, because they weren't there in the previous version..

Regards,
Ricky de Klerck
Re: [CDO] Multi master (clone) [message #990811 is a reply to message #990791] Fri, 14 December 2012 05:44 Go to previous message
Eike Stepper is currently offline Eike Stepper
Messages: 5154
Registered: July 2009
Senior Member
Am 14.12.2012 10:57, schrieb Ricky de Klerck:
> Eike,
>
> We found a problem in the 'org.eclipse.emf.cdo.server.db' plugin. In a few classes, for example
> 'AbstractHorizontalMappingStrategy', double quotes were added to the table alias. We've tested it with MySQL version
> 5.5.25, but it doesn't work because of these quotes.. the MySQL syntax won't accept it. When I remove the quotes,
> everything works fine again. But you must have added them for a reason, because they weren't there in the previous
> version..
That has been reverted already. Please use a newer drop. If the problem is still there, please submit a bugzilla and
tell us exactly where you've found the quotes.

Cheers
/Eike

----
http://www.esc-net.de
http://thegordian.blogspot.com
http://twitter.com/eikestepper
Previous Topic:[CDO] NPE at CDOObjectHistoryImpl.filter(CDOObjectHistoryImpl.java:58)
Next Topic:[Xcore] Defining get on derived features using reflective feature delegation
Goto Forum:
  


Current Time: Fri May 24 23:12:50 EDT 2013

Powered by FUDForum. Page generated in 0.02742 seconds