-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
AssertionError prev_stream_id <= max_stream_id #8446
Comments
This is odd, and I'd expect it to have quickly corrected itself. Basically, this is the background task that keeps the room stats up to date by processing the events stream, and the Can you run the following in your DB and report the output? SELECT * FROM stats_incremental_position;
SELECT MAX(stream_ordering) from events; |
I can no longer reproduce the issue and your suggested queries now produce the same result. Maybe the update fixed something broken and it just needed a while to correct. Whatever the cause, I can't help triaging anymore :( |
I'm seeing the same exception with Synapse 1.22.1 on my homeserver.
The sql output from the commands above:
I've just upgraded from 1.21.2, where I've tried unsuccessfully to join #irc:matrix.org several times which lead to some other exceptions (irrelevant here I believe, but still posting them)
edit: it seems to have resolved itself after 6 minutes of spewing exceptions I believe (19:09:22 -> 19:15:30) |
@z3ntu Sounds like it fixed itself, if you see the error again please open a new issue and reference this one! |
Description
Since updating to 1.21.0rc1 I get spammed with the two following errors. This looks a lot like #7840, but the suggested fix does not work and even though #8402 landed, startup of Synapse is not prevented.
Steps to reproduce
Version information
Version: 1.21.0rc1
Install method: self-built rpm
The text was updated successfully, but these errors were encountered: