Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Matrix
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Container Registry
Model registry
Operate
Environments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
TeDomum
Matrix
Commits
9bac5d62
Unverified
Commit
9bac5d62
authored
4 years ago
by
Erik Johnston
Committed by
GitHub
4 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Ensure ReplicationStreamer is always started when replication enabled. (#7579)
Fixes #7566.
parent
b3b2038b
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
changelog.d/7579.bugfix
+1
-0
1 addition, 0 deletions
changelog.d/7579.bugfix
synapse/replication/tcp/handler.py
+3
-0
3 additions, 0 deletions
synapse/replication/tcp/handler.py
with
4 additions
and
0 deletions
changelog.d/7579.bugfix
0 → 100644
+
1
−
0
View file @
9bac5d62
Fix bug where `ReplicationStreamer` was not always started when replication was enabled. Bug introduced in v1.14.0rc1.
This diff is collapsed.
Click to expand it.
synapse/replication/tcp/handler.py
+
3
−
0
View file @
9bac5d62
...
...
@@ -159,6 +159,9 @@ class ReplicationCommandHandler:
hs
.
config
.
redis_port
,
)
# First let's ensure that we have a ReplicationStreamer started.
hs
.
get_replication_streamer
()
# We need two connections to redis, one for the subscription stream and
# one to send commands to (as you can't send further redis commands to a
# connection after SUBSCRIBE is called).
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment