question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[Bug] cannot get the right rack info since the 2.10 version

See original GitHub issue

Search before asking

  • I searched in the issues and found nothing similar.

Version

2.8.x run well, but since the 2.10 version and the master branch cannot get the right rack information.

Minimal reproduce step

bookkeeperClientRackawarePolicyEnabled=true bookkeeperClientRegionawarePolicyEnabled=false

set-bookie-rack -b bookie11:3181 -g futian -r /FT --hostname bookie11:3181 set-bookie-rack -b bookie12:3181 -g futian -r /FT --hostname bookie12:3181 set-bookie-rack -b bookie13:3181 -g futian -r /FT --hostname bookie13:3181 set-bookie-rack -b bookie14:3181 -g futian -r /FT --hostname bookie14:3181 set-bookie-rack -b bookie15:3181 -g futian -r /FT --hostname bookie15:3181

set-bookie-rack -b bookie21:3181 -g longhua -r /LH --hostname bookie21:3181 set-bookie-rack -b bookie22:3181 -g longhua -r /LH --hostname bookie22:3181 set-bookie-rack -b bookie23:3181 -g longhua -r /LH --hostname bookie23:3181 set-bookie-rack -b bookie24:3181 -g longhua -r /LH --hostname bookie24:3181 set-bookie-rack -b bookie25:3181 -g longhua -r /LH --hostname bookie25:3181

set-bookie-rack -b bookie31:3181 -g longgang -r /LG --hostname bookie31:3181 set-bookie-rack -b bookie32:3181 -g longgang -r /LG --hostname bookie32:3181 set-bookie-rack -b bookie33:3181 -g longgang -r /LG --hostname bookie33:3181 set-bookie-rack -b bookie34:3181 -g longgang -r /LG --hostname bookie34:3181 set-bookie-rack -b bookie35:3181 -g longgang -r /LG --hostname bookie35:3181

What did you expect to see?

Adding a new node: /FT/bookie13:3181

as the config rack, not the default rack !!!

What did you see instead?

2022-12-09 17:40:35,293 INFO [RackawareEnsemblePlacementPolicyImpl#226] [main] Not weighted 2022-12-09 17:40:35,293 INFO [BookKeeper#527] [main] Weighted ledger placement is not enabled 2022-12-09 17:40:35,323 INFO [ZKRegistrationClient#270] [main-EventThread] Update BookieInfoCache (writable bookie) bookie14:3181 -> BookieServiceInfo{properties={}, endpoints=[EndpointInfo{id=bookie, port=3181, host=bookie14, protocol=bookie-rpc, auth=[], extensions=[]}]} 2022-12-09 17:40:35,325 INFO [ZKRegistrationClient#270] [main-EventThread] Update BookieInfoCache (writable bookie) bookie32:3181 -> BookieServiceInfo{properties={}, endpoints=[EndpointInfo{id=bookie, port=3181, host=bookie32, protocol=bookie-rpc, auth=[], extensions=[]}]} 2022-12-09 17:40:35,326 INFO [ZKRegistrationClient#270] [main-EventThread] Update BookieInfoCache (writable bookie) bookie35:3181 -> BookieServiceInfo{properties={}, endpoints=[EndpointInfo{id=bookie, port=3181, host=bookie35, protocol=bookie-rpc, auth=[], extensions=[]}]} 2022-12-09 17:40:35,326 INFO [ZKRegistrationClient#270] [main-EventThread] Update BookieInfoCache (writable bookie) bookie11:3181 -> BookieServiceInfo{properties={}, endpoints=[EndpointInfo{id=bookie, port=3181, host=bookie11, protocol=bookie-rpc, auth=[], extensions=[]}]} 2022-12-09 17:40:35,326 INFO [ZKRegistrationClient#270] [main-EventThread] Update BookieInfoCache (writable bookie) bookie22:3181 -> BookieServiceInfo{properties={}, endpoints=[EndpointInfo{id=bookie, port=3181, host=bookie22, protocol=bookie-rpc, auth=[], extensions=[]}]} 2022-12-09 17:40:35,326 INFO [ZKRegistrationClient#270] [main-EventThread] Update BookieInfoCache (writable bookie) bookie12:3181 -> BookieServiceInfo{properties={}, endpoints=[EndpointInfo{id=bookie, port=3181, host=bookie12, protocol=bookie-rpc, auth=[], extensions=[]}]} 2022-12-09 17:40:35,326 INFO [ZKRegistrationClient#270] [main-EventThread] Update BookieInfoCache (writable bookie) bookie25:3181 -> BookieServiceInfo{properties={}, endpoints=[EndpointInfo{id=bookie, port=3181, host=bookie25, protocol=bookie-rpc, auth=[], extensions=[]}]}

Anything else?

No response

Are you willing to submit a PR?

  • I’m willing to submit a PR!

Issue Analytics

  • State:closed
  • Created 9 months ago
  • Comments:9 (9 by maintainers)

github_iconTop GitHub Comments

1reaction
horizonzycommented, Dec 10, 2022

Could you cherry-pick this pr and try it again?

1reaction
hangc0276commented, Dec 9, 2022

@horizonzy Would you please help take a look? thanks.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Bug listing with status CONFIRMED as at 2022/12/07 04:46:31
Bug :4315 - "[Future EAPI] add support for version ranges in DEPEND" status:CONFIRMED ... Bug:192132 - "genlop -q cannot find CPU at gentoo.linuxhowtos.org" ......
Read more >
Bug #882574 “parsing of dmidecode fails on SMBIOS warning”
If SMBIOS 2.7 is present, the dmidecode utility adds warning in the form of comments to the output which are included in fields...
Read more >
Techstream Known Bugs - Techinfo Toyota
It will not be possible to view Live Data, Clear DTCs, etc. Status: Corrected with version 15.2 (1430-005). TIS techstream. Steering rack can...
Read more >
Known Issues — Pokémon GO Help Center - Niantic Support
Issue description: Some images for items in the Shop to not load correctly for players. This is a visual bug and does not...
Read more >
Glitches - Official The Forest Wiki - Fandom
The bugs and glitches have been ordered according to tiers, ... -Note: Cannibals have been known to steal meat from the Drying Rack...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found