Skip to content

Unistore will dead lock in a tmpfs #39237

@YangKeao

Description

@YangKeao

As the tmpfs will return EINVAL for direct io, so badger memtable flush goroutine will stop to work, then all write on the unistore will be blocked.

The mysql-test join-reorder cannot execute with a tmpfs store on unistore.

I think it's expected to refuse to work on tmpfs, so we could add a check before starting the unistore, and make this issue easier to find.

Metadata

Metadata

Assignees

No one assigned

    Labels

    affects-4.0This bug affects 4.0.x versions.affects-5.0This bug affects 5.0.x versions.affects-5.1This bug affects 5.1.x versions.affects-5.2This bug affects 5.2.x versions.affects-5.3This bug affects 5.3.x versions.affects-5.4This bug affects the 5.4.x(LTS) versions.affects-6.1This bug affects the 6.1.x(LTS) versions.affects-6.5This bug affects the 6.5.x(LTS) versions.component/testseverity/majorsig/sql-infraSIG: SQL Infratype/bugThe issue is confirmed as a bug.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions