Skip to content

Commit

Permalink
Port EventInternalMetadata class to Rust (#16782)
Browse files Browse the repository at this point in the history
There are a couple of things we need to be careful of here:

1. The current python code does no validation when loading from the DB,
so we need to be careful to ignore such errors (at least on jki.re there
are some old events with internal metadata fields of the wrong type).
2. We want to be memory efficient, as we often have many hundreds of
thousands of events in the cache at a time.

---------

Co-authored-by: Quentin Gliech <quenting@element.io>
  • Loading branch information
erikjohnston and sandhose committed Jan 8, 2024
1 parent 81b1c56 commit 5d3850b
Show file tree
Hide file tree
Showing 12 changed files with 600 additions and 124 deletions.
1 change: 1 addition & 0 deletions changelog.d/16782.misc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Port `EventInternalMetadata` class to Rust.

0 comments on commit 5d3850b

Please sign in to comment.