parabol icon indicating copy to clipboard operation
parabol copied to clipboard

feat: user presence supports k8s

Open mattkrick opened this issue 1 year ago • 1 comments

Description

fix #7204

User presence is currently reset during a postDeploy step. This won't work when we move to k8s and have multiple servers deploying at different times.

This PR will wipe out user presence for all users connected to a given socket server during shutdown. In the event of an ungraceful shutdown, when a server starts up it performs a health check on all other servers. It then removes any user presence for servers that were not present during the health check.

Testing scenarios

  • [ ] tbd

mattkrick avatar Sep 21 '22 00:09 mattkrick

SonarCloud Quality Gate failed.    Quality Gate failed

Bug C 1 Bug
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

sonarcloud[bot] avatar Sep 21 '22 00:09 sonarcloud[bot]