-
Bug
-
Resolution: Done
-
Major
-
None
-
None
-
Not Started
-
Not Started
-
Not Started
-
Not Started
-
Not Started
-
Not Started
Reason of the error
1. The DeleteAccountHierarchyWorker performs for its associations, including its services
2. The services of the account get destroyed and a ServiceDeletedEvent is created for each one of them.
3. As the associations of the account are already deleted, the account gets deleted.
4. The subscriber of ServiceDeletedEvent calls BackendDeleteServiceWorker sending the event. It tries to deserialize it but it cannot do it because the account has already been deleted.
What should happen in this case
The goal is to be able to remove the tenant and its associations in system and also notify apisonator, etc.
What we decided to do
We won't save the tenant at all for this event, only its ID. And the full object will be loaded when needed only, and then raise an error in that case if it does not exist anymore but it is needed for that specific feature.
- blocks
-
THREESCALE-4483 Manually destroy in background the tenant with ID 2445580539982
- Closed