-
Notifications
You must be signed in to change notification settings - Fork 21
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
Support for FoundationDB 7.1 #61
Conversation
Pull Request Test Coverage Report for Build 2370296968
💛 - Coveralls |
Codecov Report
@@ Coverage Diff @@
## main #61 +/- ##
==========================================
- Coverage 83.52% 82.79% -0.73%
==========================================
Files 24 24
Lines 4806 4936 +130
==========================================
+ Hits 4014 4087 +73
- Misses 792 849 +57
Continue to review full report at Codecov.
|
foundationdb/src/future.rs
Outdated
} | ||
} | ||
|
||
pub fn end_range(&self) -> &[u8] { |
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.
Shouldn't this returns a KeySelector ?
foundationdb/src/future.rs
Outdated
} | ||
} | ||
|
||
pub fn begin_range(&self) -> &[u8] { |
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.
Shouldn't this returns a KeySelector ?
foundationdb/src/future.rs
Outdated
} | ||
impl Eq for FdbMappedValue {} | ||
|
||
pub struct FdbMappedValue { |
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.
A bit weird to declare it after its impls
I'm still not convinced features/macros are the best way to handle fdb versions. I wonder if version features should be additives, For example: In the code we would have to care about cfg! ordering and exclusion. Example: // From v600 to v630 included (i.e v600 to v700 not included)
cfg!(all(feature = "fdb-6_0", not(feature = "fdb-7_0")))
// v600 only
cfg!(all(feature = "fdb-6_0", not(feature = "fdb-6_1")))
// From v600 to now
cfg!(feature = "fdb-6_0") |
Thanks for the review, your comments are in my TODO list, so I will fix them.
I agree. This is one of the reason the PR is in draft, I want to test a few things. |
PR ready to be reviewed,I will add tenant support in a separate PR |
No description provided.