| Summary: | Support client assigned CDOIDs (UUIDs) | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | [Modeling] EMF | Reporter: | Eike Stepper <stepper> | ||||||
| Component: | cdo.core | Assignee: | Eike Stepper <stepper> | ||||||
| Status: | CLOSED FIXED | QA Contact: | Eike Stepper <stepper> | ||||||
| Severity: | enhancement | ||||||||
| Priority: | P3 | CC: | caspar_d, cyril.jaquier, erwin, saulius.tvarijonas | ||||||
| Version: | 4.1 | Flags: | stepper:
review+
|
||||||
| Target Milestone: | --- | ||||||||
| Hardware: | All | ||||||||
| OS: | All | ||||||||
| Whiteboard: | Appealing to a Broader Community | ||||||||
| Bug Depends on: | |||||||||
| Bug Blocks: | 354419, 355285 | ||||||||
| Attachments: |
|
||||||||
|
Description
Eike Stepper
Created attachment 199977 [details]
Patch v1 - for future reference
Committed revision 8725: - trunk/plugins/org.eclipse.emf.cdo - trunk/plugins/org.eclipse.emf.cdo.common - trunk/plugins/org.eclipse.emf.cdo.net4j - trunk/plugins/org.eclipse.emf.cdo.server - trunk/plugins/org.eclipse.emf.cdo.server.db - trunk/plugins/org.eclipse.emf.cdo.server.db4o - trunk/plugins/org.eclipse.emf.cdo.server.mongodb - trunk/plugins/org.eclipse.emf.cdo.server.net4j - trunk/plugins/org.eclipse.emf.cdo.server.objectivity - trunk/plugins/org.eclipse.emf.cdo.tests - trunk/plugins/org.eclipse.emf.cdo.tests.db - trunk/plugins/org.eclipse.emf.cdo.tests.db4o - trunk/plugins/org.eclipse.emf.cdo.tests.hibernate - trunk/plugins/org.eclipse.emf.cdo.tests.mongodb - trunk/plugins/org.eclipse.emf.cdo.tests.objectivity - trunk/plugins/org.eclipse.emf.cdo.ui - trunk/plugins/org.eclipse.emf.cdo.workspace - trunk/plugins/org.eclipse.emf.cdo.workspace.efs - trunk/plugins/org.eclipse.net4j.tests - trunk/plugins/org.eclipse.net4j.util Caspar, please investigate why Bugzilla_338884_Test.test_single() is failing. It seems that it's related to your CommitIntegrityCheck. To enable UUIDs in the tests you must uncomment the second last line in RepositoryConfig.getRepositoryProperties(): repositoryProperties.put(IRepository.Props.ID_GENERATION_LOCATION, "CLIENT"); I'll start tomorrow to redesign the test framework such that it will be easier to add "test modes" like this. (In reply to comment #3) > I'll start tomorrow to redesign the test framework such that it will be easier > to add "test modes" like this. Done. See AllTestsDBH2All.java Committed revision 8811: - trunk/plugins/org.eclipse.net4j.util Created attachment 200251 [details]
Patch (incremental)
As you told me on Skype, this caused some minor breakage in one
test related to the CommitIntegrityCheck. Here's a patch that
fixes that.
Caspar, please commit your patch and resolve this bug. Thanks! Committed revision 8816. rawExport() and rawImport() in DBStoreAccessor do not fully consider IDGenerationLocation. Fix is:
if (store.getRepository().getIDGenerationLocation() == IDGenerationLocation.STORE)
// Transfer last object ID
Committed revision 8824: - trunk/plugins/org.eclipse.emf.cdo.server.db Resolved. Committed revision 8914: - trunk/plugins/org.eclipse.emf.cdo.tests Closing. |