Skip to content

Why ref_counter of HdfsFileSystem isn't designed with atomic_int_type ? #642

@JingLiofLiJing

Description

@JingLiofLiJing

If last HDFSStream or singleton HdfsFilesystem object is descructed, i'm confused about "ref_counter_[0] -= 1" might not achieve the desired effect, which will lead to hdfsFS not disconnected. Could you pls give me some hint about this question?

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