Skip to content

Commit

Permalink
object: Perform assembly with TTL=1 (#2756)
Browse files Browse the repository at this point in the history
  • Loading branch information
cthulhu-rider authored Feb 28, 2024
2 parents 080a35d + f1f4286 commit 3b0bc18
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ Changelog for NeoFS Node

### Fixed
- Access to `PUT` objects no longer grants `DELETE` rights (#2261)
- Storage nodes no longer reject GET w/ TTL=1 requests to read complex objects (#2447)

### Changed

Expand Down
2 changes: 1 addition & 1 deletion pkg/services/object/get/exec.go
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ func (exec execCtx) key() (*ecdsa.PrivateKey, error) {
}

func (exec *execCtx) canAssemble() bool {
return exec.svc.assembly && !exec.isRaw() && !exec.headOnly() && !exec.isLocal()
return exec.svc.assembly && !exec.isRaw() && !exec.headOnly()
}

func (exec *execCtx) splitInfo() *objectSDK.SplitInfo {
Expand Down

0 comments on commit 3b0bc18

Please sign in to comment.