|
|
@ -455,9 +455,9 @@ func (s *erasureSets) cleanupStaleUploads(ctx context.Context, cleanupInterval, |
|
|
|
const objectErasureMapKey = "objectErasureMap" |
|
|
|
const objectErasureMapKey = "objectErasureMap" |
|
|
|
|
|
|
|
|
|
|
|
type auditObjectOp struct { |
|
|
|
type auditObjectOp struct { |
|
|
|
Pool int `json:"pool"` |
|
|
|
Pool int `json:"poolId"` |
|
|
|
Set int `json:"set"` |
|
|
|
Set int `json:"setId"` |
|
|
|
BackendServers []string `json:"backendServers"` |
|
|
|
Disks []string `json:"disks"` |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
func auditObjectErasureSet(ctx context.Context, object string, set *erasureObjects, poolNum int) { |
|
|
|
func auditObjectErasureSet(ctx context.Context, object string, set *erasureObjects, poolNum int) { |
|
|
@ -468,9 +468,9 @@ func auditObjectErasureSet(ctx context.Context, object string, set *erasureObjec |
|
|
|
object = decodeDirObject(object) |
|
|
|
object = decodeDirObject(object) |
|
|
|
|
|
|
|
|
|
|
|
op := auditObjectOp{ |
|
|
|
op := auditObjectOp{ |
|
|
|
Pool: poolNum + 1, |
|
|
|
Pool: poolNum + 1, |
|
|
|
Set: set.setNumber + 1, |
|
|
|
Set: set.setNumber + 1, |
|
|
|
BackendServers: set.getEndpoints(), |
|
|
|
Disks: set.getEndpoints(), |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
var objectErasureSetTag map[string]auditObjectOp |
|
|
|
var objectErasureSetTag map[string]auditObjectOp |
|
|
|