Skip to content

Commit

Permalink
Fix link to Concurrent updates -> PATCH
Browse files Browse the repository at this point in the history
  • Loading branch information
vitalif committed Nov 23, 2023
1 parent ce6e113 commit a7f2f6c
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ Currently the feature can be enabled with `--enable-patch` and will be enabled b

Enabling patch uploads has the following benefits:
- Fast [fsync](#fsync): since nothing needs to be copied, fsync is now much cheaper
- Support for [concurrent updates](#concurrent-updates)
- Support for [concurrent updates](#concurrent-patch)
- Better memory utilization: less intermediate state needs to be cached, so more memory can be used for (meta)data cache
- Better performance for big files

Expand Down Expand Up @@ -232,8 +232,6 @@ fio -name=test -ioengine=libaio -direct=1 -bs=4M -iodepth=1 -fallocate=none \

## Concurrent Updates

### Other clouds

GeeseFS doesn't support concurrent updates of the same file from multiple hosts. If you try to
do that you should guarantee that one host calls `fsync()` on the modified file and then waits
for at least `--stat-cache-ttl` (1 minute by default) before allowing other hosts to start
Expand All @@ -245,7 +243,7 @@ you may encounter lost updates (conflicts) which are reported in the log in the
main.WARNING File xxx/yyy is deleted or resized remotely, discarding local changes
```

### PATCH
### Concurrent PATCH

When using Yandex S3, it is possible to concurrently update a single object/file from multiple hosts
using PATCH method (`--enable-patch`). However, concurrent changes are not reported back to the clients,
Expand Down

0 comments on commit a7f2f6c

Please sign in to comment.