diff options
| author | Dan Engelbrecht <[email protected]> | 2022-05-28 00:29:17 +0200 |
|---|---|---|
| committer | Dan Engelbrecht <[email protected]> | 2022-05-28 00:29:17 +0200 |
| commit | da0ca23fa55f7e900853bdfd06523b78fce32259 (patch) | |
| tree | 8b2190cb5341d01fcd9efa9026b1b14f227123bc /scripts/bundle.lua | |
| parent | Horde execute compressed input blobs (#109) (diff) | |
| download | zen-da0ca23fa55f7e900853bdfd06523b78fce32259.tar.xz zen-da0ca23fa55f7e900853bdfd06523b78fce32259.zip | |
Enable FILE_SHARE_DELETE on standalone files in disk buckets
This allows us to delete the file even if it is open for read.
We do a delete, the rename since we are not allowed to do a rename-overwrite, only delete.
As we have the shard lock for the file we want to replace we can safely do a delete+rename.
In the rare case that we fail to rename the file into place the old data is lost.
As this is a *cache* and it should be very rare this is OK.
Diffstat (limited to 'scripts/bundle.lua')
0 files changed, 0 insertions, 0 deletions