Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion CODEOWNERS
Original file line number Diff line number Diff line change
@@ -1 +1 @@
* @QuantumExplorer @iammadab @fominok
* @QuantumExplorer
4 changes: 2 additions & 2 deletions tutorials/src/bin/delete.rs
Original file line number Diff line number Diff line change
Expand Up @@ -46,10 +46,10 @@ fn main() {
println!("Before deleting, we have key2: {:?}", result2);

// Delete the values
db.delete(root_path, key1, None, None)
db.delete(root_path, key1, None, None, grove_version)
.unwrap()
.expect("successfully deleted key1");
db.delete(root_path, key2, None, None)
db.delete(root_path, key2, None, None, grove_version)
.unwrap()
.expect("successfully deleted key2");

Expand Down
2 changes: 1 addition & 1 deletion tutorials/src/bin/replication.rs
Original file line number Diff line number Diff line change
Expand Up @@ -269,7 +269,7 @@ fn sync_db_demo(
) -> Result<(), grovedb::Error> {
let start_time = Instant::now();
let app_hash = source_db.root_hash(None, grove_version).value.unwrap();
const SUBTREES_BATCH_SIZE: u32 = 2; // Small value for demo purposes
const SUBTREES_BATCH_SIZE: usize = 2; // Small value for demo purposes
let mut session = target_db.start_snapshot_syncing(app_hash, SUBTREES_BATCH_SIZE, CURRENT_STATE_SYNC_VERSION, grove_version)?;

let mut chunk_queue : VecDeque<Vec<u8>> = VecDeque::new();
Expand Down
Loading