Glauber Costa
a50996f376
commitlog: calculate segment-independent size of mutations
...
Goal is to calculate a size that is lesser or equal than the
segment-dependent size.
This was originally written by Tomasz, and featured in his submission
"commitlog: Handle overload more gracefully"
Extracted here so it sits clearly in a different patch.
Signed-off-by: Glauber Costa <glauber@scylladb.com >
2016-10-19 13:49:47 -04:00
Paweł Dziepak
bdc23ae5b5
remove db/serializer.hh includes
...
Signed-off-by: Paweł Dziepak <pdziepak@scylladb.com >
2016-03-02 09:07:09 +00:00
Paweł Dziepak
dec63eac6e
commitlog: add commitlog entry move constructor
...
Default move constructor and assignment didn't handle reference to
mutation (_mutation) properly.
Fixes #935 .
Signed-off-by: Paweł Dziepak <pdziepak@scylladb.com >
Message-Id: <1456760905-23478-1-git-send-email-pdziepak@scylladb.com >
2016-02-29 18:10:15 +02:00
Paweł Dziepak
89b75a02d4
commitlog: use IDL-based serialization for entries
...
Signed-off-by: Paweł Dziepak <pdziepak@scylladb.com >
2016-02-19 23:11:59 +00:00
Paweł Dziepak
f548c75200
commitlog: move implementation to *.cc file
...
Signed-off-by: Paweł Dziepak <pdziepak@scylladb.com >
2016-02-19 23:11:59 +00:00
Paweł Dziepak
0254c3e30b
commitlog: add commitlog entry writer and reader
...
Signed-off-by: Paweł Dziepak <pdziepak@scylladb.com >
2016-01-13 10:13:49 +01:00