Closed myuniquename closed 2 years ago
Nothing obvious pops out. Tried running prune on a small set locally without crash.
Try running with --log-level debug
, it might reveal some details about what is going on.
Also, try with --dry-run
to see how many blocks it would keep without changing the data in the store.
I've made a test storage with error reproduced: https://drive.google.com/file/d/1JX55kJGv8BLQJ9eJVBL0xS5RfmwAnq1M/view?usp=sharing
Inside of it you can find storage in repro\epic_store\storage
Index files are in repro\epic_store\index
repro\example_prune_command.txt
is an example prune command I was using
repro\example_upsync_command.txt
is an upsync command example
repro\epic_prune.txt
is a source file I've created for source-paths
argument for a prune-store command
Looks like example_prune_command.txt
contains the same line as example_upsync_command.txt
, probably a copy/paste error. I'll make due anyway.
Please try out 0.3.7-pre1. The crash was specific when using a local file system store. https://github.com/DanEngelbrecht/golongtail/releases/tag/v0.3.7-pre1
Than you! Issue was fixed!
Hello,
I'm was trying to test prune-store command and I got a crash. Could you please help me to understand it?
Command:
longtail-win32-x64.exe prune-store --storage-uri e:\longtail_storage\purge_storage\storage --source-paths e:\longtail_storage\prune_sources.txt
prune_sources.txt crashlog.txt
I'm running Logtail version v0.3.6-pre8 on Windows