Open
Description
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.