Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

Typing worker needs to handle stream update requests #7967

Merged
merged 3 commits into from
Jul 28, 2020

Conversation

erikjohnston
Copy link
Member

@erikjohnston erikjohnston commented Jul 28, 2020

IIRC this doesn't break tests because its only hit on reconnection, or something.

Basically, when a process needs to fetch missing updates for the typing stream it needs to query the writer instance via HTTP (as we don't write typing notifications to the DB), the problem was that the endpoint (streams) was only registered on master and specifically not on the typing writer worker.

@erikjohnston erikjohnston requested a review from a team July 28, 2020 09:29
Copy link
Member

@richvdh richvdh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm. would be nice to add a bit more detail to the PR about what exactly this is doing.

@erikjohnston erikjohnston merged commit a8f7ed2 into release-v1.18.0 Jul 28, 2020
@erikjohnston erikjohnston deleted the erikj/typing_fix branch July 28, 2020 10:04
richvdh added a commit that referenced this pull request Jul 28, 2020
Synapse 1.18.0rc2 (2020-07-28)
==============================

Bugfixes
--------

- Fix an `AssertionError` exception introduced in v1.18.0rc1. ([\#7876](#7876))
- Fix experimental support for moving typing off master when worker is restarted, which is broken in v1.18.0rc1. ([\#7967](#7967))

Internal Changes
----------------

- Further optimise queueing of inbound replication commands. ([\#7876](#7876))
babolivier pushed a commit that referenced this pull request Sep 1, 2021
* commit '7000a215e':
  1.18.0rc2
  Typing worker needs to handle stream update requests (#7967)
  Handle replication commands synchronously where possible (#7876)
  update changelog
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants