Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

go.mod: Upgrade to latest github.com/nspcc-dev/neofs-sdk-go #2489

Merged
merged 7 commits into from
Sep 8, 2023

Conversation

cthulhu-rider
Copy link
Contributor

@cthulhu-rider cthulhu-rider commented Aug 10, 2023

untagged, but still

i'm in progress with #2488, maybe addtional SDK fixes will be needed

@codecov
Copy link

codecov bot commented Aug 10, 2023

Codecov Report

Merging #2489 (5b8f129) into master (7c3a03f) will decrease coverage by 0.07%.
Report is 7 commits behind head on master.
The diff coverage is 78.04%.

❗ Current head 5b8f129 differs from pull request most recent head 9c35320. Consider uploading reports for the commit 9c35320 to get more accurate results

@@            Coverage Diff             @@
##           master    #2489      +/-   ##
==========================================
- Coverage   29.91%   29.84%   -0.07%     
==========================================
  Files         405      405              
  Lines       30880    30879       -1     
==========================================
- Hits         9237     9217      -20     
- Misses      20856    20869      +13     
- Partials      787      793       +6     
Files Changed Coverage Δ
cmd/neofs-node/object.go 0.00% <0.00%> (ø)
pkg/core/object/fmt.go 69.38% <0.00%> (ø)
pkg/innerring/innerring.go 0.00% <0.00%> (ø)
pkg/innerring/processors/netmap/process_peers.go 0.00% <0.00%> (ø)
pkg/local_object_storage/metabase/db.go 55.35% <77.77%> (-13.70%) ⬇️
pkg/local_object_storage/metabase/select.go 64.80% <87.50%> (-0.21%) ⬇️
pkg/local_object_storage/engine/delete.go 67.12% <100.00%> (+0.45%) ⬆️
pkg/local_object_storage/metabase/exists.go 85.88% <100.00%> (ø)
pkg/local_object_storage/metabase/iterators.go 65.90% <100.00%> (ø)
pkg/services/tree/signature.go 68.00% <100.00%> (-0.51%) ⬇️

... and 2 files with indirect coverage changes

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

📢 Have feedback on the report? Share it here.

@cthulhu-rider cthulhu-rider force-pushed the upgrade/sdk-latest branch 6 times, most recently from c936623 to 30d7436 Compare September 5, 2023 15:46
@cthulhu-rider cthulhu-rider added the blocked Can't be done because of something label Sep 5, 2023
@roman-khimov roman-khimov removed the blocked Can't be done because of something label Sep 7, 2023
@roman-khimov
Copy link
Member

Please upgrade to RC11.

@cthulhu-rider cthulhu-rider force-pushed the upgrade/sdk-latest branch 3 times, most recently from e4a42f6 to c1d3b03 Compare September 7, 2023 15:15
@cthulhu-rider cthulhu-rider marked this pull request as ready for review September 7, 2023 16:07
@carpawell
Copy link
Member

carpawell commented Sep 7, 2023

Lets keep it in sync with #2547. If it is merged first, then #2547 should Close #2531. If #2547 is merged first, this PR should Close #2531 (because of nspcc-dev/neofs-sdk-go#515).

@cthulhu-rider
Copy link
Contributor Author

Lets keep it in sync with #2547.

u mean they both fix #2531 independetly? if so, then it's ok to have Closes notation in both of them imo

* `Client` methods' signature were slightly changed
* object search `Read` method returns error instead of bool now, but
  `Iterate` is almost the same and, at the same time, much easier
* test randomizers do not return pointers now

Signed-off-by: Leonard Lyubich <leonard@morphbits.io>
The constant is now declared in the NeoFS SDK and has same value, so
NeoFS API Go usage is not needed anymore for this.

Refs #1147.

Signed-off-by: Leonard Lyubich <leonard@morphbits.io>
After recent changes, NeoFS SDK provides methods to access user
container/object attributes only, so there is no more need to filter
them manually.

Refs #1147.

Signed-off-by: Leonard Lyubich <leonard@morphbits.io>
SDK recently provided full functionality related to object filters, so
there is no more need to import API Go lib.

Refs #1147.

Signed-off-by: Leonard Lyubich <leonard@morphbits.io>
SDK recently provided constructor of signature instances that can be
used when the signature is transmitted differently from the NeoFS API
protocol (e.g. in smart contracts or in Control service).

Refs #1147.

Signed-off-by: Leonard Lyubich <leonard@morphbits.io>
They have already been resolved earlier.

Closes #1147.

Signed-off-by: Leonard Lyubich <leonard@morphbits.io>
@roman-khimov
Copy link
Member

Conflicts

… only

Previously, storage node selected objects with split ID similar to the
one in the removed object and marked relatives as garbage. This didn't
make any sense when split info was without split ID inside.

From now `deleteChildren` accepts `object.SplitID` by value making it
impossible to be called without split ID. As a consequence, this method
is called from the `delete` one only if node contains split ID of the
parent object.

Signed-off-by: Leonard Lyubich <leonard@morphbits.io>
@carpawell
Copy link
Member

u mean they both fix #2531 independetly? if so, then it's ok to have Closes notation in both of them imo

As you wish. Since that PR it going first, nothing may be done here.

@roman-khimov roman-khimov merged commit 9bdb06c into master Sep 8, 2023
7 of 8 checks passed
@roman-khimov roman-khimov deleted the upgrade/sdk-latest branch September 8, 2023 12:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants