Strange behaviour with --delete-it-all flag

Atuin 18.3.0 on Manjaro.

I try to use atuin search --delete-it-all and it takes ages. After more than ten minutes, I continue to get a steady flow of deleting <32 character long hex number> lines. It seems to never stop.

When I terminate the process and check the history length with atuin search | wc -l it’s shorter. So I restart it but even with only three lines left, lines are scrolling for ages.

I’m getting afraid of what is being deleted … I hope that the --delete-it-all is no alias to rm -rf $HOME or something like it :fearful:

Just experienced that nervousness about the delete-it-all flag myself. Can confirm my db is still intact. Gonna chime in w/ my understanding and someone can correct me or my assumptions

AFAIK, the 32 character hex is each device’s UUID. You can see each UUID via atuin store status

10 minutes seems long, but I can’t speak to the amount of data you were deleting or your setup. My setup is locally hosting 3 devices.

My uneducated guess based on what I’ve seen is that some deletions require each device’s db to be hit (correct me if I’m wrong), so my guess is that more sync’d devices means more time as another potential factor.

For example, I ran this query and altho it found one command in my history, it deleted 3x if I’m reading it right:

If you’re using the public server, it’s possible that there are some issues w/ it, but my guess is we’d see more comments about that from others by now.