The errors in the logs correlate to the CPU spikes, which happens during the LDAP syncs
Issue created from a message in Mattermost.
Create an HA setup with 5000 teams, 50000 channels. (use the mattermost sampledata command)
Run LDAP sync without this patch and notice that during the sync there is a CPU spike and an insane amount of cluster traffic
Apply this patch and verify that there is no such spike and the cluster traffic is flattened.
Great, thanks and ! Sven let the customer know as well.
looks like we had a brief moment of sustained CPU load last night. is there anything i need/can to do aside from providing this very important diagram?
Latest update: after testing and investigating further, dev has a better idea what the issue is; aiming to have a fix available for QA testing by tomorrow latest.
Tested on the latest 5.26 test instance and there were no issues found related to LDAP sync. Closing the ticket.