From e883b4ca980074cf5d2a569c539b9ffd383d38c8 Mon Sep 17 00:00:00 2001 From: Adewumi Sunkanmi Date: Sun, 4 Aug 2024 23:55:48 +0100 Subject: [PATCH] [Feat] Block index with unit tests --- .github/workflows/clippy.yml | 4 ++-- CONTRIBUTING.md | 2 ++ Cargo.toml | 2 ++ README.md | 3 +++ .../sstable_1720785462309/summary.db | Bin 576 -> 594 bytes 5 files changed, 9 insertions(+), 2 deletions(-) diff --git a/.github/workflows/clippy.yml b/.github/workflows/clippy.yml index 12ce730..f3f5b27 100644 --- a/.github/workflows/clippy.yml +++ b/.github/workflows/clippy.yml @@ -1,6 +1,6 @@ name: Clippy - -on: [push, pull_request] +# Don't run clippy for V2 +# on: [push, pull_request] jobs: clippy: diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 02749ed..894b7db 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -10,6 +10,8 @@ Thank you for your contribution! https://github.com/Gifted-s/bd/issues +### NOTE +Please note that the code in v2 is the most recent (not experimental) and under active development, the src modules are for the experimental version ### How do I contribute diff --git a/Cargo.toml b/Cargo.toml index 4a68a75..a33b057 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -14,6 +14,8 @@ categories = ["data-structures", "database-implementations", "algorithms"] # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [dependencies] +v2={path="./v2"} + async-broadcast = "0.7.1" async-trait = "0.1.80" bit-vec = "0.6.3" diff --git a/README.md b/README.md index 4164c0d..b1965fb 100644 --- a/README.md +++ b/README.md @@ -50,6 +50,9 @@ Tokio might adopt [io_uring](https://docs.rs/tokio/latest/tokio/fs/index.html#:~ Please note that velarixdb is still under development and is not yet production-ready. +### NOTE +v2 is the most recent version (not experimental) and under active development, the src modules are for the experimental version + ### Basic Features - [x] Atomic `Put()`, `Get()`, `Delete()`, and `Update()` operations - [x] 100% safe & stable Rust diff --git a/src/tests/fixtures/data/buckets/bucket1201eb6b-8903-4557-a5bd-d87cb725f1d8/sstable_1720785462309/summary.db b/src/tests/fixtures/data/buckets/bucket1201eb6b-8903-4557-a5bd-d87cb725f1d8/sstable_1720785462309/summary.db index a245fe04868573f8837715debce4ba49cd88d83f..61c74d50ef2e78ac0fb1c48cfa537416843e98b7 100644 GIT binary patch delta 10 RcmX@Wa*1Vw1JlF_LI4)01Hb?P delta 7 Ocmcb_a)4!n0}}uYKLU*a