forked from TrueCloudLab/frostfs-node
[#211] blobstor: Remove global lock
Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
This commit is contained in:
parent
59f7cf9873
commit
53b114cf8b
5 changed files with 0 additions and 16 deletions
|
@ -27,9 +27,6 @@ var ErrObjectNotFound = errors.New("object not found")
|
|||
// Returns any error encountered that
|
||||
// did not allow to completely read the object.
|
||||
func (b *BlobStor) GetBig(prm *GetBigPrm) (*GetBigRes, error) {
|
||||
b.mtx.RLock()
|
||||
defer b.mtx.RUnlock()
|
||||
|
||||
// get compressed object data
|
||||
data, err := b.fsTree.get(prm.addr)
|
||||
if err != nil {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue