forked from TrueCloudLab/frostfs-node
[#273] service/audit: Add cache of head responses in PoR
Signed-off-by: Alex Vanin <alexey@nspcc.ru>
This commit is contained in:
parent
9212864f42
commit
afb83c610c
2 changed files with 44 additions and 0 deletions
|
@ -54,6 +54,9 @@ func (c *Context) checkStorageGroupPoR(ind int, sg *object.ID) {
|
|||
continue
|
||||
}
|
||||
|
||||
// update cache for PoR and PDP audit checks
|
||||
c.updateHeadResponses(hdr)
|
||||
|
||||
if len(tzHash) == 0 {
|
||||
tzHash = hdr.PayloadHomomorphicHash().Sum()
|
||||
} else {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue