dendrite/roomserver/storage
kegsay c849e74dfc
db migration: fix #1844 and add additional assertions (#1889)
* db migration: fix #1844 and add additional assertions

- Migration scripts will now check to see if there are any unconverted
  snapshot IDs and fail the migration if there are any. This should
  prevent people from getting a corrupt database in the event the root
  cause is still unknown.
- Add an ORDER BY clause when doing batch queries in the postgres
  migration. LIMIT and OFFSET without ORDER BY are undefined and must
  not be relied upon to produce a deterministic ordering (e.g row order).
  See https://www.postgresql.org/docs/current/queries-limit.html

* Linting

Co-authored-by: Neil Alexander <neilalexander@users.noreply.github.com>
2021-06-29 11:25:17 +01:00
..
postgres db migration: fix #1844 and add additional assertions (#1889) 2021-06-29 11:25:17 +01:00
shared Fix panic in roomserver 2021-06-21 09:41:12 +01:00
sqlite3 db migration: fix #1844 and add additional assertions (#1889) 2021-06-29 11:25:17 +01:00
tables State storage refactor (#1839) 2021-04-26 13:25:57 +01:00
interface.go Pass pointers to events — reloaded (#1583) 2020-11-16 15:44:53 +00:00
storage_wasm.go Top-level setup package (#1605) 2020-12-02 17:41:00 +00:00
storage.go Top-level setup package (#1605) 2020-12-02 17:41:00 +00:00