Commit Graph

5 Commits (55eccdc094fe99c1619d046693c401cb5896f92c)

Author SHA1 Message Date
Erik Johnston 55eccdc094 Address review comments 2020-04-06 18:20:13 +01:00
Erik Johnston a2e0bb9512 Only resync on POSITION if cmd.token != current_token 2020-04-06 18:14:09 +01:00
Erik Johnston 84ac795e04 Add/fixup comments 2020-04-06 15:54:56 +01:00
Erik Johnston 3a86ea5000 Fix race between RDATA and POSITION commands.
Also fixes an exception caused by incorrectly assuming
`_pending_batches` contained `RdataCommand` rather than stream rows.
2020-04-06 10:45:16 +01:00
Erik Johnston 5016b162fc
Move client command handling out of TCP protocol (#7185)
The aim here is to move the command handling out of the TCP protocol classes and to also merge the client and server command handling (so that we can reuse them for redis protocol). This PR simply moves the client paths to the new `ReplicationCommandHandler`, a future PR will move the server paths too.
2020-04-06 09:58:42 +01:00