We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
For reference, it is nice to have a backend implementation using BTreeMap.
impl Node { pub fn new(id: u8, port: u16, n_shards: u32) -> Result<Self> { let nd_tag = format!("ND{port}>"); let (tx, rx) = tokio::sync::oneshot::channel(); let svc_task = async move { info!("add (id={id})"); let node_id = { let address = format!("http://127.0.0.1:{port}"); address.parse().unwrap() }; let node = sorock::RaftNode::new(node_id); let db = { // REPLACE HERE // let mem = redb::backends::InMemoryBackend::new(); // let db = redb::Database::builder().create_with_backend(mem).unwrap(); // sorock::backend::redb::Backend::new(db) sorock::backend::btree::Backend::new() };
The text was updated successfully, but these errors were encountered:
Hi @akiradeveloper , I would like to work on this issue.
Thanks
Sorry, something went wrong.
feat : added btreemap for backend implementation (akiradeveloper#431)
87e2c4f
@akiradeveloper I would like to know , if there is any suggestion. Thanks
No branches or pull requests
For reference, it is nice to have a backend implementation using BTreeMap.
The text was updated successfully, but these errors were encountered: