diff options
| author | chrislu <chris.lu@gmail.com> | 2025-12-05 20:58:58 -0800 |
|---|---|---|
| committer | chrislu <chris.lu@gmail.com> | 2025-12-05 20:58:58 -0800 |
| commit | acd7f1a4d551108f296455a480356db17cec3a5b (patch) | |
| tree | d943a7e9ccfbe5191252077fd8808f557fc3f1ac /postgres-examples/README.md | |
| parent | eb6a56b6c61c8c2adf0d356f3761646847f26b01 (diff) | |
| download | seaweedfs-acd7f1a4d551108f296455a480356db17cec3a5b.tar.xz seaweedfs-acd7f1a4d551108f296455a480356db17cec3a5b.zip | |
s3api: reuse prefetched entry in versioned DELETE operations
Update deleteSpecificObjectVersion() to accept an optional prefetchedEntry
parameter. When the entry was already fetched by enforceObjectLockProtections(),
it is now passed through to avoid a duplicate filer lookup.
This optimization applies to:
- DELETE specific version (versionId specified)
- DELETE null version (suspended versioning)
- DeleteMultipleObjects for versioned buckets
Performance impact:
- Versioned DELETE: reduces filer lookups from 2 to 1 (50% reduction)
- Non-versioned DELETE: no change (requires gRPC protocol changes)
Diffstat (limited to 'postgres-examples/README.md')
0 files changed, 0 insertions, 0 deletions
