Avoid compacting the database if there's not enough space for the backup #908

Closed
opened 2024-11-09 05:48:47 +13:00 by dtonon · 2 comments
dtonon commented 2024-11-09 05:48:47 +13:00 (Migrated from github.com)

As per title.

As per title.
mikedilger commented 2024-11-09 07:08:37 +13:00 (Migrated from github.com)

I don't know how to determine if there is enough space. Rust std doesn't offer any such function and I can't seem to find a rust crate that does it either.

But if it fails, it erases the partial copy and then keeps running gossip.

And it only tries once per week.

If you find a better way, I'll do it.

I don't know how to determine if there is enough space. Rust std doesn't offer any such function and I can't seem to find a rust crate that does it either. But if it fails, it erases the partial copy and then keeps running gossip. And it only tries once per week. If you find a better way, I'll do it.
dtonon commented 2024-11-13 10:57:33 +13:00 (Migrated from github.com)

I confirm that now it's working fine!
I probably didn't pull the last commits, sorry.

I confirm that now it's working fine! I probably didn't pull the last commits, sorry.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
nostr/gossip#908
No description provided.