anonymousland-synapse/synapse/storage
Erik Johnston 25dd56ace3 Fix race when persisting create event (#4404)
* Fix race when persisting create event

When persisting a chunk of DAG it is sometimes requried to do a state
resolution, which requires knowledge of the room version. If this
happens while we're persisting the create event then we need to use that
event rather than attempting to look it up in the database.
2019-01-18 23:17:04 +11:00
..
engines Port storage/ to Python 3 (#3725) 2018-08-31 00:19:58 +10:00
schema Remove duplicates in the user_ips table and add an index (#4370) 2019-01-12 06:21:50 +11:00
util run isort 2018-07-09 16:09:20 +10:00
__init__.py drop undocumented dependency on dateutil (#4266) 2018-12-06 04:52:42 +11:00
_base.py Fix adding new rows instead of updating them if one of the key values is a NULL in upserts. (#4369) 2019-01-09 22:26:25 +11:00
account_data.py run isort 2018-07-09 16:09:20 +10:00
appservice.py Make EventStore inherit from EventFederationStore 2018-07-26 12:48:51 +01:00
background_updates.py Run things as background processes 2018-07-18 20:55:05 +01:00
client_ips.py Remove duplicates in the user_ips table and add an index (#4370) 2019-01-12 06:21:50 +11:00
deviceinbox.py Port storage/ to Python 3 (#3725) 2018-08-31 00:19:58 +10:00
devices.py Add unique indexes to a couple of tables 2018-11-02 10:36:13 +00:00
directory.py fix thinkos 2018-09-29 02:14:40 +01:00
e2e_room_keys.py Settings Fix deleting e2e room keys on xenial (#4295) 2018-12-14 05:10:31 +11:00
end_to_end_keys.py Lets convert bytes to unicode instead 2018-11-08 12:33:13 +00:00
event_federation.py Add helpers for getting prev and auth events (#4139) 2018-11-06 00:35:15 +11:00
event_push_actions.py Fix some looping_call calls which were broken in #3604 2018-07-26 11:48:08 +01:00
events_worker.py Port storage/ to Python 3 (#3725) 2018-08-31 00:19:58 +10:00
events.py Fix race when persisting create event (#4404) 2019-01-18 23:17:04 +11:00
filtering.py Port storage/ to Python 3 (#3725) 2018-08-31 00:19:58 +10:00
group_server.py run isort 2018-07-09 16:09:20 +10:00
keys.py Make scripts/ and scripts-dev/ pass pyflakes (and the rest of the codebase on py3) (#4068) 2018-10-20 11:16:55 +11:00
media_repository.py Keep track of last access time for local media 2018-01-17 10:24:43 +00:00
monthly_active_users.py create support user (#4141) 2018-12-14 18:20:59 +00:00
openid.py Add an openidish mechanism for proving to third parties that you own a given user_id 2016-05-05 13:42:44 +01:00
prepare_database.py Drop sent_transactions 2018-12-01 23:07:35 -06:00
presence.py run isort 2018-07-09 16:09:20 +10:00
profile.py Remote profile cache should remain in master worker 2018-08-17 11:37:42 +01:00
push_rule.py Merge remote-tracking branch 'origin/develop' into rav/remove_who_forgot_in_room 2018-07-23 17:15:12 +01:00
pusher.py Make scripts/ and scripts-dev/ pass pyflakes (and the rest of the codebase on py3) (#4068) 2018-10-20 11:16:55 +11:00
receipts.py Update return value docstring 2018-07-12 09:45:37 +01:00
registration.py Ensure synchrotrons can access is_support_user in the storage layer 2019-01-02 10:19:59 +00:00
rejections.py run isort 2018-07-09 16:09:20 +10:00
room.py preserve room visibility 2018-10-25 19:10:24 +01:00
roommember.py Speed up lazy loading (#3827) 2018-09-12 00:50:39 +01:00
search.py Add an option to disable search for homeservers which may not be interested in it (#4230) 2018-12-04 12:01:02 +01:00
signatures.py Make scripts/ and scripts-dev/ pass pyflakes (and the rest of the codebase on py3) (#4068) 2018-10-20 11:16:55 +11:00
state.py Log roomid along with Unknown room (#4297) 2018-12-24 10:49:42 +01:00
stream.py Comments on get_all_new_events_stream 2018-10-12 09:55:41 +01:00
tags.py run isort 2018-07-09 16:09:20 +10:00
transactions.py Make scripts/ and scripts-dev/ pass pyflakes (and the rest of the codebase on py3) (#4068) 2018-10-20 11:16:55 +11:00
user_directory.py s/becuase/because/g 2018-07-10 17:58:18 +01:00
user_erasure_store.py run isort 2018-07-09 16:09:20 +10:00