LDAP sync sends cache clear messages in a tight loop
QA Test Steps
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.
Tested on the latest 5.26 test instance and there were no issues found related to LDAP sync. Closing the ticket.
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.
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?
Great, thanks and ! Sven let the customer know as well.