Client fail to connect with a un-readonly bookie.
- Dominant language
- Java
- Stars
- 2k
- Forks
- 976
- Avg merge
- 6d 15h
- Merged PRs (30d)
- 7
Description
**bookie client may could not connect a bookie node which transition state from readonly to writability**
***Describe***
when we transition a bookie state from readonly to writability, bookie will process like this, (1) doRegisterBookie(false) (2)unregisterBookie(), and client's ZkRegistrationClient will process related zk event, and seems ZkRegistrationClient received last event is "/ledgers/available/readonly/{bookieId}" deleted event, and then BookieServiceInfoCacheInvalidationWatcher will remove bookServiceInfo from bookieServiceInfoCache, finally PerChannelBookieClient will throw BookieIdNotResolvedException while attempt connect bookie
***Expected behavior***
Bookie client can aware bookie node online/offline normally.
***Additional context***
- Bookkeeper version : 4.15.3
- Use ZKRegistrationManager implemention
Contributor guide
Assessment
This issue has not been assessed yet.