dendrite/roomserver/storage
Till 4c3a526e1b
Fix adding state events to the database (#3133)
When we're adding state to the database, we check which eventNIDs are
already in a block, if we already have that eventNID, we remove it from
the list. In its current form we would skip over eventNIDs in the case
we already found a match (we're decrementing `i` twice)
My theory is, that when we later get the state blocks, we are receiving
"too many" eventNIDs (well, yea, we stored too many), which may or may
not can result in state resets when comparing different state snapshots.
(e.g. when adding state we stored a eventNID by accident because we
skipped it, later we add more state and are not adding it because we
don't skip it)
2023-07-04 17:15:44 +02:00
..
postgres Add missing dep 2023-06-14 17:04:19 +01:00
shared Fix adding state events to the database (#3133) 2023-07-04 17:15:44 +02:00
sqlite3 Add MXIDMapping for pseudoID rooms (#3112) 2023-06-28 20:29:49 +02:00
tables Fix senderID/key conversion unit tests 2023-06-14 17:11:27 +01:00
interface.go Add MXIDMapping for pseudoID rooms (#3112) 2023-06-28 20:29:49 +02:00
storage_wasm.go Preparations for removing BaseDendrite (#3016) 2023-03-17 11:09:45 +00:00
storage.go Preparations for removing BaseDendrite (#3016) 2023-03-17 11:09:45 +00:00