-
Notifications
You must be signed in to change notification settings - Fork 154
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
Twom database format and first implementation #5157
base: master
Are you sure you want to change the base?
Conversation
2a4c0a9
to
74d9e42
Compare
I've removed include-in-fm while tests are failing. |
7d3b303
to
5ffbf60
Compare
981f5c7
to
a0615b2
Compare
Bah, CI failed because |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Haven't finished looking at this yet, but need to stop for lunch, so here's what I have so far.
17f965c
to
0e6615f
Compare
Thanks! yeah, there were more issues but I believe it's all clean now! |
OK! Major messing around.
|
9d3e467
to
4592a4a
Compare
This is all awful and I'm going to ask Ken to add basecid in the next index format change!
This contains the full implementation of the xxhash algorithm. It's only being used by twom database format, so it's being compiled straight into that file. This is an unmodified copy of xxhash.h from: commit dd11140c2dc5d53a3c0a949d67af7f40f546878e in the repository at [email protected]:Cyan4973/xxHash.git
e6cf33a
to
1520f4e
Compare
Throwing this open for wide reviews now! It's been rewritten a BUNCH of times, and optimised a fair bit - it's got a simpler internal structure and basically everything aligned with the right datastructures I think. It does MVCC reads nicely, can keep its transaction in foreach unless the callback writes, in which case it STILL does the right thing and re-locks and re-finds itself.
On disk format of records is: