Skip to main content



      Home
Home » Modeling » EMF » CDO - Issue with partial commit
CDO - Issue with partial commit [message #1832696] Wed, 23 September 2020 08:07 Go to next message
Eclipse UserFriend
I am using partial commit to filter out some entries, so far so good.

But sometimes on a subsequent commit that shouldn't be a partial commit, the CommitIntegrityCheck fails with some unresolved proxy objects in the old revision on objects that shouldn't have even changed here.

Debugging showed that on the subsequent commit, the new object list from the save point included those rejected from the previous transaction. I traced this back to the cleanup method in CDOTransaction and the way that collapseSavepoints only removes elements from the commit context that don't include those that were filtered out.

I commented that block and haven't seen any issue so far, but I feel that I must be missing something.

Please advise
Alain

Re: CDO - Issue with partial commit [message #1832734 is a reply to message #1832696] Wed, 23 September 2020 23:58 Go to previous messageGo to next message
Eclipse UserFriend
Hi Alain,

You seem to describe a complex problem with very few words and that makes it very hard for me to understand what's going on. I suggest that you submit a bugzilla and attach a test case that reproduces the problem. You can look at org.eclipse.emf.cdo.tests.PartialCommitTest to see how that works, or even just add a new test method to it.

Cheers
/Eike
Re: CDO - Issue with partial commit [message #1833019 is a reply to message #1832734] Wed, 30 September 2020 13:21 Go to previous messageGo to next message
Eclipse UserFriend
Hi Eike,

I will try to use the test you mentioned to demonstrate the issue.

Thanks
Alain
Re: CDO - Issue with partial commit [message #1833026 is a reply to message #1833019] Thu, 01 October 2020 00:25 Go to previous message
Eclipse UserFriend
Very good. Please don't hesitate to ask for help if you get stuck...
Previous Topic:[CDO] harmless runtime exception during osgi shutdown
Next Topic:How to find out reference and references of a EClass?
Goto Forum:
  


Current Time: Mon Nov 03 14:46:29 EST 2025

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

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

Back to the top