avoid replication proxy on version excluded paths (#14878)

no need to attempt proxying objects that were
never replicated, but do have local `null`
versions on them.
This commit is contained in:
Harshavardhana
2022-05-08 16:50:31 -07:00
committed by GitHub
parent 5cffd3780a
commit 62aa42cccf
4 changed files with 9 additions and 4 deletions

View File

@@ -93,7 +93,7 @@ To exclude objects under a list of prefix (glob) patterns from being versioned,
### Features
- Objects matching these prefixes will behave as though versioning were suspended. These objects **will not** be replicated if bucket has replication configured.
- Objects matching these prefixes will also not leave delete markers, dramatically reduces namespace pollution while keeping the benefits of replication.
- Objects matching these prefixes will also not leave `null` delete markers, dramatically reduces namespace pollution while keeping the benefits of replication.
- Users with explicit permissions or the root credential can configure the versioning state of any bucket.
## Examples of enabling bucket versioning using MinIO Java SDK