i'm seeing a lot of these error messages when rfs packing a directory tree to an s3 storage endpoint:
2024-03-13 19:41:42,980 ERROR [rfs::pack] failed to upload file ("result/nix/store/01rij9mgykvr69h98ia7phbhsyj4jk0h-nano-7.0/share/locale/sr/LC_MESSAGES/nano.mo"): failed to execute query: error returned from database: (code: 5) database is locked
this shows the structure of the directory tree:
$ tree --filelimit=5 result
result
├── boot
│ ├── initrd.img
│ └── vmlinuz
├── nix
│ └── store [630 entries exceeds filelimit, not opening dir]
├── nix-path-registration
├── nix-support
│ ├── hydra-build-products
│ └── system
└── sbin
└── init -> /nix/store/h887aswc89nikhpfckvci02nv61byly7-nixos-system-nixos-22.11pre-git/init
from my first look in the code this seems like a critical error, because it means that database and the remote storage both miss the files that have had errors.
i'm seeing a lot of these error messages when
rfs pack
ing a directory tree to an s3 storage endpoint:this shows the structure of the directory tree:
from my first look in the code this seems like a critical error, because it means that database and the remote storage both miss the files that have had errors.