3b1f045f44
Adds serialization with compression and checksum for WAL buffer segments. This required a weird structure where the flatbuffer bytes of ReplicatedWrite were kept as a raw payload. I did this because otherwise each of the replicated writes would have been rebuilt in the segment. The other thing that isn't ideal is that deserializing a segment actually marshals it into a Rust struct as opposed to keeping the entire thing as raw flatbuffers. We could update this later to have a concept of an open segment (regular rust stuct) and closed segments that are just the flatbuffers. |
||
---|---|---|
.. | ||
src | ||
Cargo.toml | ||
build.rs | ||
predicate.proto | ||
service.proto | ||
source.proto | ||
storage_common.proto | ||
storage_common_idpe.proto | ||
test.proto | ||
wal.fbs |