fix/355-increase-tree-service-client-cache-size #359

Closed
ale64bit wants to merge 156 commits from ale64bit/frostfs-node:fix/355-increase-tree-service-client-cache-size into support/v0.36
2 changed files with 1 additions and 6 deletions
Showing only changes of commit 291f9e809a - Show all commits

View file

@ -142,7 +142,7 @@ func (f *memoryForest) TreeGetMeta(_ context.Context, cid cid.ID, treeID string,
return Meta{}, 0, ErrTreeNotFound
}
return s.getMeta(nodeID), s.infoMap[nodeID].Parent, nil
return s.infoMap[nodeID].Meta, s.infoMap[nodeID].Parent, nil
}
// TreeGetChildren implements the Forest interface.

View file

@ -204,8 +204,3 @@ func (t tree) getByPath(attr string, path []string, latest bool) []Node {
return nodes
}
// getMeta returns meta information of node n.
func (t tree) getMeta(n Node) Meta {
return t.infoMap[n].Meta
}