Comments (1)
I have tried to reproduce this without any success.
With raft checked out, I did:
$ export CFLAGS="-fsanitize=address -fsanitize=undefined -fno-optimize-sibling-calls -fno-omit-frame-pointer"
$ export LDFLAGS="-fsanitize=address -fsanitize=undefined"
$ autoreconf -i
$ ./configure
$ make
$ sudo make install
then, in the example directory:
$ gcc $CFLAGS -c server.c; gcc $LDFLAGS server.o -o server -lraft -luv -lasan
$ gcc $CFLAGS -c cluster.c; gcc $LDFLAGS cluster.o -o cluster -lraft -luv -lasan
I ran severs manually in 3 different shells, killing and restarting one here and there.
I also ran the cluster executable without tripping any error from ASan.
I have forced an error in the code and got it (just to be sure my setup was right).
I tried this with the current version and also with version d38635e which dates back from the bug report.
This is on ubuntu 20.04 with gcc 9.3.0.
Can you help us reproduce?
from raft.
Related Issues (20)
- v1.x RFC: pull based approach HOT 5
- raft_start(): io: closed segment xxx is past last snapshot xxx HOT 4
- 0.17.1: test suite is failing HOT 8
- raft log writes take a long time to complete while taking a snapshot
- [question] Understanding how to add new servers HOT 15
- ./configure fails when no external dependency is found HOT 4
- Assert that the uv append index corresponds with the raft index.
- Assertion: src/uv_truncate.c:168: UvTruncate: Assertion `index < uv->append_next_index' failed. HOT 3
- tackle open segment start index ambiguity
- src/replication.c:457: getRequest: Assertion `req->type == type' failed. HOT 3
- Segment writes blocked when taking a snapshot. HOT 3
- Should leaders wait to persist entries before stepping down?
- src/log.c:87: refsTryInsert: Assertion `next_slot->term != term' failed. HOT 9
- Jepsen: Another truncate-related assertion failure
- [question] Assigning from VOTER to SPARE and back to VOTER (and other scenarios) HOT 4
- [suggestion] add lock/unlock function pointers to raft_io (and use them) HOT 1
- `uvOsFallocateEmulation` taking too long time HOT 1
- src/uv_truncate.c:45: uvTruncateWorkCb: Assertion `segments != NULL' failed. HOT 1
- `test/integration/uv` failing when run in a container HOT 12
- CI: `xfs` test failures HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from raft.