Skip to content

The ExportColumnFamily API does not return data as expected. #13295

Open
@LIBA-S

Description

RocksDB version

v8.4.4

Expected behavior

We have a CF that needs to be exported. Since the amount of data is relatively small, no SST file has been generated yet. It is expected that when exporting through the ExportColumnFamily API, an SST file can be generated. but in fact, the vector of file metadata in ExportImportFilesMetaData is empty, It is uncertain whether an SST file was generated at that time because the DB directory was cleaned up when the failure occurred.

Actual behavior

the vector of file metadata in ExportImportFilesMetaData is empty.

Steps to reproduce the behavior

Currently, there is no way to reproduce the problem. In our scenario, a large number of similar CFs are being exported simultaneously. I wonder if it could be due to a stale SuperVersion issue: The SST file has been successfully generated, but it has not been reflected in the metadata yet.

I hope to get help from the community.

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