Skip to content

Failure to report Dropped CF without CF Handle destroyed before Close #13532

Open
@pdillinger

Description

@pdillinger

If you drop a CF and later close the DB without destroying the CF handle, that can only be detected by a memory leak detector such as ASAN. I had thought this would be picked up by the ColumnFamilySet destructor at close time, but no it doesn't keep (weak) references to dropped column families.

This could mean users suffering significant, unexpected resource leak.

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