aboutsummaryrefslogtreecommitdiff
path: root/postgres-examples/README.md
diff options
context:
space:
mode:
authorchrislu <chris.lu@gmail.com>2025-12-05 20:57:53 -0800
committerchrislu <chris.lu@gmail.com>2025-12-05 20:57:53 -0800
commiteb6a56b6c61c8c2adf0d356f3761646847f26b01 (patch)
tree842dfbd68531ea5ffcf3367d1c53f8080cd9567c /postgres-examples/README.md
parent5dd2d44858eb3f81cf89a71d35bc8df145fdbe4d (diff)
downloadseaweedfs-eb6a56b6c61c8c2adf0d356f3761646847f26b01.tar.xz
seaweedfs-eb6a56b6c61c8c2adf0d356f3761646847f26b01.zip
s3api: return entry from enforceObjectLockProtections for reuse
Change enforceObjectLockProtections() to return the fetched entry along with any error. This allows callers to reuse the entry and avoid duplicate filer lookups. The entry is returned as (*filer_pb.Entry, error): - Returns (entry, nil) on success - Returns (nil, nil) if object doesn't exist (not an error for deletes) - Returns (entry, err) if object is locked (entry still returned) - Returns (nil, err) on lookup failure
Diffstat (limited to 'postgres-examples/README.md')
0 files changed, 0 insertions, 0 deletions