ZooKeeper 3.4.11 bug: dataDir and dataLogDir swapped

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

ZooKeeper 3.4.11 bug: dataDir and dataLogDir swapped

Andor Molnar
Hi all,

Please be aware that 3.4.11 has a quite unfortunate bug which causes
ZooKeeper to swap dataDir and dataLogDir parameters. If you configured ZK
to use separate txn and snapshot folders in these two options and plan to
upgrade, you'll experience that ZK is trying to load transaction logs from
snapshot folder and vica versa.

Fix is on the way, 3.4.12 will be released soon and it's recommended to
postpone upgrading ZooKeeper until that.

*dev*
I think it'd be useful to add a similar warning message to the Releases
page too.

Regards,
Andor
Reply | Threaded
Open this post in threaded view
|

Re: ZooKeeper 3.4.11 bug: dataDir and dataLogDir swapped

Patrick Hunt
This is a good point Andor. I've updated the release page on the website to
reflect the regression addressed in ZOOKEEPER-2960 and upcoming fix.

Thanks!

Patrick

On Fri, Feb 2, 2018 at 1:07 AM, Andor Molnar <[hidden email]> wrote:

> Hi all,
>
> Please be aware that 3.4.11 has a quite unfortunate bug which causes
> ZooKeeper to swap dataDir and dataLogDir parameters. If you configured ZK
> to use separate txn and snapshot folders in these two options and plan to
> upgrade, you'll experience that ZK is trying to load transaction logs from
> snapshot folder and vica versa.
>
> Fix is on the way, 3.4.12 will be released soon and it's recommended to
> postpone upgrading ZooKeeper until that.
>
> *dev*
> I think it'd be useful to add a similar warning message to the Releases
> page too.
>
> Regards,
> Andor
>