| Summary: | Clone repository and master repository do not have equal timestamps for the same revisions. | ||
|---|---|---|---|
| Product: | [Modeling] EMF | Reporter: | Erwin Betschart <erwin> |
| Component: | cdo.core | Assignee: | Eike Stepper <stepper> |
| Status: | CLOSED FIXED | QA Contact: | Eike Stepper <stepper> |
| Severity: | normal | ||
| Priority: | P3 | CC: | cyril.jaquier, stepper |
| Version: | 3.0 | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | All | ||
| Whiteboard: | |||
|
Description
Erwin Betschart
Forgot to mention that the raw replication was used. WriteThroughCommitContext was calling a wring getTimeStamp() method in OfflineClone. Better:
@Override
protected long createTimeStamp(OMMonitor monitor)
{
// Already set after commit to the master
return WriteThroughCommitContext.this.getTimeStamp(); // Do not call getTimeStamp() of the enclosing Repo class!!!
}
Committed to HEAD Available in 3.0 GA: http://download.eclipse.org/modeling/emf/cdo/updates/3.0-releases/ |