You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@zookeeper.apache.org by "Andor Molnar (Jira)" <ji...@apache.org> on 2026/06/23 22:36:00 UTC

[jira] [Created] (ZOOKEEPER-5059) Kerberos SASL leaks Login refresh threads across QuorumPeer.shutdown()

Andor Molnar created ZOOKEEPER-5059:
---------------------------------------

             Summary: Kerberos SASL leaks Login refresh threads across QuorumPeer.shutdown()
                 Key: ZOOKEEPER-5059
                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-5059
             Project: ZooKeeper
          Issue Type: Bug
          Components: server
    Affects Versions: 3.8.6, 3.9.5
            Reporter: Andor Molnar
            Assignee: Andor Molnar


ZooKeeper's quorum Kerberos SASL implementation starts background {{Login}} TGT refresh threads for both quorum server-side and learner-side authentication, but {{QuorumPeer.shutdown()}} never tears those {{Login}} instances down. In embedded or repeatedly recycled ZooKeeper deployments, every restart leaves additional daemon threads alive in the hosting JVM.

The issue is in the quorum mutual-authentication path, not the external client protocol itself.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)