Commit Graph

148 Commits (ab3f1b3b53cdb4e2751b3e8c5eb052d7475be58f)

Author SHA1 Message Date
Patrick Cloke ab3f1b3b53
Convert simple_select_one_txn and simple_select_one to return tuples. (#16612) 3 years ago
David Robertson 91587d4cf9
Bulk-invalidate e2e cached queries after claiming keys (#16613) 3 years ago
Patrick Cloke 455ef04187
Avoid updating the same rows multiple times with simple_update_many_txn. (#16609) 3 years ago
Patrick Cloke 9738b1c497
Avoid executing no-op queries. (#16583) 3 years ago
Patrick Cloke ec9ff389f4
More tests for the simple_* methods. (#16596) 3 years ago
Patrick Cloke cfb6d38c47
Remove remaining usage of cursor_to_dict. (#16564) 3 years ago
David Robertson fdce83ee60
Claim fallback keys in bulk (#16570) 3 years ago
Patrick Cloke 679c691f6f
Remove more usages of cursor_to_dict. (#16551) 3 years ago
Patrick Cloke 9407d5ba78
Convert simple_select_list and simple_select_list_txn to return lists of tuples (#16505) 3 years ago
Patrick Cloke a4904dcb04
Convert simple_select_many_batch, simple_select_many_txn to tuples. (#16444) 3 years ago
Patrick Cloke f1e43018b7
Inline simple_search_list/simple_search_list_txn. (#16434) 3 years ago
Patrick Cloke 06bbf1029c
Convert simple_select_list_paginate_txn to return tuples. (#16433) 3 years ago
dependabot[bot] b225acf3e6
Bump types-psycopg2 from 2.9.21.11 to 2.9.21.14 (#16381) 3 years ago
Jason Little 2a0f86f88f
Convert `_insert_graph_receipts_txn` to `simple_upsert` (#16299) 3 years ago
David Robertson c1c6c95d72
Log values at DEBUG level with execute_values (#16281) 3 years ago
Patrick Cloke 9ec3da06da
Bump mypy-zope & mypy. (#16188) 3 years ago
Shay e625c3dca0
Revert "Stop writing to column `user_id` of tables `profiles` and `user_filters`. (#15953) 3 years ago
Shay f25b0f8808
Stop writing to column `user_id` of tables `profiles` and `user_filters` (#15787) 3 years ago
Erik Johnston 95a96b21eb
Add foreign key constraint to `event_forward_extremities`. (#15751) 3 years ago
Andrew Morgan 2ac6c3bbb5
Don't always lock "user_ips" table when performing non-native upsert (#15788) 3 years ago
David Robertson d162aecaac
Quick & dirty metric for background update status (#15740) 3 years ago
Patrick Cloke 1e89976b26
Rename blacklist/whitelist internally. (#15620) 3 years ago
Erik Johnston fc3a878220
Speed up rebuilding of the user directory for local users (#15529) 3 years ago
David Robertson 8a47d6e3a6
More precise type for LoggingTransaction.execute (#15432) 3 years ago
dependabot[bot] bd4d958aaf
Bump ruff from 0.0.252 to 0.0.259 (#15328) 3 years ago
Patrick Cloke 3d060eae6c
Add missing type hints to `synapse.storage.database`. (#15230) 3 years ago
Erik Johnston c69aae94cd
Split up txn for fetching device keys (#15215) 3 years ago
Patrick Cloke 733531ee3e
Add final type hint to synapse.server. (#15035) 3 years ago
Patrick Cloke 8a05d5de21
Batch look-ups to see if rooms are partial stated. (#14917) 3 years ago
Andrew Morgan c4456114e1
Add experimental support for MSC3391: deleting account data (#14714) 3 years ago
David Robertson 3d87847ecc
Enable `--warn-redundant-casts` option in mypy (#14671) 3 years ago
Sean Quah f792dd74e1
Remove option to skip locking of tables during emulated upserts (#14469) 3 years ago
Sean Quah 9cae44f49e
Track unconverted device list outbound pokes using a position instead (#14516) 3 years ago
Andrew Morgan e7132c3f81
Fix check to ignore blank lines in incoming TCP replication (#14449) 4 years ago
David Robertson c3a4780080
When restarting a partial join resync, prioritise the server which actioned a partial join (#14126) 4 years ago
Patrick Cloke b4ec4f5e71
Track notification counts per thread (implement MSC3773). (#13776) 4 years ago
Sean Quah d65862c41f
Refactor `_get_e2e_device_keys_txn` to split large queries (#13956) 4 years ago
David Robertson 285d72556b
Update mypy and mypy-zope, attempt 3 (#13993) 4 years ago
David Robertson 8e52cb0bce
Revert "Update mypy and mypy-zope (#13925)" 4 years ago
David Robertson 6d543d6d9f
Update mypy and mypy-zope (#13925) 4 years ago
David Robertson 15754d720f
Update UPSERT comment now that native upserts are the default (#13924) 4 years ago
David Robertson 0a38c7ec6d
Snapshot schema 72 (#13873) 4 years ago
Patrick Cloke efd108b45d
Accept & store thread IDs for receipts (implement MSC3771). (#13782) 4 years ago
Patrick Cloke b2b0c85279
Support providing an index predicate for upserts. (#13822) 4 years ago
David Robertson f2d2481e56
Require SQLite >= 3.27.0 (#13760) 4 years ago
David Robertson 19e5d44886
Revert "Update locked versions of mypy and mypy-zope (#13521)" 4 years ago
David Robertson f383b9b3ec
Update locked versions of mypy and mypy-zope (#13521) 4 years ago
David Robertson 34949ead1f
Track DB txn times w/ two counters, not histogram (#13342) 4 years ago
Nick Mills-Barrett 2ee0b6ef4b
Safe async event cache (#13308) 4 years ago
Nick Mills-Barrett cc21a431f3
Async get event cache prep (#13242) 4 years ago