coordinode-lsm-tree 5.8.6

Embedded LSM-tree storage engine in pure Rust, no C/C++ dependency. MVCC snapshots, BuRR filters, zstd dictionary compression, columnar PAX blocks, AES-256-GCM at rest, self-healing per-block ECC, compaction on a near-full disk, no_std support.
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);
}