Skip to content

volume server: added write blob grpc api similar to http #6156

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

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

ollelogdahl
Copy link

@ollelogdahl ollelogdahl commented Oct 22, 2024

What problem are we solving?

Currently, only the http API on the volume server can create new blobs and automatically handle replication. This patch
adds a gRPC API that can be used by other systems to write new blobs. Compared to the other gRPC procedures which are more internal, this API is intended specifically for external systems. See issue #6146

How are we solving the problem?

How is the PR tested?

Currently only by writing a separate client and connect to it.

Todo

  • Testing: I'm not fully sure on how to test this, but I'm working on it.
  • Handling more options; jwt, mime, filename, etc. I'm not sure here if everything should be supported.

Checks

  • I have added unit tests if possible.
  • I will add related wiki document changes and link to this PR after merging.

@chrislusf chrislusf marked this pull request as draft October 22, 2024 15:44
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.

1 participant