Skip to content
New issue

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

Implement a self-contained raft example #2

Open
ahrtr opened this issue Nov 28, 2022 · 15 comments · May be fixed by #153
Open

Implement a self-contained raft example #2

ahrtr opened this issue Nov 28, 2022 · 15 comments · May be fixed by #153
Assignees
Labels
help wanted Extra attention is needed

Comments

@ahrtr
Copy link
Member

ahrtr commented Nov 28, 2022

Refer to raftexample . But this example should NOT depend on etcd at all.

cc @Elbehery

@ahrtr ahrtr added the help wanted Extra attention is needed label Nov 28, 2022
@Elbehery
Copy link

Thanks a lot @ahrtr

assigning myself :)

@Elbehery
Copy link

i can't assign myself, can you please assign me ?

@nic-chen
Copy link
Contributor

I would also like to participate if don't mind : )

@aroradaman
Copy link
Contributor

Hi @ahrtr @Elbehery @nic-chen
Can I pick this up? I'm new to distributed systems, so this would be a good learning exercise for me.

@halegreen
Copy link
Contributor

interested in this and tend to try one if you guys has not done it

@Elbehery
Copy link

Elbehery commented Jan 7, 2023

I am already working on it, thanks for your help :)

@XiongKezhi
Copy link
Contributor

Not sure if this applies to other beginners, but I spend some time looking at the etcd server's code to understand how to wait for a proposal's commit. Thus, it would be great if we can somehow support it (probably by integrating with wait if my understanding is right.)

@CaojiamingAlan
Copy link
Contributor

Can I take this over?

@Elbehery
Copy link

sorry, i am working on it :)

@ahrtr
Copy link
Member Author

ahrtr commented Jul 10, 2023

I expect the self-contained example should be a simple & independent example. But the PR #67 contains lots of etcd related context. Although the PR doesn't directly depend on etcd, it copies lots of etcd's source code, which may not be good.

The overall idea (using interfaces to better separate concerns) in etcd-io/etcd#15471 looks good to me, but we also need to completely remove the etcd context on top of it. @mhagger

@aierui
Copy link

aierui commented Sep 26, 2023

@ahrtr If we need to implement a Raft self-contained example based on the current library, then do we only need to focus on the in-memory state, and we can without thinking about data persistence and data recovery in case of failure, such as wal and data storage ?

@peacedog123
Copy link

What's the progress of this issue?

@Elbehery
Copy link

i have a pending PR .. will continue it this week 👍🏽

thanks @peacedog123

@sumitya
Copy link

sumitya commented Apr 5, 2024

Hi @Elbehery - is it still happening at your end ?. would be helpful to have this example for newbies in the repo.

@Elbehery
Copy link

Elbehery commented Apr 5, 2024

Hello .. it is still WIP

RememberIOm pushed a commit to LeSN-Lab/etcd-io_raft that referenced this issue Apr 6, 2024
…insertionSort

Feat/majority string slice insertion sort
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment