Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Client fail to connect with a un-readonly bookie. #4172

Open
ytong01 opened this issue Jan 9, 2024 · 0 comments
Open

Client fail to connect with a un-readonly bookie. #4172

ytong01 opened this issue Jan 9, 2024 · 0 comments
Labels

Comments

@ytong01
Copy link

ytong01 commented Jan 9, 2024

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant