Commit Graph

8 Commits (7b2af21b93042d09ab59ec365aee8e9eeef2791f)

Author SHA1 Message Date
Erik Johnston 2190027cf9 Move UserSyncCommand handling to CommandHandler 2020-04-06 15:37:25 +01:00
Erik Johnston 27e4d2bdd5 Add an AbstractConnection interface class 2020-04-06 14:57:29 +01:00
Erik Johnston 8d81fd25c4 Handle errors when sending commands to connections 2020-04-06 14:41:49 +01:00
Erik Johnston ad2a80a742 Don't error if we get a REPLICATE command without a connection
It's probably just a race.
2020-04-06 14:41:12 +01:00
Erik Johnston 525a47dc28 Improve docstrings in handler 2020-04-06 14:34:33 +01:00
Erik Johnston cadb3f57dd Merge server command processing into ReplicationCommandHandler 2020-04-06 12:53:14 +01:00
Erik Johnston e6c25e0858 Allow ReplicationCommandHandler to have multiple connections
This will allow the server replication component to use
ReplicationCommandHandler.
2020-04-06 12:52:53 +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