Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Type hint the constructors of the data store classes (#11555) | Sean Quah | 2021-12-13 | 1 | -3/+11 |
| | |||||
* | Add type hints to some storage classes (#11307) | Patrick Cloke | 2021-11-11 | 1 | -2/+4 |
| | |||||
* | Handle federation inbound instances being killed more gracefully (#11262) | Erik Johnston | 2021-11-08 | 1 | -10/+21 |
| | | | | | | | | | | | | | | | | | * 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. | ||||
* | Fix dropping locks on shut down (#10433) | Erik Johnston | 2021-07-20 | 1 | -1/+5 |
| | |||||
* | Ensure we always drop the federation inbound lock (#10336) | Erik Johnston | 2021-07-09 | 1 | -2/+13 |
| | |||||
* | Add a distributed lock (#10269) | Erik Johnston | 2021-06-29 | 1 | -0/+334 |
This adds a simple best effort locking mechanism that works cross workers. |