Home » Modeling » EMF » [CDO] Session not in sync after reconnect([CDO] Session not in sync after reconnect)
[CDO] Session not in sync after reconnect [message #1142179] |
Thu, 17 October 2013 12:54 |
xjn Mising name Messages: 20 Registered: May 2010 |
Junior Member |
|
|
Hi,
first, i'm really new to CDO. I'm working with your examples, created
my own model and played around. Everything was fine
Then i would like to use the "ReconnectingCDOSession" and it does not
work as expected.
Scenario :
0a) CDO Server (port 2036) running
0b) Proxy (port 2037) to CDO Server running
0c) clientA session/tx to proxy with "ReconnectingCDOSession"
0d) clientB session/tx to server with normal CDOSession
1) clientB adds data to model and commits, new data visible in clientB and clientA
2) kill proxy, clientA disconnected and retrying to proxy
3) clientB adds more data to model, commit, the new more data is visible in clientB
4) restart proxy, clientA reconnecting sucessfull, BUT only the first added data are visible in clientA, the new more data from step 3) are missing/not visible in clientA
If i create a new "ReconnectingCDOSession" in clientB and open a view/tx, all the data is visible.
Currently i have no idea what to do or where to look for more info ...
br
xjn
|
|
| |
Re: [CDO] Session not in sync after reconnect [message #1151864 is a reply to message #1142179] |
Wed, 23 October 2013 17:04 |
|
Hi Xjn,
Sorry for the late reply.
Comments below...
Am 17.10.2013 14:54, schrieb xjn Mising name:
> Hi,
>
> first, i'm really new to CDO. I'm working with your examples, created my own model and played around. Everything was
> fine :)
>
>
> Then i would like to use the "ReconnectingCDOSession" and it does not work as expected.
>
>
> Scenario :
>
> 0a) CDO Server (port 2036) running 0b) Proxy (port 2037) to CDO Server running
What exactly is that proxy? Can you reproduce the problem without that proxy?
> 0c) clientA session/tx to proxy with "ReconnectingCDOSession"
> 0d) clientB session/tx to server with normal CDOSession
>
> 1) clientB adds data to model and commits, new data visible in clientB and clientA
>
> 2) kill proxy, clientA disconnected and retrying to proxy
> 3) clientB adds more data to model, commit, the new more data is visible in clientB
>
> 4) restart proxy, clientA reconnecting sucessfull, BUT only the first added data are visible in clientA, the new more
> data from step 3) are missing/not visible in clientA
>
> If i create a new "ReconnectingCDOSession" in clientB and open a view/tx, all the data is visible.
What CDO version are you using?
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
|
|
| |
Re: [CDO] Session not in sync after reconnect [message #1156093 is a reply to message #1156087] |
Sat, 26 October 2013 09:38 |
|
Hi Xjn,
I'm currently too busy with my preparations for EclipseCon next week. Please submit a bugzilla and attach your zip there
(plus a detailed description of the steps needed to execute).
Cheers
/Eike
----
http://www.esc-net.de
http://thegordian.blogspot.com
http://twitter.com/eikestepper
Am 26.10.2013 11:31, schrieb xjn Mising name:
> Hi Eike,
>
> Comments below...
>
>
> Am 17.10.2013 14:54, schrieb xjn Mising name:
>> Hi,
>>
>> first, i'm really new to CDO. I'm working with your examples, created my own model and played around. Everything was
>> fine :)
>>
>>
>> Then i would like to use the "ReconnectingCDOSession" and it does not work as expected.
>>
>>
>> Scenario :
>>
>> 0a) CDO Server (port 2036) running 0b) Proxy (port 2037) to CDO Server running
> What exactly is that proxy? Can you reproduce the problem without that proxy?
>
> The proxy ist only to test "connection down". Yes, it happens also if i manually
> shutdown/restart a CDO server.
>
>
>> ...
>> If i create a new "ReconnectingCDOSession" in clientB and open a view/tx, all the data is visible.
> What CDO version are you using?
>
> Latest from Update-Site for Kepler (...emf.cdo = 4.2.1v20130913-0613)
>
>
>
> I have attached a small JUnit Plugin test which i hope shows the problem.
>
>
Cheers
/Eike
----
http://www.esc-net.de
http://thegordian.blogspot.com
http://twitter.com/eikestepper
|
|
| |
Goto Forum:
Current Time: Fri Apr 26 09:47:30 GMT 2024
Powered by FUDForum. Page generated in 0.03441 seconds
|