diff options
author | Erik Johnston <erik@matrix.org> | 2021-11-08 09:54:47 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-11-08 09:54:47 +0000 |
commit | 98c8fc6ce82d9d6b1bd21bf70df6a0e1ce91c1dc (patch) | |
tree | dc83ed48d80e915b7fbe802d9bf14b91fb906b66 /changelog.d/11262.bugfix | |
parent | Minor cleanup to Debian packaging (#11269) (diff) | |
download | synapse-98c8fc6ce82d9d6b1bd21bf70df6a0e1ce91c1dc.tar.xz |
Handle federation inbound instances being killed more gracefully (#11262)
* Make lock better handle process being killed If the process gets killed and restarted (so that it didn't have a chance to drop its locks gracefully) then there may still be locks in the DB that are for the same instance that haven't yet timed out but are safe to delete. We handle this case by a) checking if the current instance already has taken out the lock, and b) if not then ignoring locks that are for the same instance. * Periodically check for old staged events This is to protect against other instances dying and their locks timing out.
Diffstat (limited to 'changelog.d/11262.bugfix')
-rw-r--r-- | changelog.d/11262.bugfix | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/changelog.d/11262.bugfix b/changelog.d/11262.bugfix new file mode 100644 index 0000000000..768fbb8973 --- /dev/null +++ b/changelog.d/11262.bugfix @@ -0,0 +1 @@ +Fix a bug where if a remote event is being processed by a worker when it gets killed then it won't get processed on restart. Introduced in v1.37.1. |