Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WIP: New event store #251

Merged
merged 45 commits into from
Aug 26, 2020
Merged

WIP: New event store #251

merged 45 commits into from
Aug 26, 2020

Conversation

deepbluev7
Copy link
Member

@deepbluev7 deepbluev7 commented Jul 26, 2020

More info: https://blog.neko.dev/posts/nhekos-event-store-v2.html

This should be ready now

I'm still testing this and the migration path has not been tested that well yet (since I wiped my db by accident a few times :D).
Migration may work now, but you will probably be affected by matrix-org/synapse#1602.

I also still need to document this properly and clean it up quite a bit, but all in all this should mostly work for now. This will conflict with #237 and #203. Especially regarding #237 I'm not sure how to handle that yet, since hiding events from the timeline moved to the database and in that complicates hiding call candidate events quite a bit, since it doesn't have any relations, as far as I'm aware. This may be fixable through an MSC or we need to decrypt events in the database or punch a hole from the frontend to remove those events from the display list... I'll need to solve that, before this gets merged.

I'll also probably write a blogpost and document how the event store is supposed to work properly before this gets merged, but I was mostly focusing on getting this in a somewhat workable state first. (This PR is mostly for CI and so that I don't lose this, when my HDD dies or so :D)

fixes #168

@deepbluev7 deepbluev7 marked this pull request as draft July 26, 2020 10:06
@deepbluev7 deepbluev7 marked this pull request as ready for review August 26, 2020 21:52
@deepbluev7 deepbluev7 merged commit b58e370 into master Aug 26, 2020
@deepbluev7 deepbluev7 deleted the new-event-store branch October 8, 2020 20:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Improve/Implement Caching of Messages
1 participant