forked from TrueCloudLab/frostfs-node
[#57] node: Broadcast link objects
It boosts object assembling by an _average_ container node. Signed-off-by: Pavel Karpy <p.karpy@yadro.com>
This commit is contained in:
parent
269a4e9b50
commit
901d62567d
2 changed files with 6 additions and 0 deletions
|
@ -13,6 +13,7 @@ Changelog for FrostFS Node
|
||||||
### Changed
|
### Changed
|
||||||
- `common.PrintVerbose` prints via `cobra.Command.Printf` (#1962)
|
- `common.PrintVerbose` prints via `cobra.Command.Printf` (#1962)
|
||||||
- Env prefix in configuration changed to `FROSTFS_*` (#43)
|
- Env prefix in configuration changed to `FROSTFS_*` (#43)
|
||||||
|
- Link object is broadcast throughout the whole container now (#57)
|
||||||
|
|
||||||
### Fixed
|
### Fixed
|
||||||
- Increase payload size metric on shards' `put` operation (#1794)
|
- Increase payload size metric on shards' `put` operation (#1794)
|
||||||
|
|
|
@ -141,6 +141,11 @@ func (t *distributedTarget) Close() (*transformer.AccessIdentifiers, error) {
|
||||||
return nil, fmt.Errorf("(%T) could not validate payload content: %w", t, err)
|
return nil, fmt.Errorf("(%T) could not validate payload content: %w", t, err)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if len(t.obj.Children()) > 0 {
|
||||||
|
// enabling extra broadcast for linking objects
|
||||||
|
t.traversal.extraBroadcastEnabled = true
|
||||||
|
}
|
||||||
|
|
||||||
return t.iteratePlacement(t.sendObject)
|
return t.iteratePlacement(t.sendObject)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue