Skip to content

fix: correctly handle OSS commit protocol to prevent data loss#5332

Merged
wjones127 merged 1 commit intolance-format:mainfrom
Pmathsun:fix-oss-commit-handler
Nov 24, 2025
Merged

fix: correctly handle OSS commit protocol to prevent data loss#5332
wjones127 merged 1 commit intolance-format:mainfrom
Pmathsun:fix-oss-commit-handler

Conversation

@Pmathsun
Copy link
Copy Markdown
Contributor

Previously, OSS protocol was falling back to UnsafeCommitHandler which can lead to data loss during concurrent writes. This change ensures OSS uses the ConditionalPutCommitHandler which leverages the x-oss-forbid-overwrite header to provide proper concurrency control similar to other cloud storage protocols.

ℹ️ Note: This is my first contribution to open source!
I'm excited to be part of the community 🙌
Please feel free to point out anything I can improve — I'm happy to learn and make changes!

@github-actions github-actions Bot added the bug Something isn't working label Nov 24, 2025
@wjones127 wjones127 self-assigned this Nov 24, 2025
@wjones127 wjones127 merged commit 2183f4c into lance-format:main Nov 24, 2025
23 of 25 checks passed
jackye1995 pushed a commit to jackye1995/lance that referenced this pull request Jan 21, 2026
…-format#5332)

Previously, OSS protocol was falling back to UnsafeCommitHandler which
can lead to data loss during concurrent writes. This change ensures OSS
uses the ConditionalPutCommitHandler which leverages the
x-oss-forbid-overwrite header to provide proper concurrency control
similar to other cloud storage protocols.

> ℹ️ **Note**: This is my first contribution to open source!  
> I'm excited to be part of the community 🙌  
> Please feel free to point out anything I can improve — I'm happy to
learn and make changes!
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants