summary refs log tree commit diff
path: root/tests/util/test_stringutils.py
diff options
context:
space:
mode:
authorErik Johnston <erikj@element.io>2025-01-20 17:14:06 +0000
committerGitHub <noreply@github.com>2025-01-20 17:14:06 +0000
commit48db0c2d6c0a8b05405d0074f9b0298659233be8 (patch)
treef2c33fbf23b80459dfa4e6e2988368937e4c0bc0 /tests/util/test_stringutils.py
parentBump pyo3 from 0.23.3 to 0.23.4 (#18079) (diff)
downloadsynapse-48db0c2d6c0a8b05405d0074f9b0298659233be8.tar.xz
Drop indices concurrently on background updates (#18091)
Otherwise these can race with other long running queries and lock out
all other queries.

This caused problems in v1.22.0 as we added an index to `events` table
in #17948, but that got interrupted and so next time we ran the
background update we needed to delete the half-finished index. However,
that got blocked behind some long running queries and then locked other
queries out (stopping workers from even starting).
Diffstat (limited to 'tests/util/test_stringutils.py')
0 files changed, 0 insertions, 0 deletions