resetius / miniraft-cpp Goto Github PK
View Code? Open in Web Editor NEWRaft Consensus Algorithm. Uses in-house C++20 coroutines-based library for communications. Tested with unit-tests.
License: BSD 2-Clause "Simplified" License
Raft Consensus Algorithm. Uses in-house C++20 coroutines-based library for communications. Tested with unit-tests.
License: BSD 2-Clause "Simplified" License
Smth like simple K/V storage
Hello, thank you for your work on raft. I'm currently facing some issues while compiling. Can you help me?
zhousy26@zhousy26-virtual-machine:~/Desktop/testc/miniraft-cpp$ make
Consolidate compiler generated dependencies of target coroio
[ 2%] Building CXX object coroio/CMakeFiles/coroio.dir/coroio/uring.cpp.o
[ 5%] Building CXX object coroio/CMakeFiles/coroio.dir/coroio/resolver.cpp.o
[ 7%] Linking CXX static library libcoroio.a
[ 25%] Built target coroio
Consolidate compiler generated dependencies of target miniraft
[ 27%] Building CXX object CMakeFiles/miniraft.dir/src/server.cpp.o
[ 30%] Linking CXX static library libminiraft.a
[ 35%] Built target miniraft
Consolidate compiler generated dependencies of target test_raft
[ 37%] Building CXX object CMakeFiles/test_raft.dir/test/test_raft.cpp.o
[ 40%] Linking CXX executable test_raft
[ 40%] Built target test_raft
Consolidate compiler generated dependencies of target test_read_write
[ 42%] Building CXX object CMakeFiles/test_read_write.dir/test/test_read_write.cpp.o
[ 45%] Linking CXX executable test_read_write
/usr/bin/ld: coroio/libcoroio.a(uring.cpp.o): in function NNet::TUring::TUring(int)': uring.cpp:(.text+0x459): undefined reference to
io_uring_queue_init'
/usr/bin/ld: coroio/libcoroio.a(uring.cpp.o): in function NNet::TUring::~TUring()': uring.cpp:(.text+0x758): undefined reference to
io_uring_queue_exit'
/usr/bin/ld: coroio/libcoroio.a(uring.cpp.o): in function NNet::TUring::Wait(timespec)': uring.cpp:(.text+0xb92): undefined reference to
io_uring_wait_cqe_timeout'
/usr/bin/ld: coroio/libcoroio.a(uring.cpp.o): in function NNet::TUring::Submit()': uring.cpp:(.text+0xde9): undefined reference to
io_uring_submit'
collect2: error: ld returned 1 exit status
make[2]: *** [CMakeFiles/test_read_write.dir/build.make:99: test_read_write] Error 1
make[1]: *** [CMakeFiles/Makefile2:180: CMakeFiles/test_read_write.dir/all] Error 2
make: *** [Makefile:101: all] Error 2
Add storage abstraction in order to support different log storages (in-memory, disk, etc)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.