0
0
Fork 1
mirror of https://mau.dev/maunium/synapse.git synced 2024-11-13 21:41:30 +01:00
synapse/changelog.d
Erik Johnston 8f35f8148e
Fix bug where a new writer advances their token too quickly (#16473)
* Fix bug where a new writer advances their token too quickly

When starting a new writer (for e.g. persisting events), the
`MultiWriterIdGenerator` doesn't have a minimum token for it as there
are no rows matching that new writer in the DB.

This results in the the first stream ID it acquired being announced as
persisted *before* it actually finishes persisting, if another writer
gets and persists a subsequent stream ID. This is due to the logic of
setting the minimum persisted position to the minimum known position of
across all writers, and the new writer starts off not being considered.

* Fix sending out POSITIONs when our token advances without update

Broke in #14820

* For replication HTTP requests, only wait for minimal position
2023-10-23 16:57:30 +01:00
..
.gitignore
16473.bugfix Fix bug where a new writer advances their token too quickly (#16473) 2023-10-23 16:57:30 +01:00
16485.bugfix Mark sync as limited if there is a gap in the timeline (#16485) 2023-10-19 15:04:18 +01:00
16492.misc Improve performance of delete device messages query (#16492) 2023-10-18 16:42:01 +01:00
16510.misc Avoid sending massive replication updates when purging a room. (#16510) 2023-10-18 12:26:01 -04:00
16511.misc Test against Python 3.12 release (#16511) 2023-10-17 14:41:10 -04:00
16512.misc Run trial/integration tests if .ci is modified. (#16512) 2023-10-18 07:19:53 -04:00
16521.misc Remove the last reference to event_txn_id. (#16521) 2023-10-23 07:37:45 -04:00
16529.doc Clarify presence router docs. (#16529) 2023-10-20 11:40:26 -04:00
16530.bugfix Force TLS certificate verification in registration script. (#16530) 2023-10-23 07:38:51 -04:00
16531.doc Mention how to redirect the Jaeger traces to a specific Jaeger instance (#16531) 2023-10-23 11:55:36 +00:00
16539.misc Bump matrix-synapse-ldap3 from 0.2.2 to 0.3.0 (#16539) 2023-10-23 12:28:29 +01:00
16540.bugfix Fix bug that could cause a /sync to tightloop with sqlite after restart (#16540) 2023-10-23 13:39:25 +00:00