diff options
author | Sean Quah <8349537+squahtx@users.noreply.github.com> | 2022-04-05 17:19:16 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-04-05 17:19:16 +0100 |
commit | 79e7c2c42648b189b800b80fcdb61949ab9be51b (patch) | |
tree | a472a39d22413e5af8fc8b3e970cdb08cb69e9ea /changelog.d/12358.misc | |
parent | Make `StreamToken` and `RoomStreamToken` methods propagate cancellations (#12... (diff) | |
download | synapse-79e7c2c42648b189b800b80fcdb61949ab9be51b.tar.xz |
Fix edge case where a `Linearizer` could get stuck (#12358)
Just after a task acquires a contended `Linearizer` lock, it sleeps. If the task is cancelled during this sleep, we need to release the lock. Signed-off-by: Sean Quah <seanq@element.io>
Diffstat (limited to '')
-rw-r--r-- | changelog.d/12358.misc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/changelog.d/12358.misc b/changelog.d/12358.misc new file mode 100644 index 0000000000..fcacbcba5c --- /dev/null +++ b/changelog.d/12358.misc @@ -0,0 +1 @@ +Fix a long-standing bug where `Linearizer`s could get stuck if a cancellation were to happen at the wrong time. |