Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF » [CDO] Offline mode
[CDO] Offline mode [message #764082] Sun, 11 December 2011 09:55 Go to next message
Federico Tomassetti is currently offline Federico TomassettiFriend
Messages: 190
Registered: July 2009
Location: Dublin
Senior Member

Hi, I would like to know more about the offline mode.
In the documentation page (http://www.eclipse.org/cdo/documentation/) I just found the definition of the two possibilities available:
- the complete clone
- the checkout of a single model with no history
there are examples available?
do you suggest to use this functionality for production code?

Federico


Re: [CDO] Offline mode [message #764085 is a reply to message #764082] Sun, 11 December 2011 10:06 Go to previous messageGo to next message
Eike Stepper is currently offline Eike StepperFriend
Messages: 6682
Registered: July 2009
Senior Member
Am 11.12.2011 10:55, schrieb Federico Tomassetti:
> Hi, I would like to know more about the offline mode.
> In the documentation page (http://www.eclipse.org/cdo/documentation/) I just found the definition of the two
> possibilities available:
> - the complete clone
This is considered production quality, and already used in production.

Here's an example:
http://git.eclipse.org/c/cdo/cdo.git/tree/plugins/org.eclipse.emf.cdo.examples/src/org/eclipse/emf/cdo/examples/server/offline
(also available via p2)

> - the checkout of a single model with no history
This is comparingly new functionality. For usage examples please look for callers of
org.eclipse.emf.cdo.workspace.CDOWorkspaceUtil.createWorkspaceConfiguration().

Cheers
/Eike

----
http://www.esc-net.de
http://thegordian.blogspot.com
http://twitter.com/eikestepper


Re: [CDO] Offline mode [message #764506 is a reply to message #764085] Mon, 12 December 2011 10:16 Go to previous messageGo to next message
Federico Tomassetti is currently offline Federico TomassettiFriend
Messages: 190
Registered: July 2009
Location: Dublin
Senior Member

The example is clear and interesting. I am playing with it. At the moment I am this strange behaviour:
if I launch the cloned server before the master server it keeps running without errors (I just start it without executing operations on it). As soon as I start the master server the cloned server start opening sessions (one per second more or less). Is it the expected behaviour?


Re: [CDO] Offline mode [message #764555 is a reply to message #764506] Mon, 12 December 2011 12:26 Go to previous messageGo to next message
Eike Stepper is currently offline Eike StepperFriend
Messages: 6682
Registered: July 2009
Senior Member
Am 12.12.2011 11:16, schrieb Federico Tomassetti:
> The example is clear and interesting. I am playing with it. At the moment I am this strange behaviour:
> if I launch the cloned server before the master server it keeps running without errors (I just start it without
> executing operations on it). As soon as I start the master server the cloned server start opening sessions (one per
> second more or less). Is it the expected behaviour?
No, that sounds odd. Please submit a bugzilla so that I can analyze it.

Cheers
/Eike

----
http://www.esc-net.de
http://thegordian.blogspot.com
http://twitter.com/eikestepper


Re: [CDO] Offline mode [message #783191 is a reply to message #764555] Wed, 25 January 2012 09:05 Go to previous message
Federico Tomassetti is currently offline Federico TomassettiFriend
Messages: 190
Registered: July 2009
Location: Dublin
Senior Member

Now this behaviour seems to happen when I first start the master and I commit something there. The clone when started try to sync again and again. If I start a clean master, then the clone and I operate only on the clone changes are reported to the master and everything seems to be working. Maybe I am supposed to work always on the clone and never operate directly on the master? Is just the clone that pushes its changes to the master but not the viceversa?

Previous Topic:EMF / GWT Datastore Contention Issues / Failed to Save
Next Topic:[CDO] CDO Server browsers?
Goto Forum:
  


Current Time: Fri Apr 26 21:27:04 GMT 2024

Powered by FUDForum. Page generated in 0.02777 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top