Proto commits in PowerDNS/lightningstream

These 12 commits are when the Protocol Buffers files have changed:

Commit:d9e0414
Author:Konrad Wojas
Committer:Konrad Wojas

snapshot: add meta field

The documentation is generated from this commit.

Commit:4ab17be
Author:Konrad Wojas

proto: remove commented out option It included the old package path and was not used.

Commit:8aebede
Author:Konrad Wojas
Committer:Konrad Wojas

snapshot: finish new protobuf code, add many tests

Commit:c7ce85f
Author:Konrad Wojas
Committer:Konrad Wojas

wip: optimised snapshot loading and writing

Commit:0e7667d
Author:Konrad Wojas

Set and validate the new 'transform' field

Commit:cd8c672
Author:Konrad Wojas

snapshot format: bump to v3 Snapshot format v3 changes: - DBI flags are always the flags of the source DBI, never the snapshot DBI. - Optional per-database 'transform' string, to be set to "dupsort_hack" when that is applied. - Added 'compatVersion' to control which old clients can read the current format.

Commit:20c5e8a
Author:Konrad Wojas
Committer:Konrad Wojas

snapshot: add entry flags, bump formatversion to 2

Commit:8f98839
Author:Konrad Wojas

Record DBI flags in snapshot Note that when shadow dbs are used, the stored flags are that of the shadow db. This means that DupSort will not show up when dupsort_hack is in use. We may want to revisit this in the future.

Commit:c9c6929
Author:Konrad Wojas

some refactoring

Commit:56a8dde
Author:Konrad Wojas

snapshot: add timestamp to each key-value

Commit:7a6b7e2
Author:Konrad Wojas

protobuf optimizations

Commit:e18ece8
Author:Konrad Wojas

Initial commit