基于 Zookeeper 子网的 ACL

Zookeeper subnetwork based ACL

来自zookeeper doc

ip uses the client host IP as an ACL ID identity. The ACL expression is of the form addr/bits where the most significant bits of addr are matched against the most significant bits of the client host IP.

然而setAcl /node1 ip:127.0.0.1/16:cdrwareturnsAcl is not valid : /node1setAcl /node1 ip:127.0.0.1:cdrwa工作正常)

我错过了什么吗?

已检查 3.4.8 和 3.4.10

已解决,由 the bug 引起,已在 3.5

中修复