0
0
Fork 0
mirror of https://github.com/matrix-org/dendrite synced 2024-12-14 20:23:50 +01:00
dendrite/syncapi/storage
Neil Alexander 475d3c1af9
Better mapping of stream positions to topological positions in /messages (#2263)
* Convert stream positions into topological positions for both `from` and `to` in `/messages`

* Hopefully it works now

* Remove unnecessary logging

* Return sane values if `StreamToTopologicalPosition` can't work out the right thing to do

* Revert logging change

* tweaks

* Fix `selectEventIDsInRangeASCSQL`

* Test `Getting messages going forward is limited for a departed room (SPEC-216)` was passing incorrectly so un-whitelist it
2022-03-18 10:40:01 +00:00
..
postgres Better mapping of stream positions to topological positions in /messages (#2263) 2022-03-18 10:40:01 +00:00
shared Better mapping of stream positions to topological positions in /messages (#2263) 2022-03-18 10:40:01 +00:00
sqlite3 Better mapping of stream positions to topological positions in /messages (#2263) 2022-03-18 10:40:01 +00:00
tables Better mapping of stream positions to topological positions in /messages (#2263) 2022-03-18 10:40:01 +00:00
interface.go Better mapping of stream positions to topological positions in /messages (#2263) 2022-03-18 10:40:01 +00:00
storage.go Run gofmt on dendrite - apply go 1.17 preferred build tags (#2021) 2021-11-02 16:48:48 +00:00
storage_test.go Sync refactor — Part 1 (#1688) 2021-01-08 16:59:06 +00:00
storage_wasm.go Top-level setup package (#1605) 2020-12-02 17:41:00 +00:00