summary refs log tree commit diff
path: root/changelog.d/7482.bugfix
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2020-05-13 09:57:15 +0100
committerGitHub <noreply@github.com>2020-05-13 09:57:15 +0100
commit8ca79613e62201f0990a482130527fc88c4ffd40 (patch)
tree165ff43a8cf7bd954ac6b0ec6e65bf5db5fe5edc /changelog.d/7482.bugfix
parentUpdate documentation about SSO mapping providers (#7458) (diff)
downloadsynapse-8ca79613e62201f0990a482130527fc88c4ffd40.tar.xz
Fix Redis reconnection logic (#7482)
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). 
Diffstat (limited to 'changelog.d/7482.bugfix')
-rw-r--r--changelog.d/7482.bugfix1
1 files changed, 1 insertions, 0 deletions
diff --git a/changelog.d/7482.bugfix b/changelog.d/7482.bugfix
new file mode 100644
index 0000000000..018bf5cc89
--- /dev/null
+++ b/changelog.d/7482.bugfix
@@ -0,0 +1 @@
+Fix Redis reconnection logic that can result in missed updates over replication if master reconnects to Redis without restarting.