Comments (3)
The vast majority of Jepsen test failures can be attributed to this bug, it's quite annoying and frequent, will do a quick analysis.
from raft.
Backtrace
0x7f65f993834a UvTruncate
src/uv_truncate.c:169
0x7f65f991f4c9 deleteConflictingEntries
src/replication.c:1030
0x7f65f991f4c9 replicationAppend
src/replication.c:1087
0x7f65f991ac76 recvAppendEntries
src/recv_append_entries.c:124
0x7f65f991a58f recvMessage
src/recv.c:27
0x7f65f991a58f recvCb
src/recv.c:103
0x7f65f992ee7b uvFireRecvCb
src/uv_recv.c:190
0x7f65f992f3c7 uvServerReadCb
src/uv_recv.c:302
0x7f65f99a7ba0 ???
???:0
0x7f65f99a86d7 ???
???:0
0x7f65f99adb7f ???
???:0
0x7f65f999d84b ???
???:0
0x7f65f9cf77cf taskRun
src/server.c:732
0x7f65f9cf77cf taskStart
src/server.c:772
0x7f65f9d64608 ???
???:0
0x7f65f9add132 ???
???:0
0xffffffffffffffff ???
???:0
from raft.
looks like the in-memory log doesn't reflect the state anymore of the on-disk log after a segment prepare failed here
Lines 112 to 119 in cd0c3d0
similar issue in #255.
from raft.
Related Issues (20)
- missing getrandom on centos 7 HOT 1
- [question] Usage of raft_add, raft_remove, and raft_assign HOT 2
- [question] When is the first leader elected? HOT 2
- recvAppendEntries: Assertion `r->state == RAFT_FOLLOWER || r->state == RAFT_CANDIDATE` failed HOT 9
- [question] Forwarding request to leader HOT 8
- Potential use-after-free in handling of raft_transfer HOT 5
- Fix the 32-bit CI HOT 1
- can't build on m1 mac (`<linux/xxxxx.h>` is missing) HOT 3
- v1.x RFC: pull based approach HOT 5
- raft_start(): io: closed segment xxx is past last snapshot xxx HOT 4
- [question] Understanding how to add new servers HOT 15
- ./configure fails when no external dependency is found HOT 4
- src/replication.c:457: getRequest: Assertion `req->type == type' failed. HOT 3
- Segment writes blocked when taking a snapshot. HOT 3
- src/log.c:87: refsTryInsert: Assertion `next_slot->term != term' failed. HOT 9
- Jepsen: Another truncate-related assertion failure
- [suggestion] add lock/unlock function pointers to raft_io (and use them) HOT 1
- `uvOsFallocateEmulation` taking too long time HOT 1
- 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.