mirror of
https://github.com/nspcc-dev/neofs-api.git
synced 2026-03-01 04:28:54 +00:00
Stream EOF support #62
Labels
No labels
I0
I1
I2
I3
I4
S0
S1
S2
S3
S3
S4
U2
U3
U4
bug
discussion
discussion
documentation
enhancement
enhancement
enhancement
feature
good first issue
question
task
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
nspcc-dev/neofs-api#62
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @cthulhu-rider on GitHub (Feb 24, 2022).
Currently we don't have any mention of a graceful end to the stream. Go
gRPCimplementation returnsEOFon client/server side if server/client closed the stream via corresponding library functionality.Do we want to unify this behavior on protocol definition level? Possible solutions:
EOF-like status code: alternative way of 2.@cthulhu-rider commented on GitHub (Jan 15, 2024):
i thought that the synonymous problem could be lack of
unknown RPC: Protocol Buffers v3 doesnt contain functionality for this. Hence current NeoFS API protocol doesnt specify behavior when calling, for example,neo.fs.v2.object.ObjectService/MissingRPCmethod. Some dedicated status message would helphttps://datatracker.ietf.org/doc/html/rfc2616#section-10.5.2
@cthulhu-rider commented on GitHub (Jan 17, 2024):
consider specific status code similar to
206 Partial Content. Then all non-fin messages could carry this code while the fin one0 OKmeaningEOFbut be careful, backward compatibility never sleeps