Coder Social home page Coder Social logo

sporkfs's People

Contributors

dimitarvdimitrov avatar

Stargazers

 avatar

Watchers

 avatar

sporkfs's Issues

Respect context cancellations

The VFS receives a context on all calls. We ignore that context's deadline. spork.Spork should take this context into account.

Support dynamic membership

Currently adding new members to the cluster is not supported. It should be. Raft supports this, so we should be able to do it as well.

Proposal

./sporkfs node add -ip 192.168.0.4 -name node4

Source node goes down while committing

Problem

There is a possible bug where the node that proposed a change to a file goes down while a peer is fetching the file after the change has been committed to the local log. In that case the peer will have the command committed, without having the file. This is most concerning for other owner peers of the file. If the proposing node does not rejoin the cluster with the data committed, this will lead to data loss.

Possible solutions

  • make file fetching synchronous - leader and owning peers fetch the file sync before confirming the commit
    • this could slow down the progress of the whole system on large file commits

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.