diff options
author | Erik Johnston <erik@matrix.org> | 2023-01-17 09:58:22 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-01-17 09:58:22 +0000 |
commit | 316590d1ea273115a9e7925236e02d577a231de4 (patch) | |
tree | 3ed7e2ce51e5af2c684f4c7f3d4699a0d4568572 /changelog.d/14856.misc | |
parent | Merge device list replication streams (#14833) (diff) | |
download | synapse-316590d1ea273115a9e7925236e02d577a231de4.tar.xz |
Fix bug in `wait_for_stream_position` (#14856)
We were incorrectly checking if the *local* token had been advanced, rather than the token for the remote instance. In practice, I don't think this has caused any bugs due to where we use `wait_for_stream_position`, as critically we don't use it on instances that also write to the given streams (and so the local token will lag behind all remote tokens).
Diffstat (limited to 'changelog.d/14856.misc')
-rw-r--r-- | changelog.d/14856.misc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/changelog.d/14856.misc b/changelog.d/14856.misc new file mode 100644 index 0000000000..3731d6cbf1 --- /dev/null +++ b/changelog.d/14856.misc @@ -0,0 +1 @@ +Fix `wait_for_stream_position` to correctly wait for the right instance to advance its token. |