Skip to content

Conversation

@weisd
Copy link
Contributor

@weisd weisd commented Jan 12, 2026

Add support for delete prefix option through RUSTFS_FORCE_DELETE header.

This change allows clients to specify delete prefix behavior by setting the RUSTFS_FORCE_DELETE header to 'true' in delete operations.

Changes:

  • Import RUSTFS_FORCE_DELETE header constant
  • Parse RUSTFS_FORCE_DELETE header in del_opts function
  • Set delete_prefix option based on header value

Fixes delete prefix option handling in storage operations.

@weisd weisd merged commit 78b13f3 into main Jan 12, 2026
12 checks passed
@weisd weisd deleted the fix/deleteprefix branch January 12, 2026 03:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants