Skip to content

Corruption: Can't access /1270450.sst: IO error: while stat a file for size: /xx/1270450.sst: No such file or directory #14125

@dgpp-programer

Description

@dgpp-programer

hello, my main process opens the rocksdb database by rocksdb::DB::Open(), while another process opens it by rocksdb::DB::OpenForReadOnly. When opening it, an error message :
Corruption: Can't access /1270450.sst: IO error: while stat a file for size: /xx/1270450.sst: No such file or directory

The reason is that the main process is compaction and has deleted these SST files.

Is there any way to avoid this issue?
rocksdb version: v5.10.3.
Will the new version have this problem?

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