Skip to content

Commit

Permalink
v0.1.33
Browse files Browse the repository at this point in the history
  • Loading branch information
jopemachine committed Jan 12, 2024
1 parent 6a88098 commit a2c1071
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion binding/python/Cargo.lock

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

2 changes: 1 addition & 1 deletion binding/python/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "raftify-py"
version = "0.1.32"
version = "0.1.33"
authors = ["Lablup Inc."]
license = "Apache-2.0"
repository = "https://github.com/lablup/raftify"
Expand Down
2 changes: 1 addition & 1 deletion binding/python/raftify.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ class Raft:
async def request_id(peer_addr: str) -> "ClusterJoinTicket":
""""""
@staticmethod
async def member_bootstrap_ready() -> None:
async def member_bootstrap_ready(leader_addr: str, node_id: int) -> None:
""" """
async def join(self, join_ticket: "ClusterJoinTicket") -> None:
""" """
Expand Down
4 changes: 2 additions & 2 deletions binding/python/tests/harness/raft_server.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import asyncio
import os
from harness.state_machine import HashStore
from raftify import Config, Peers, Raft, RaftConfig, Logger
from raftify import Config, Peers, Raft, RaftConfig, Slogger


RAFTS: dict[int, Raft] = {}
Expand All @@ -26,7 +26,7 @@ async def run_raft(node_id: int, peers: Peers):
cfg = build_config()

store = HashStore()
logger = Logger.default()
logger = Slogger.default()
raft = Raft.build(node_id, peer, store, cfg, logger, peers)
RAFTS[node_id] = raft

Expand Down

0 comments on commit a2c1071

Please sign in to comment.