thetumbled commented on issue #4253:
URL: https://github.com/apache/bookkeeper/issues/4253#issuecomment-2026895669
> When you register the listener, it will fire current list of bookie. I
think it's a feature. Feel free to reopen it.
Ok, someone may expect to receive notification once he register the callback.
But there are more than such problem with class `ZKRegistrationClient`. For
example, the doc describe that
```
* Notify when the available list of bookies changes.
* This is a one-shot notification. To receive subsequent notifications
* the listener must be registered again.
```
in
`org.apache.bookkeeper.client.BookKeeperAdmin#watchWritableBookiesChanged`.
But actually, we do not remove the listener after we trigger the listener,
so we will trigger the listener infinitely.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]