dendrite/roomserver/storage/postgres
Neil Alexander 59bc0a6f4e
Reprocess rejected input events (#2647)
* Reprocess outliers that were previously rejected

* Might as well do all events this way

* More useful errors

* Fix queries

* Tweak condition

* Don't wrap errors

* Report more useful error

* Flatten error on `r.Queryer.QueryStateAfterEvents`

* Some more debug logging

* Flatten error in `QueryRestrictedJoinAllowed`

* Revert "Flatten error in `QueryRestrictedJoinAllowed`"

This reverts commit 1238b4184c30e0c31ffb0f364806fa1275aba483.

* Tweak `QueryStateAfterEvents`

* Handle MissingStateError too

* Scope to room

* Clean up

* Fix the error

* Only apply rejection check to outliers
2022-08-18 10:37:47 +01:00
..
deltas Update database migrations, remove goose (#2264) 2022-07-25 10:39:22 +01:00
event_json_table.go Add roomserver tests (1/?) (#2434) 2022-05-09 15:30:32 +02:00
event_state_keys_table.go Add roomserver tests (1/?) (#2434) 2022-05-09 15:30:32 +02:00
event_types_table.go Add roomserver tests (1/?) (#2434) 2022-05-09 15:30:32 +02:00
events_table.go Reprocess rejected input events (#2647) 2022-08-18 10:37:47 +01:00
invite_table.go Add roomserver tests (2/?) (#2445) 2022-05-10 14:41:12 +02:00
membership_table.go Update database migrations, remove goose (#2264) 2022-07-25 10:39:22 +01:00
previous_events_table.go Add roomserver tests (2/?) (#2445) 2022-05-10 14:41:12 +02:00
published_table.go Add roomserver tests (2/?) (#2445) 2022-05-10 14:41:12 +02:00
redactions_table.go Add roomserver tests (2/?) (#2445) 2022-05-10 14:41:12 +02:00
room_aliases_table.go Add roomserver tests (3/4) (#2447) 2022-05-16 19:33:16 +02:00
rooms_table.go De-race types.RoomInfo (#2600) 2022-08-01 15:29:19 +01:00
state_block_table.go Add roomserver tests (3/4) (#2447) 2022-05-16 19:33:16 +02:00
state_snapshot_table.go Optimise checking other servers allowed to see events (#2596) 2022-08-01 14:11:00 +01:00
storage.go Fix issues with migrations not getting executed (#2628) 2022-08-08 10:18:57 +02:00