[DRBD-announce] drbd-reactor v0.5.3
Roland Kammerer <[email protected]> Mon, 31 Jan 2022 09:47:25 +0100
| Newsgroups | dev.linux.lists.drbd-announce |
|---|---|
| Message-ID | <[email protected]> |
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
signature.asc
(application/pgp-signature, 488 B)
-----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEEdesqw/S/2vE9wNKDRgmezyI6myIFAmH3ohkACgkQRgmezyI6 myJNkQf/eC7oBuXncQ/oFtGP8TmIi1kJzMdvkXnCiBUsGN5LEyHRg1mQVD6AkUnf +t3cfAM17ZktEw7rHs7Aic01+pMbNKMz2Gbk0VKnR8NkgKHEbHcBHJ734Qs8INlX JohrJ22bx7daHuHDcU7vCpNC9F3Zd08o6TsD6F4sVKLuxh6hm2wRPLOgl6leppdm 4DhlC53Sclwc5C3InF9K0lX6xKQhxHB4yj8Zz4Hh8RltCpvtgmSHcmN5Lo8U0IZj 9CugboWDjQKPiPzdz+GHsaQiTT5tFOQmDih84jYnwDEaXjnOJPf8f3JJWh/gwYQ9 IotqGGQwKdq8eY7eeZEdhbw/3RP/LQ== =K6RR -----END PGP SIGNATURE-----