Skip to content
Snippets Groups Projects
  1. May 13, 2020
    • Erik Johnston's avatar
      Have all instances correctly respond to REPLICATE command. (#7475) · 7ee24c56
      Erik Johnston authored
      Before all streams were only written to from master, so only master needed to respond to `REPLICATE` commands.
      
      Before all instances wrote to the cache invalidation stream, but didn't respond to `REPLICATE`. This was a bug, which could lead to missed rows from cache invalidation stream if an instance is restarted, however all the caches would be empty in that case so it wasn't a problem.
      Unverified
      7ee24c56
    • Erik Johnston's avatar
      Fix Redis reconnection logic (#7482) · 8ca79613
      Erik Johnston authored
      Proactively send out `POSITION` commands (as if we had just received a `REPLICATE`) when we connect to Redis. This is important as other instances won't notice we've connected to issue a `REPLICATE` command (unlike for direct TCP connections). This is only currently an issue if master process reconnects without restarting (if it restarts then it won't have written anything and so other instances probably won't have missed anything). 
      Unverified
      8ca79613
  2. May 12, 2020
  3. May 11, 2020
  4. May 08, 2020
  5. May 07, 2020
  6. May 06, 2020
Loading