Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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
feat/exchange object meta's signatures #2928
feat/exchange object meta's signatures #2928
Changes from all commits
6a8c835
b724d14
5d236f3
d7b63cb
File filter
Filter by extension
Conversations
Jump to
There are no files selected for viewing
Check warning on line 407 in cmd/neofs-node/netmap.go
Codecov / codecov/patch
cmd/neofs-node/netmap.go#L407
Check warning on line 261 in cmd/neofs-node/object.go
Codecov / codecov/patch
cmd/neofs-node/object.go#L260-L261
Check warning on line 264 in cmd/neofs-node/object.go
Codecov / codecov/patch
cmd/neofs-node/object.go#L264
Check warning on line 358 in cmd/neofs-node/object.go
Codecov / codecov/patch
cmd/neofs-node/object.go#L358
Check warning on line 25 in cmd/neofs-node/transport.go
Codecov / codecov/patch
cmd/neofs-node/transport.go#L25
Check warning on line 28 in cmd/neofs-node/transport.go
Codecov / codecov/patch
cmd/neofs-node/transport.go#L28
Check warning on line 32 in cmd/neofs-node/transport.go
Codecov / codecov/patch
cmd/neofs-node/transport.go#L31-L32
Check warning on line 43 in cmd/neofs-node/transport.go
Codecov / codecov/patch
cmd/neofs-node/transport.go#L43
Check warning on line 70 in cmd/neofs-node/transport.go
Codecov / codecov/patch
cmd/neofs-node/transport.go#L69-L70
Check warning on line 75 in cmd/neofs-node/transport.go
Codecov / codecov/patch
cmd/neofs-node/transport.go#L73-L75
Check warning on line 81 in cmd/neofs-node/transport.go
Codecov / codecov/patch
cmd/neofs-node/transport.go#L78-L81
Check warning on line 87 in cmd/neofs-node/transport.go
Codecov / codecov/patch
cmd/neofs-node/transport.go#L84-L87
Check warning on line 57 in pkg/core/object/replicate.go
Codecov / codecov/patch
pkg/core/object/replicate.go#L57
Check warning on line 536 in pkg/morph/client/client.go
Codecov / codecov/patch
pkg/morph/client/client.go#L536
Check warning on line 544 in pkg/morph/client/client.go
Codecov / codecov/patch
pkg/morph/client/client.go#L544
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
do u plan to add tests for these cases? there are few of them now
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
added some
Check warning on line 190 in pkg/network/transport/object/grpc/replication.go
Codecov / codecov/patch
pkg/network/transport/object/grpc/replication.go#L187-L190
Check warning on line 215 in pkg/network/transport/object/grpc/replication.go
Codecov / codecov/patch
pkg/network/transport/object/grpc/replication.go#L211-L215
Check warning on line 223 in pkg/network/transport/object/grpc/replication.go
Codecov / codecov/patch
pkg/network/transport/object/grpc/replication.go#L218-L223
Check warning on line 227 in pkg/network/transport/object/grpc/replication.go
Codecov / codecov/patch
pkg/network/transport/object/grpc/replication.go#L226-L227
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
forgot code or redundant?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
no, why? if we are replicating a lock/tomb object, we add IDs, but if we are adding a regular object, nothing should be done in this
switch
or what you suggest here?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this differs from the original protocol definition
do I understand correctly that we decided to limit the amount of information being signed, and this approach will eventually be "backported" into the protocol?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yes, things have changed with time (or i did not get them from the beginning). we have discussed it with @roman-khimov, a custom message should be provided (see the 2. in the comment mostly)
yes, that is right. not release was done since so it should not be a problem
Check warning on line 237 in pkg/network/transport/object/grpc/replication.go
Codecov / codecov/patch
pkg/network/transport/object/grpc/replication.go#L237