Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 336642

Summary: Rework the repository/store contract for "cached persistent values"
Product: [Modeling] EMF Reporter: Eike Stepper <stepper>
Component: cdo.coreAssignee: Eike Stepper <stepper>
Status: ASSIGNED --- QA Contact: Eike Stepper <stepper>
Severity: enhancement    
Priority: P3 CC: stefan
Version: 4.13   
Target Milestone: ---   
Hardware: All   
OS: All   
Whiteboard:

Description Eike Stepper CLA 2011-02-08 13:54:40 EST
We get more and more persistent system values like ID counters or branch counters and these values get more and more optional like ID counters for the coming client-side ID-assignment mode (UUIDs).

We need to abstract concepts like initialization, get/set, inc/dec, crash recovery, etc.
Comment 1 Eike Stepper CLA 2011-02-08 13:59:26 EST
In the DBStore ID counter recovery after a crash requires access to the complete mapping information to scan all columns that can contain IDs. Currently this is not possible, because crash recovery takes place before the store has finished its activation phase. Hence the CDOPackageLoader of the repository package registry does not yet work at this time.

I'm investigating on ways to split the activation phase...
Comment 2 Eike Stepper CLA 2011-02-08 14:18:06 EST
Committed revision 7030:
- trunk/plugins/org.eclipse.emf.cdo.server
Comment 3 Eike Stepper CLA 2011-02-09 08:22:59 EST
Committed revision 7031:
- trunk/plugins/org.eclipse.emf.cdo.common
- trunk/plugins/org.eclipse.emf.cdo.server
- trunk/plugins/org.eclipse.emf.cdo.server.db
- trunk/plugins/org.eclipse.emf.cdo.tests.db
- trunk/plugins/org.eclipse.emf.cdo.workspace
Comment 4 Eike Stepper CLA 2011-02-11 06:10:36 EST
Committed revision 7062
Comment 5 Eike Stepper CLA 2011-06-23 03:58:01 EDT
Moving all open enhancement requests to 4.1
Comment 6 Eike Stepper CLA 2012-08-14 22:52:01 EDT
Moving all open issues to 4.2. Open bugs can be ported to 4.1 maintenance after they've been fixed in master.
Comment 7 Eike Stepper CLA 2013-06-27 04:07:04 EDT
Moving all outstanding enhancements to 4.3
Comment 8 Eike Stepper CLA 2014-08-19 09:25:11 EDT
Moving all open enhancement requests to 4.4
Comment 9 Eike Stepper CLA 2014-08-19 09:36:03 EDT
Moving all open enhancement requests to 4.4
Comment 10 Eike Stepper CLA 2015-07-14 02:11:40 EDT
Moving all open bugzillas to 4.5.
Comment 11 Eike Stepper CLA 2016-07-31 00:54:11 EDT
Moving all unaddressed bugzillas to 4.6.
Comment 12 Eike Stepper CLA 2017-12-28 01:13:30 EST
Moving all open bugs to 4.7
Comment 13 Eike Stepper CLA 2019-11-08 02:04:08 EST
Moving all unresolved issues to version 4.8-
Comment 14 Eike Stepper CLA 2019-12-13 12:48:08 EST
Moving all unresolved issues to version 4.9
Comment 15 Eike Stepper CLA 2020-12-11 10:46:31 EST
Moving to 4.13.