Comments (3)
This is going past my comfort level with C, but I think in then generated encoder for message, this code below assumes value->len
is uint64 but on armhf size_t is unsigned int
or uint32.
static inline void blob__encode(const blob_t *value, void **cursor)
{
size_t len = byte__pad64(value->len);
uint64__encode(&value->len, cursor);
memcpy(*cursor, value->base, value->len);
*cursor += len;
}
from dqlite.
Good catch, hope the above PR fixes the issue, however I'm not entirely sure, so please feel free to re-open if it doesn't. If you can test it and let me know, I'll possibly cut a new release.
from dqlite.
@freeekanayaka Thanks, we'll test out the fix and let you know.
from dqlite.
Related Issues (20)
- [question] Assigning from VOTER to SPARE and back to VOTER (and other scenarios) HOT 4
- Should leaders wait to persist entries before stepping down?
- tackle open segment start index ambiguity
- Assert that the uv append index corresponds with the raft index.
- raft log writes take a long time to complete while taking a snapshot
- 0.17.1: test suite is failing HOT 8
- Using uv_fs APIs when io_uring is available HOT 3
- Consider encoding the version of message scheme in the preamble HOT 7
- Bump libuv from 1.18 to 1.34 HOT 1
- for jepsen: extra online spare HOT 1
- AddressSanitizer:DEADLYSIGNAL in replication.c HOT 2
- consistency issues HOT 11
- Behavior when setting `sysctl -w fs.aio-max-nr=0` during operation
- Out of disk behavior HOT 3
- add memory disk benchmark HOT 5
- src/uv_truncate.c:58: Assertion `i < n_segments' failed HOT 12
- CMake support HOT 6
- Cross platform support HOT 7
- 1.16.2: build fails with raft 0.22.0 HOT 3
- Fix Coverity
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 dqlite.