RocketChat / RocketChat/Rocket.Chat
Direct Reply via e-mail are multiplied by the amount of running instances
Open
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 46.1k
- Forks
- 13.9k
- Avg merge
- 3d 3h
- Merged PRs (30d)
- 130
Description
Description:
When using "Direct Reply" via e-mail the recipient gets the same reply X times equal to the amount of running instances.
Steps to reproduce:
- Get an e-mail notification that you've been direct messaged
- Answer per e-mail
- Get the same answer multiple times
Expected behavior:
I expect to get the answer just once
Actual behavior:
Actually I got the same answer three times, equally to the amount of our running instances.
Server Setup Information:
- Version of Rocket.Chat Server: 3.9.3
- Operating System: Debian GNU/Linux 9.13 (stretch)
- Deployment Method: tar
- Number of Running Instances: 3
- DB Replicaset Oplog: enabled
- NodeJS Version: v12.20.0
- MongoDB Version: 3.6.21
Client Setup Information
- Desktop App or Browser Version: both
- Operating System: Windows 10 Pro, Ubuntu [16.04,18.04,20.04]
Additional context
Relevant logs:
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
No files, tests, or entry points are named. Begin by reproducing the direct-reply flow with three running instances and trace how one incoming email is handled across them; done means each reply is delivered only once regardless of instance count.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- node.js, typescript
- Domain
- backend, distributed-systems
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100