X Tutup
Skip to content

Concurrent DockerCmdExecFactory.getDefaultDockerCmdExecFactory fails on reload #266

@Kindrat

Description

@Kindrat

When you try to create Docker client concurrently it's possible to get RuntimeException in getDefaultDockerCmdExecFactory method when one thread has already checked that iterator is not empty, and other calls serviceLoader.reload(). First thread reuses invalidated iterator and fails.

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

      X Tutup