synapse-product/synapse/storage
Erik Johnston 79fb64e417
Fix to-device being dropped in limited sync in SQLite. (#11966)
If ther are more than 100 to-device messages pending for a device
`/sync` will only return the first 100, however the next batch token was
incorrectly calculated and so all other pending messages would be
dropped.

This is due to `txn.rowcount` only returning the number of rows that
*changed*, rather than the number *selected* in SQLite.
2022-02-11 13:38:05 +00:00
..
databases Fix to-device being dropped in limited sync in SQLite. (#11966) 2022-02-11 13:38:05 +00:00
engines Db txn set isolation level (#11799) 2022-01-25 15:14:46 +01:00
schema Add a background database update to purge account data for deactivated users. (#11655) 2022-02-02 11:37:18 +00:00
util Use auto_attribs/native type hints for attrs classes. (#11692) 2022-01-13 13:49:28 +00:00
__init__.py Remove redundant "coding: utf-8" lines (#9786) 2021-04-14 15:34:27 +01:00
_base.py Invalidate the get_users_in_room{_with_profile} caches only when necessary. (#11878) 2022-02-02 12:24:07 -05:00
background_updates.py Make background updates controllable via a plugin (#11306) 2021-11-29 17:57:06 +01:00
database.py Pass isolation_level to runWithConnection (#11847) 2022-01-27 17:45:39 +00:00
keys.py Use auto_attribs/native type hints for attrs classes. (#11692) 2022-01-13 13:49:28 +00:00
persist_events.py Refactor backfilled into specific behavior function arguments (_persist_events_and_state_updates) (#11417) 2021-11-29 16:01:54 -06:00
prepare_database.py Minor updates, and docs, for schema delta files (#11823) 2022-01-25 14:11:13 +00:00
purge_events.py Remove redundant "coding: utf-8" lines (#9786) 2021-04-14 15:34:27 +01:00
push_rule.py Remove redundant "coding: utf-8" lines (#9786) 2021-04-14 15:34:27 +01:00
relations.py Support pagination tokens from /sync and /messages in the relations API. (#11952) 2022-02-10 10:52:48 -05:00
roommember.py Do not include rooms with an unknown room version in a sync response. (#10644) 2021-08-19 11:12:55 -04:00
state.py Create singletons for StateFilter.{all,none}() (#11836) 2022-01-27 10:54:27 +00:00
types.py Remove redundant "coding: utf-8" lines (#9786) 2021-04-14 15:34:27 +01:00