Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 320072 - "Attempt to modify historical revision"-Exception after raw replication.
Summary: "Attempt to modify historical revision"-Exception after raw replication.
Status: CLOSED FIXED
Alias: None
Product: EMF
Classification: Modeling
Component: cdo.core (show other bugs)
Version: 3.0   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Eike Stepper CLA
QA Contact: Eike Stepper CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-07-16 02:41 EDT by Eike Stepper CLA
Modified: 2012-09-21 06:51 EDT (History)
0 users

See Also:


Attachments
Patch - back ported from HEAD (15.75 KB, patch)
2010-07-16 03:03 EDT, Eike Stepper CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Eike Stepper CLA 2010-07-16 02:41:26 EDT
Cloned from: 319552: "Attempt to modify historical revision"-Exception after raw replication.
https://bugs.eclipse.org/bugs/show_bug.cgi?id=319552

Build Identifier: 4.0

We have the following scenario (see attached test-case):
master session with a transaction where the changes are done and an offline session which will go offline and online again.

online:  ---> v1 ---> v2 ---> v3 ---> v4
offline: ---> v1 --/....................../(rawrepl.)--> v2

After the change v1 we go offline, do 3 more changes on online transaction.
Then we go online again, raw replication will start and will deliver changes v2-v4 in one revision delta causing the transaction on the offline clone to update from v1 to v2. When a change on this object is done, the exception is thrown because v4 is expected instead of v2.


Reproducible: Always

Steps to Reproduce:
1. see testcase
Comment 1 Eike Stepper CLA 2010-07-16 03:03:01 EDT
Created attachment 174469 [details]
Patch - back ported from HEAD
Comment 2 Eike Stepper CLA 2010-07-16 03:03:25 EDT
Committed to R3_0_maintenance
Comment 3 Eike Stepper CLA 2011-06-23 04:27:00 EDT
Moving all open problem reports to 4.0
Comment 4 Eike Stepper CLA 2012-09-21 06:51:29 EDT
Closing.