matrix-org / synapse

Synapse: Matrix homeserver written in Python/Twisted.
https://matrix-org.github.io/synapse
Apache License 2.0
11.82k stars 2.13k forks source link

Bulk-invalidate e2e cached queries after claiming keys #16613

Closed DMRobertson closed 11 months ago

DMRobertson commented 11 months ago

As threatened in https://github.com/matrix-org/synapse/issues/16554#issuecomment-1787473387

History:

I wrote a dirty test for the new bulk invalidation that I'm not particularly happy with. Completely untested otherwise.

Nominating Erik because a) streams and b) PC helped me write this.