xl: Disable rename2 in decommissioning/rebalance (#18964)

Always disable rename2 optimization in decom/rebalance
This commit is contained in:
Anis Eleuch
2024-02-03 23:03:30 +01:00
committed by GitHub
parent 960d604013
commit 6ae97aedc9
8 changed files with 40 additions and 11 deletions

View File

@@ -109,6 +109,8 @@ type ObjectOptions struct {
// participating in a rebalance operation. Typically set for 'write' operations.
SkipRebalancing bool
DataMovement bool // indicates an going decommisionning or rebalacing
PrefixEnabledFn func(prefix string) bool // function which returns true if versioning is enabled on prefix
// IndexCB will return any index created but the compression.