Coder Social home page Coder Social logo

fpaxos-lib's People

Contributors

atomic77 avatar basicthinker avatar estensen avatar heidihoward avatar pacheco avatar sciascid avatar sunxiaoguang avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

fpaxos-lib's Issues

Recovery failure

Is replica 0 hardcoded as the proposer?

We tried running an experiment with 3 nodes on 3 VMs changing paxos.conf the same way as was done in fpaxos-test:

q1 = 2
q2 = 1
g1 = 2
g2 = 1

learner-catch-up no

lmdb-env-path /tmp/acceptor

The replicas were started in the following order: 0, 1, 2
A client was started on the same server as replica 0
When the replica 0 was killed replica 1 and 2 were not able to elect a new leader, although they should have the size of quorum 1 is 2. Starting replica 0 up again and the client was still not able to connect. Only after also restarting the client we were able to send values again.

Another test we did was starting the replicas in the order 1, 0, 2.
A client was started on the same server as replica 1
Killing replica 0 and the client couldn't send any values anymore.
Doing the same thing and killing replica 1 also resulted in 0 values/sec

There's no logging to display who is elected leader, but it seems that replica 0 always is elected leader. Is that correct?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.