summary refs log tree commit diff
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2017-02-28 16:22:54 +0000
committerErik Johnston <erik@matrix.org>2017-02-28 16:22:54 +0000
commit01bcf019278e90aae28bedf04456e4f04558dff1 (patch)
tree51d1f78ff348edc5e5d8ac9dd429364ec99fce63
parentMerge branch 'develop' of github.com:matrix-org/synapse into matrix-org-hotfixes (diff)
parentDon't log unknown cache warnings in workers (diff)
downloadsynapse-01bcf019278e90aae28bedf04456e4f04558dff1.tar.xz
Merge branch 'develop' of github.com:matrix-org/synapse into matrix-org-hotfixes
-rw-r--r--synapse/replication/slave/storage/_base.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/synapse/replication/slave/storage/_base.py b/synapse/replication/slave/storage/_base.py

index 18076e0f3b..ab133db872 100644 --- a/synapse/replication/slave/storage/_base.py +++ b/synapse/replication/slave/storage/_base.py
@@ -54,7 +54,9 @@ class BaseSlavedStore(SQLBaseStore): try: getattr(self, cache_func).invalidate(tuple(keys)) except AttributeError: - logger.info("Got unexpected cache_func: %r", cache_func) + # We probably haven't pulled in the cache in this worker, + # which is fine. + pass self._cache_id_gen.advance(int(stream["position"])) return defer.succeed(None)