MatrixSynapse/synapse/storage
Erik Johnston 748d8fdc7b Reduce DB hits for replication
Some streams will occaisonally advance their positions without actually
having any new rows to send over federation. Currently this means that
the token will not advance on the workers, leading to them repeatedly
sending a slightly out of date token. This in turns requires the master
to hit the DB to check if there are any new rows, rather than hitting
the no op logic where we check if the given token matches the current
token.

This commit changes the API to always return an entry if the position
for a stream has changed, allowing workers to advance their tokens
correctly.
2016-09-23 16:49:21 +01:00
..
engines
schema Match against event_id, rather than room_id 2016-09-21 16:46:59 +01:00
util
__init__.py Handling expiring stream extrems correctly. 2016-09-15 17:34:59 +01:00
_base.py
account_data.py
appservice.py
background_updates.py Add WHERE clause support to index creation 2016-09-12 16:55:01 +01:00
client_ips.py
deviceinbox.py Fix direct to device messages recieved over federation to notify sync 2016-09-12 12:30:46 +01:00
devices.py Log the types and values when failing to store devices 2016-09-07 17:19:18 +01:00
directory.py
end_to_end_keys.py
event_federation.py Remove spurious AS clause 2016-09-21 16:28:47 +01:00
event_push_actions.py Remove where clause 2016-09-12 17:05:54 +01:00
events.py Index contains_url for file search queries 2016-09-12 16:57:05 +01:00
filtering.py
keys.py
media_repository.py
openid.py
prepare_database.py Readd entries to public_room_list_stream that were deleted 2016-09-21 15:24:22 +01:00
presence.py
profile.py
push_rule.py Remove unused imports 2016-09-05 10:52:01 +01:00
pusher.py Remove lru option 2016-08-19 14:17:11 +01:00
receipts.py Lower get_linearized_receipts_for_room cache size 2016-08-31 16:19:44 +01:00
registration.py
rejections.py
room.py Reduce DB hits for replication 2016-09-23 16:49:21 +01:00
roommember.py Reduce batch size to be under SQL limit 2016-09-09 11:03:31 +01:00
search.py
signatures.py
state.py Fix reindex 2016-09-14 10:18:30 +01:00
stream.py Calculate the public room list from a stream_ordering 2016-09-14 17:42:47 +01:00
tags.py
transactions.py Bump max_entries on get_destination_retry_timings 2016-09-02 14:08:33 +01:00