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.

SharedZkClientFactory retains reference to closed ZkConnectionManagers

See original GitHub issue
  // Close the ZkConnectionManager if no other shared client is referring to it.
  // Note the close operation of connection manager needs to be synchronized with the pool operation
  // to avoid race condition.
  private void cleanupConnectionManager(ZkConnectionManager zkConnectionManager) {
    synchronized (_connectionManagerPool) {
      zkConnectionManager.close(true);
    }
  }

Here, shouldn’t we remove closed references?

Need to remove this ZkConnectionManager from connectionManagerPool.

Issue Analytics

  • State:open
  • Created 3 years ago
  • Comments:5 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
narendlycommented, Aug 18, 2020

@manick02 Sure. If you want, you could submit a pull request with a commit and ask for a review.

0reactions
manick02commented, Aug 17, 2020

If none has taken this issue, Can I look at this issue and submit a commit? This would help me understand helix better

Read more comments on GitHub >

github_iconTop Results From Across the Web

Contribute to apache/helix
SharedZkClientFactory retains reference to closed ZkConnectionManagers good first issue Good for new comers. #1126 opened on Jun 28, 2020 by narendly.
Read more >
Referencing value in a closed Excel workbook using ...
The problem is that a link to a closed file works with index( but not with index(indirect(. It seems to me that it...
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