Skip to content

Improve resilience of influxd inspect export-lp when running against a live DB #20601

Open
@danxmoran

Description

@danxmoran

The 2.x implementation of export-lp introduced in #20467 doesn't handle the edge cases of running against a live DB very well. The tool lists the contents of the TSM and WAL directories for the target bucket to find the files it should process. If a file is deleted between that point and the point when the tool actually tries to process it, a warning is logged and the export continues. This matches the 1.x implementation, but (I think) it can result in data being dropped from the export if compactions/snapshots are running concurrently.

Metadata

Metadata

Assignees

No one assigned

    Labels

    area/2.xOSS 2.0 related issues and PRsarea/cliarea/storagekind/tech-debtNeeds cleanup, will make the developer experience better

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions