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

Bug 427695

Summary: [server] migration should remove orphaned operations from user preferences
Product: [ECD] Orion Reporter: Anthony Hunter <ahunter.eclipse>
Component: ServerAssignee: Anthony Hunter <ahunter.eclipse>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3    
Version: 5.0   
Target Milestone: 5.0 RC1   
Hardware: PC   
OS: Linux   
Whiteboard:

Description Anthony Hunter CLA 2014-02-07 12:49:39 EST
Following from bug 426840 that we have fixed in the simple metadata storage, when we migrate from the legacy storage, we should remove any operation from the user preferences that does not have a corresponding task.
Comment 1 Anthony Hunter CLA 2014-02-07 13:16:27 EST
This is fixed with commit:
http://git.eclipse.org/c/orion/org.eclipse.orion.server.git/commit/?id=0f0cf39591dea978d5190ad41b1d9ac5316f9bcb

The message added to the migration log is:
Deleted orphan operation that does not have a matching task: /operations//task/id/cEWJuPh1ABMQAdU4sm2ZBQ

When I migrate a snapshot of orionhub.org, this results in the removal of 5305 orphan operations.