Closed bobelev closed 11 months ago
Read the code. Is this error because I'm trying to write to the begging of the file?
Hi, does it reproduce every time? It seems like a really basic use case which is definitely covered by tests This is a bug of course if you can reproduce it
Yes. It is reproduced every time in my usecase. I use geesefs for Bacula backups. It works fine for creating new snapshots. But when Bacula tries to "Recyle" existing backup, geesefe crashes.
I'll gather more debug logs later. If you want to request something like strace
, I can do that. Just let me know.
Debug logs with --debug_s3 --debug_fuse --log-file /path/to/log.txt
during error reproduction will be fine.
Simple use case where I take an existing file and just write 136 bytes to its beginning with dd if=/dev/urandom of=test.2.0 bs=136 count=1 conv=notrunc
works fine for me...
Please recheck with 0.40.0, all this buffer-juggling code has been refactored in it :)
Version 0.38.5 S3 — AWS Args:
Logs: