Mattermost Server: 5.20.1
1. Run a compliance export
Compliance export runs successfully or fails with an error
Mattermost server crashes, and all servers in the cluster need to be restarted to restore functionality
No errors are output to mattermost.log but sudo journalctl -u mattermost.service --since "2020-03-9 23:45:00" > /tmp/mattermost.log outputs this:
This is a bit difficult to test, because it depends on certain conditions to be satisfied for it to reproduce. A unit test is ideal for this, which is already included in the PR.
To confirm this does not introduce a regression, any testing around the compliance job would suffice.
Tested and Passed on 5.20.2
Compliance export runs successfully, no errors or crashes
(Waiting for 5.21-rc3 to be updated for testing)
Tested and Passed on 5.21-rc3
No crashes or errors - Compliance export runs successfully.