Commit Graph

86 Commits (watcha-develop)

Author SHA1 Message Date
Erik Johnston 23740eaa3d
Correctly mention previous copyright (#16820) 10 months ago
Patrick Cloke 8e1e62c9e0 Update license headers 1 year ago
David Robertson 91587d4cf9
Bulk-invalidate e2e cached queries after claiming keys (#16613) 1 year ago
Erik Johnston 8f35f8148e
Fix bug where a new writer advances their token too quickly (#16473) 1 year ago
Patrick Cloke 02f74f3a99
Combine AbstractStreamIdTracker and AbstractStreamIdGenerator. (#15192) 2 years ago
Andrew Morgan 1eea662780
Add a `get_next_txn` method to `StreamIdGenerator` to match `MultiWriterIdGenerator` (#15191 2 years ago
Erik Johnston 65d0386693
Always notify replication when a stream advances (#14877) 2 years ago
Erik Johnston 9187fd940e
Wait for streams to catch up when processing HTTP replication. (#14820) 2 years ago
David Robertson 115f0eb233
Reintroduce #14376, with bugfix for monoliths (#14468) 2 years ago
Erik Johnston d63814fd73
Revert "Remove slaved id tracker (#14376)" (#14463) 2 years ago
Nick Mills-Barrett 36097e88c4
Remove slaved id tracker (#14376) 2 years ago
Eric Eastwood b93bd95e8a
When loading current ids, sort by `stream_id` to avoid incorrect overwrite and avoid errors caused by sorting alphabetical instance name which can be `null` (#13585) 2 years ago
Patrick Cloke 10a88ba91c
Use auto_attribs/native type hints for attrs classes. (#11692) 3 years ago
Olivier Wilkinson (reivilibre) 4dd9ea8f4f Revert "Revert accidental fast-forward merge from v1.49.0rc1" 3 years ago
Richard van der Hoff ff7cc17b57
Improve log messages for stream ids (#11536) 3 years ago
Sean Quah 158d73ebdd Revert accidental fast-forward merge from v1.49.0rc1 3 years ago
Sean Quah ffd858aa68
Add type hints to `synapse/storage/databases/main/events_worker.py` (#11411) 3 years ago
Patrick Cloke 64ef25391d
Add type hints to some storage classes (#11307) 3 years ago
Erik Johnston 333d6f4e84
Fix race in `MultiWriterIdGenerator` (#11045) 3 years ago
David Robertson 51a5da74cc
Annotate synapse.storage.util (#10892) 3 years ago
Erik Johnston 92b6ac31b2
Speed up MultiWriterIdGenerator when lots of IDs are in flight. (#10755) 3 years ago
Jonathan de Jong bdfde6dca1
Use inline type hints in `http/federation/`, `storage/` and `util/` (#10381) 3 years ago
Erik Johnston c955f22e2c Fix bug when running presence off master (#10149) 4 years ago
Erik Johnston d26d15ba3d
Fix bug when running presence off master (#10149) 4 years ago
Jonathan de Jong 4b965c862d
Remove redundant "coding: utf-8" lines (#9786) 4 years ago
Jonathan de Jong 2ca4e349e9
Bugbear: Add Mutable Parameter fixes (#9682) 4 years ago
Eric Eastwood 0a00b7ff14
Update black, and run auto formatting over the codebase (#9381) 4 years ago
Patrick Cloke 7950aa8a27 Fix some typos. 4 years ago
Erik Johnston 12ec55bfaa
Increase perf of handling concurrent use of StreamIDGenerators. (#9190) 4 years ago
Erik Johnston 2506074ef0
Fix receipts or account data not being sent down sync (#9193) 4 years ago
Erik Johnston 6633a4015a
Allow moving account data and receipts streams off master (#9104) 4 years ago
Patrick Cloke bd30cfe86a
Convert internal pusher dicts to attrs classes. (#8940) 4 years ago
Erik Johnston 20fa83f374 Remove racey assertion in MultiWriterIDGenerator (#8530) 4 years ago
Erik Johnston 618d405a32
Remove racey assertion in MultiWriterIDGenerator (#8530) 4 years ago
Erik Johnston 8de3703d21
Make event persisters periodically announce position over replication. (#8499) 4 years ago
Erik Johnston fa8934b175 Reduce serialization errors in MultiWriterIdGen (#8456) 4 years ago
Erik Johnston ae5b2a72c0
Reduce serialization errors in MultiWriterIdGen (#8456) 4 years ago
Erik Johnston e3debf9682
Add logging on startup/shutdown (#8448) 4 years ago
Erik Johnston 695240d34a
Fix DB query on startup for negative streams. (#8447) 4 years ago
Patrick Cloke 4ff0201e62
Enable mypy checking for unreachable code and fix instances. (#8432) 4 years ago
Erik Johnston b1433bf231
Don't table scan events on worker startup (#8419) 4 years ago
Erik Johnston bd380d942f
Add checks for postgres sequence consistency (#8402) 4 years ago
Erik Johnston 3e87d79e1c
Fix schema delta for servers that have not backfilled (#8396) 4 years ago
Erik Johnston f112cfe5bb
Fix MultiWriteIdGenerator's handling of restarts. (#8374) 4 years ago
Erik Johnston cbabb312e0
Use `async with` for ID gens (#8383) 4 years ago
Erik Johnston 04cc249b43
Add experimental support for sharding event persister. Again. (#8294) 4 years ago
Erik Johnston deedb91732
Fix `MultiWriterIdGenerator.current_position`. (#8257) 4 years ago
Richard van der Hoff 0dae7d80bf
Add more logging to debug slow startup (#8264) 4 years ago
Patrick Cloke c619253db8
Stop sub-classing object (#8249) 4 years ago
Brendan Abolivier 9f8abdcc38
Revert "Add experimental support for sharding event persister. (#8170)" (#8242) 4 years ago