Need claim ID to delete message
Currently, any client who knows the message ID can delete the message though the message may be processing by another client.
It could cause some unexpected problems. A better way to delete a message is make sure the message is deleted by the client who is claiming the message. So there are two options:
1. Add a quick receipt handler which is combined by claim id and message id, when delete a message, client must provide the receipt handler
2. When delete a message, client must provide both claim id and message id
Blueprint information
- Status:
- Complete
- Approver:
- Feilong Wang
- Priority:
- High
- Drafter:
- Feilong Wang
- Direction:
- Approved
- Assignee:
- wanghao
- Definition:
- Approved
- Series goal:
- Accepted for stein
- Implementation:
- Implemented
- Milestone target:
- stein-1
- Started by
- wanghao
- Completed by
- wanghao
Related branches
Related bugs
Sprints
Whiteboard
it seems that we have already satisfied this use case.
Gerrit topic: https:/
Addressed by: https:/
Spec of bp delete-
Addressed by: https:/
Support delete messages with claim_ids