Skip to content
Snippets Groups Projects
  • Richard van der Hoff's avatar
    71a1abb8
    Stop the master relaying USER_SYNC for other workers (#7318) · 71a1abb8
    Richard van der Hoff authored
    Long story short: if we're handling presence on the current worker, we shouldn't be sending USER_SYNC commands over replication.
    
    In an attempt to figure out what is going on here, I ended up refactoring some bits of the presencehandler code, so the first 4 commits here are non-functional refactors to move this code slightly closer to sanity. (There's still plenty to do here :/). Suggest reviewing individual commits.
    
    Fixes (I hope) #7257.
    Stop the master relaying USER_SYNC for other workers (#7318)
    Richard van der Hoff authored
    Long story short: if we're handling presence on the current worker, we shouldn't be sending USER_SYNC commands over replication.
    
    In an attempt to figure out what is going on here, I ended up refactoring some bits of the presencehandler code, so the first 4 commits here are non-functional refactors to move this code slightly closer to sanity. (There's still plenty to do here :/). Suggest reviewing individual commits.
    
    Fixes (I hope) #7257.