GithubHelp home page GithubHelp logo

raft's People

Contributors

awzhgw avatar bladehliu avatar mervinkid avatar wangsikuan 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  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  avatar  avatar

Watchers

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

raft's Issues

raft: lead 节点复制日志

请问一下,我阅读raft的源码。lead节点通过ReqMsgAppend消息向follow节点同步日志数据时,没有等待follow节点的响应,就向客户端返回ack了,raft协议不是要求lead节点需要等待大多数follow节点的响应以确保大多数follow节点同步数据成功才能向客户端返回ack吗?

Please stop stealing code from etcd raft

ETCD Raft is released under the Apache2 license,

Item 4(b) of the Apache2 license explicitly requires all of your derived code to "carry prominent notices stating that You changed the files;"

As of writing, there is NO such notice given in any of those source files modified from etcd raft's code.

e.g. there is no notice given stating that this is modified from etcd raft's code
https://github.com/tiglabs/raft/blob/master/raft_log_unstable.go?ts=2

Note that the above file is just one example, you have to put modification notice in every single file that contains code derived from etcd raft.

Item 4(c) of the Apache2 license explicitly requires that "You must retain, in the Source form of any Derivative Works that You distribute, all copyright, patent, trademark, and attribution notices from the Source form of the Work".

As of writing, ETCD raft's original copyright information has been intentionally removed/replaced from all etcd raft source files.

e.g. etcd raft's copyright information included in its log_unstable.go file has been intentionally removed
https://github.com/tiglabs/raft/blob/master/raft_log_unstable.go?ts=2

Note that the above file is just one example, you have to keep etcd's copyright information in every single source file that contains code derived from etcd raft.

Item 4(d) of the Apache2 license explicitly requires etcd's NOTICE file with its full content to be included in your repo. The license requires that "If the Work includes a NOTICE text file as part of its distribution, then any Derivative Works that You distribute must include a readable copy of the attribution notices contained within such NOTICE file".

As of writing, etcd's NOTICE file has not been included anywhere in your repo.

Maybe talk to your corporate IP attorney before stealing code? I am pretty sure that not all of your corporate attorneys are busy working in Minnesota.

Add an example for rookie like me ?

I'm trying to use this repository on ContainerFS metadata node for data coherence and persistence , but don`t how to ...
Can you add an example to use this repository ?
Thanks a lot .

Provide a simple example

I'm really interested in this raft library. Would you please illustrate how to use this library?

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.