mirror of
https://github.com/MarginaliaSearch/MarginaliaSearch.git
synced 2025-02-22 20:48:59 +00:00
(actor) Delete old data in the migration actor
This commit is contained in:
parent
6ece6a6cfb
commit
32c6dd9e6a
@ -75,6 +75,7 @@ public class MigrateCrawlDataActor extends RecordActorPrototype {
|
||||
if (Files.exists(inputPath)) {
|
||||
try {
|
||||
SlopCrawlDataRecord.convertFromParquet(inputPath, outputPath);
|
||||
Files.deleteIfExists(inputPath);
|
||||
} catch (Exception ex) {
|
||||
outputPath = inputPath; // don't update the work log on error
|
||||
logger.error("Failed to convert " + inputPath, ex);
|
||||
|
Loading…
Reference in New Issue
Block a user