Skip to content

NodeDiscovery threads have non-unique name #626

@quidryan

Description

@quidryan

There is no thread name format provided to the ThreadFactoryBuilder, so they get the hard-to-understand name pool-5-thread-1.

https://github.com/Netflix/astyanax/blob/master/astyanax-core/src/main/java/com/netflix/astyanax/connectionpool/impl/NodeDiscoveryImpl.java#L62

Adding a .setNameFormat("AstyanaxNodeDiscovery-%d") should fix it.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions