]> git.ipfire.org Git - thirdparty/rrdtool-1.x.git/commit
rrdcached dump support (#1235)
authorTobias Hintze <thz@users.noreply.github.com>
Fri, 20 Oct 2023 21:03:19 +0000 (23:03 +0200)
committerGitHub <noreply@github.com>
Fri, 20 Oct 2023 21:03:19 +0000 (23:03 +0200)
commitf142cc18c359973998ab00007472db6bf00bfd19
tree513a05f75d547b7e0794f9ff4966f183dd81f7d3
parentd8923c5c01904880c218fd94844eb8ea21f815f0
rrdcached dump support (#1235)

* add missing newlines (\n) for TUNE

Help strings for TUNE command were lacking the trailing newline
character. This causes the FLUSH syntax printed in the same line as
TUNE's.

* fix sendall edge cases

The `sendall` func is implemented as a loop over multiple send() calls until all bytes are sent. Previously on subsequent calls the incorrect buffer was used for sending.
This change also forbids `allow_retry` when at least one byte was successfully sent already. This would otherwise mess up the protocol, when retrying from the start.

* rrcached: implement DUMP

* update tests for remote dump support

Previously, tests replaced the daemon-based dump use with a local use.
This is changed in this commit as dump is now supported via daemon.

* update doc/rrddump

* fix format argument type

* update to latest windows vcpkg tag
.github/workflows/ci-workflow.yml
.github/workflows/release-windows.yml
CHANGES
doc/rrddump.pod
src/rrd_client.c
src/rrd_client.h
src/rrd_daemon.c
src/rrd_dump.c
tests/functions