MatrixSynapse/synapse
Richard van der Hoff f31f8e6319
Remove stream ordering from Metadata dict (#8452)
There's no need for it to be in the dict as well as the events table. Instead,
we store it in a separate attribute in the EventInternalMetadata object, and
populate that on load.

This means that we can rely on it being correctly populated for any event which
has been persited to the database.
2020-10-05 14:43:14 +01:00
..
_scripts Remove obsolete __future__ imports (#8337) 2020-09-17 08:37:01 -04:00
api Do not assume that account data is of the correct form. (#8454) 2020-10-05 09:28:05 -04:00
app Add logging on startup/shutdown (#8448) 2020-10-02 15:20:45 +01:00
appservice Add type annotations to SimpleHttpClient (#8372) 2020-09-24 15:47:20 +01:00
config Allow background tasks to be run on a separate worker. (#8369) 2020-10-02 08:23:15 -04:00
crypto Fix occasional "Re-starting finished log context" from keyring (#8398) 2020-09-25 12:29:54 +01:00
events Remove stream ordering from Metadata dict (#8452) 2020-10-05 14:43:14 +01:00
federation Remove stream ordering from Metadata dict (#8452) 2020-10-05 14:43:14 +01:00
groups Simplify super() calls to Python 3 syntax. (#8344) 2020-09-18 09:56:44 -04:00
handlers Remove stream ordering from Metadata dict (#8452) 2020-10-05 14:43:14 +01:00
http Enable mypy checking for unreachable code and fix instances. (#8432) 2020-10-01 08:09:18 -04:00
logging Enable mypy checking for unreachable code and fix instances. (#8432) 2020-10-01 08:09:18 -04:00
metrics Rewrite BucketCollector 2020-09-30 16:49:15 +01:00
module_api Stop sub-classing object (#8249) 2020-09-04 06:54:56 -04:00
push Enable mypy checking for unreachable code and fix instances. (#8432) 2020-10-01 08:09:18 -04:00
replication Add unit test for event persister sharding (#8433) 2020-10-02 09:57:12 +01:00
res/templates Convert additional templates to Jinja (#8444) 2020-10-02 11:15:53 +01:00
rest Remove stream ordering from Metadata dict (#8452) 2020-10-05 14:43:14 +01:00
server_notices Stop sub-classing object (#8249) 2020-09-04 06:54:56 -04:00
spam_checker_api Stop sub-classing object (#8249) 2020-09-04 06:54:56 -04:00
state Enable mypy checking for unreachable code and fix instances. (#8432) 2020-10-01 08:09:18 -04:00
static Clean-up the fallback login code. (#7657) 2020-06-10 09:50:39 -04:00
storage Remove stream ordering from Metadata dict (#8452) 2020-10-05 14:43:14 +01:00
streams Make token serializing/deserializing async (#8427) 2020-09-30 20:29:19 +01:00
util Expose a `get_resource_usage` method in `Measure` 2020-09-29 17:35:20 +01:00
__init__.py 1.21.0rc2 2020-10-02 12:46:58 +01:00
event_auth.py Convert events worker database to async/await. (#8071) 2020-08-18 16:20:49 -04:00
notifier.py Various clean ups to room stream tokens. (#8423) 2020-09-29 21:48:33 +01:00
python_dependencies.py Drop support for ancient prometheus_client (#8426) 2020-09-30 16:42:05 +01:00
secrets.py Stop sub-classing object (#8249) 2020-09-04 06:54:56 -04:00
server.py Allow background tasks to be run on a separate worker. (#8369) 2020-10-02 08:23:15 -04:00
types.py Make token serializing/deserializing async (#8427) 2020-09-30 20:29:19 +01:00
visibility.py Do not assume that account data is of the correct form. (#8454) 2020-10-05 09:28:05 -04:00