apache/incubator-brooklyn — pull request #334 by neykov (2014-11-15 16:31:38+00:00)
Title: Persistence fix for removing and adding same ID catalog item

If a catalog item with the same ID is removed and then added back the delta persister will first update the stored item and then delete it, regardless of the initial order of removal-addition. This may result in the catalog items disappearing from store even though they were just added.

Explicitly remove catalog item with same ID from the removed set if new object is added.