Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
jopemachine committed Sep 23, 2024
1 parent e55a80e commit 6e89847
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 6 deletions.
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 7 additions & 0 deletions DEVELOPMENT.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# Building from Source

You can use this command to clone the repository:

```
❯ git clone --recursive https://github.com/lablup/raftify.git
```
2 changes: 1 addition & 1 deletion raft-rs
Submodule raft-rs updated 3 files
+1 −1 Cargo.toml
+5 −0 src/config.rs
+15 −9 src/raft.rs
3 changes: 1 addition & 2 deletions raftify/src/request/common/confchange_request.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
use std::net::SocketAddr;

use jopemachine_raft::eraftpb::{self, ConfChangeSingle, ConfChangeTransition, ConfChangeV2};

use crate::raft::eraftpb::{self, ConfChangeSingle, ConfChangeTransition, ConfChangeV2};
use crate::raft_service;

#[derive(Debug, Clone)]
Expand Down
2 changes: 1 addition & 1 deletion raftify/src/request/local_request_message.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
use std::{collections::HashMap, net::SocketAddr};

use jopemachine_raft::eraftpb::Message as RaftMessage;
use crate::raft::eraftpb::Message as RaftMessage;
use tokio::sync::oneshot::Sender;

use crate::{
Expand Down
2 changes: 1 addition & 1 deletion raftify/src/response/local_response_message.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
use std::{fmt, marker::PhantomData, sync::Arc};

use jopemachine_raft::RawNode;
use crate::raft::RawNode;
use tokio::sync::Mutex;

use crate::{AbstractLogEntry, AbstractStateMachine, HeedStorage, Peers};
Expand Down

0 comments on commit 6e89847

Please sign in to comment.