coordinode-lsm-tree 5.6.0

Embedded LSM-tree storage engine: BuRR filters, zstd dictionary compression, MVCC, range tombstones, merge operators, K/V separation, AES-256-GCM at rest.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
use super::*;
use test_log::test;

#[test]
fn pik_cmp_user_key() {
    let a = InternalKey::new(*b"a", 0, ValueType::Value);
    let b = InternalKey::new(*b"b", 0, ValueType::Value);
    assert!(a < b);
}

#[test]
fn pik_cmp_seqno() {
    let a = InternalKey::new(*b"a", 0, ValueType::Value);
    let b = InternalKey::new(*b"a", 1, ValueType::Value);
    assert!(a > b);
}