summary refs log tree commit diff
path: root/changelog.d/10993.misc (follow)
Commit message (Collapse)AuthorAgeFilesLines
* 1.45.0rc1Brendan Abolivier2021-10-121-1/+0
|
* Fix long-standing bug where `ReadWriteLock` could drop logging contexts (#10993)Sean Quah2021-10-081-0/+1
Use `PreserveLoggingContext()` to ensure that logging contexts are not lost when exiting a read/write lock. When exiting a read/write lock, callbacks on a `Deferred` are triggered as a signal to any waiting coroutines. Any waiting coroutine that becomes runnable is likely to follow the Synapse logging context rules and will restore its own logging context, then either run to completion or await another `Deferred`, resetting the logging context in the process.