threefoldtech / rfs

A fuse filesystem in rust
Apache License 2.0
1 stars 1 forks source link

[WIP] resolve sqlite locking issue #44

Closed steveej closed 5 months ago

steveej commented 6 months ago

builds on top of

fixes #42.

steveej commented 5 months ago

@muhamadazmy i'd appreciate help with confirming the locking issue and this improvement. running on this branch i've not packed many images successfully without any issues.

see the rfs invocation in the zos-vm-publish-s3 script for context.

steveej commented 5 months ago

i just hit this issue on https://github.com/threefoldtech/rfs/commit/4ef140bb4d054d3b8298353b9f9fb68d571788b2

2024-04-06 10:34:12,211 ERROR [rfs::pack] failed to upload file ("/nix/store/xvdxy32apr0jyzd6lr7y4zcmxyl7f6n7-system-directory/nix/store/xfsci42v3zqsr1b39f858g7vj2fw2197-python3.11-oauthlib-3.2.2/lib/python3.11/site-packages/oauthlib/oauth2/rfc6749/grant_types/implicit.py"): failed to execute query: error returned from database: (code: 5) database is locked
2024-04-06 10:34:20,370 ERROR [rfs::pack] failed to upload file ("/nix/store/xvdxy32apr0jyzd6lr7y4zcmxyl7f6n7-system-directory/nix/store/xfsci42v3zqsr1b39f858g7vj2fw2197-python3.11-oauthlib-3.2.2/lib/python3.11/site-packages/oauthlib/oauth1/rfc5849/parameters.py"): failed to execute query: error returned from database: (code: 5) database is locked
steveej commented 5 months ago

closing this in favor of #45