[DRBD-user] drbd-reactor v0.5.3
Roland Kammerer
roland.kammerer at linbit.com
Mon Jan 31 09:47:25 CET 2022
Dear DRBD users,
This is version 0.5.3 of DRBD Reactor. It fixes a bug where under
certain conditions information about peer disks and paths got lost on
connection updates. As this affected the core in theory all plugins that
use that information are affected as well. The bug was found by a
customer in the UMH plugin for example that did not trigger on peer
device changes. All users should update. While fixing this bug I also
saw that some environment variables set by the UMH plugin did not match
their documented names. This got fixed.
Some more details: Reactor uses the (drbdsetup) events2 stream and
updates objects on DRBD event updates. Usually the information in
events2 is 1:1 what Reactor saves in its internal structs. If we get
an update (a "change event" in events2 speak), we just overwrite the
existing struct with the new content. What was overlooked is that the
connection struct not only holds its own information, but also the
structs for peer devices and paths. So on connection changes peer
devices and paths got overwritten with their default slices of structs
which are empty. This is now fixed, existing peer devices and paths are
copied to the update.
GIT: https://github.com/LINBIT/drbd-reactor/releases/tag/v0.5.3
TGZ: https://pkg.linbit.com//downloads/drbd/utils/drbd-reactor-0.5.3.tar.gz
PPA: https://launchpad.net/~linbit/+archive/ubuntu/linbit-drbd9-stack
Regards, rck
Changelog:
[ Roland Kammerer ]
* core: preserve pds/paths on conn updates
* umh: fix env for peerdevice state
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://lists.linbit.com/pipermail/drbd-user/attachments/20220131/3dd25d9a/attachment.pgp>
More information about the drbd-user
mailing list