ditto icon indicating copy to clipboard operation
ditto copied to clipboard

Provide a proper way for error responses to CleanupPersistence commands

Open Yannic92 opened this issue 6 years ago • 0 comments

PR #475 revealed that there were two usages of the ID of CleanupPersistenceResponses as message to provide error messages. I think it would be better to provide an actual error response that holds a cause for example.

See: https://github.com/eclipse/ditto/blob/cdd8bb1bdfe65eeb4aa59eb2e7db4ba5454e80a1/services/concierge/actors/src/main/java/org/eclipse/ditto/services/concierge/actors/cleanup/EventSnapshotCleanupCoordinator.java#L367 and https://github.com/eclipse/ditto/blob/cdd8bb1bdfe65eeb4aa59eb2e7db4ba5454e80a1/services/concierge/actors/src/main/java/org/eclipse/ditto/services/concierge/actors/cleanup/EventSnapshotCleanupCoordinator.java#L395

Yannic92 avatar Aug 26 '19 12:08 Yannic92