anonymousland-synapse/synapse
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
..
api Update comments 2016-09-22 12:54:22 +01:00
app Reduce DB hits for replication 2016-09-23 16:49:21 +01:00
appservice Log if rejecting 3PE query metadata result due to type check 2016-09-09 15:11:31 +01:00
config Remove support for aggregate room lists 2016-09-15 09:28:15 +01:00
crypto Preserve some logcontexts 2016-08-24 11:58:40 +01:00
events Add comments 2016-09-05 10:41:27 +01:00
federation Support filtering remote room lists 2016-09-16 10:24:15 +01:00
handlers Merge pull request #1136 from matrix-org/erikj/fix_signed_3pid 2016-09-22 13:41:49 +01:00
http Pass since/from parameters over federation 2016-09-15 10:36:19 +01:00
metrics Make psutil optional 2016-08-08 11:12:21 +01:00
push _id field must uniquely identify different conditions 2016-09-19 10:34:01 +01:00
replication Reduce DB hits for replication 2016-09-23 16:49:21 +01:00
rest Support /initialSync in synchrotron worker 2016-09-21 11:46:28 +01:00
static/client Updates to fallback CAS login to do new token login 2015-11-06 09:57:17 +00:00
storage Reduce DB hits for replication 2016-09-23 16:49:21 +01:00
streams Add store-and-forward direct-to-device messaging 2016-08-25 17:35:37 +01:00
util Change get_pos_of_last_change to return upper bound 2016-09-15 15:12:07 +01:00
__init__.py Bump changelog and version 2016-09-09 11:07:39 +01:00
notifier.py Explicitly specify state_key for history_visibility fetching 2016-09-02 14:53:46 +01:00
python_dependencies.py Accept optional token to public room list 2016-09-15 09:08:57 +01:00
server.py Support /initialSync in synchrotron worker 2016-09-21 11:46:28 +01:00
server.pyi Fix login with m.login.token 2016-08-08 16:40:39 +01:00
state.py Merge pull request #1121 from matrix-org/erikj/public_room_paginate 2016-09-15 13:27:09 +01:00
types.py Shuffle things around to make unit tests work 2016-09-22 11:08:12 +01:00
visibility.py Replace context.current_state with context.current_state_ids 2016-08-25 17:32:22 +01:00