RocketChat / RocketChat/Rocket.Chat
user data export on multi-instance server does not work
Open
@gabrieleiro is already working on this.
Since Apr 27, 2021.
- #21898 by @gabrieleiro — closed without merging
- Dominant language
- TypeScript
- Stars
- 46.1k
- Forks
- 13.9k
- Avg merge
- 3d 3h
- Merged PRs (30d)
- 130
Description
Description:
My Data Download and Export Messages features do not work properly on multi-instance server.
Steps to reproduce:
- Go to either 1) My Account > Preferences > My Data > Download My Data or 2) Room > Room Info > Export Messages (be sure to choose a room with adequate content)
- You can have multiple users do this simultaneously to reach the max faster.
- When the server reaches a limit, the rocketchat service will stop and the entire site crashes.
- Restart the rocketchat service to bring the system back online.
Expected behavior:
The user should receive an email with a link to download a file containing:
My Data Download - all content from a user's account
Export Messages - all content selected from designated channel
Actual behavior:
The service crashes with no warning or the export/download goes into a permanent "exporting" status but never completes. We have been unable to find a way to get advance notice of a potential problem and have had to disable both features.
Server Setup Information:
- Version of Rocket.Chat Server: 3.6.0
- Operating System: Amazon Linux 2
- Deployment Method: tar
- Number of Running Instances: 3 instances on a single host
- DB Replicaset Oplog:
- NodeJS Version: v12.16.1
- MongoDB Version: 4.0.18
Client Setup Information
- Desktop App or Browser Version: Same on both
- Operating System:
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.
Assessment
This issue has not been assessed yet.