aboutsummaryrefslogtreecommitdiff
path: root/postgres-examples
diff options
context:
space:
mode:
authorchrislu <chris.lu@gmail.com>2025-12-05 20:58:58 -0800
committerchrislu <chris.lu@gmail.com>2025-12-05 20:58:58 -0800
commitacd7f1a4d551108f296455a480356db17cec3a5b (patch)
treed943a7e9ccfbe5191252077fd8808f557fc3f1ac /postgres-examples
parenteb6a56b6c61c8c2adf0d356f3761646847f26b01 (diff)
downloadseaweedfs-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')
0 files changed, 0 insertions, 0 deletions