Skip to content

Conversation

cason
Copy link

@cason cason commented Oct 11, 2023

Partially addresses #1419:

  • PruningService (Block) backport to v0.38.x, commits: 69843be

Manual backport of #1154.


PR checklist

  • Tests written/updated
  • Changelog entry added in .changelog (we use unclog to manage our changelog)
  • Updated relevant documentation (docs/ or spec/) and code comments

mzabaluev and others added 4 commits October 11, 2023 11:54
   - Conflicts not solved at this commit

* proto: Add proto files for the PruningService

* proto: generate *.pb.go files for PruningService

* config: add grpc.privileged incl. pruning_service

As described in ADR-101, add the node configuration section named
grpc.privileged to control the privileged server socket,
containing a pruning_service section for the pruning service.

* config: add pruning service config to the template

* grpc: package for privileged server

The privileged server optionally instantiated with the pruning service.

* node: add setup for the privileged gRPC server

* rpc: enable PruningService in test helper config

Also stop the makeAddrs function from growing grotesquely repetitive
and replace it with makeAddr returning a single, supposedly random,
local address string.

* grpc: privileged client with PruningService

Add client-side support for the privileged connection that features
an optionally enabled pruning service.

* e2e tests for PruningService

* config: refer to [storage.pruning] section in config.toml

Replace potentially confusing text in the comments on the pruning service configuration.

Co-authored-by: Thane Thomson <connect@thanethomson.com>

* grpc: tracing with error logs for PruningService

---------

Co-authored-by: Andy Nogueira <me@andynogueira.dev>
Co-authored-by: Thane Thomson <connect@thanethomson.com>
   * This version is still broken, changes needed
@cason cason changed the base branch from main to v0.38.x-experimental October 11, 2023 10:08
@cason cason self-assigned this Oct 11, 2023
@cason cason added the grpc Anything relating to the gRPC API label Oct 11, 2023
@cason cason mentioned this pull request Oct 11, 2023
17 tasks
@cason cason marked this pull request as ready for review October 11, 2023 10:32
@cason cason requested a review from a team as a code owner October 11, 2023 10:32
@cason cason added this to the 2023-Q4 milestone Oct 11, 2023
@cason cason merged commit 54597a9 into v0.38.x-experimental Oct 11, 2023
@cason cason deleted the cason/backport-pr1154-v0.38 branch October 11, 2023 13:28
lasarojc pushed a commit that referenced this pull request Nov 13, 2023
* ADR-101: implement gRPC `PruningService` (#1154)

   - Conflicts not solved at this commit

* proto: Add proto files for the PruningService

* proto: generate *.pb.go files for PruningService

* config: add grpc.privileged incl. pruning_service

As described in ADR-101, add the node configuration section named
grpc.privileged to control the privileged server socket,
containing a pruning_service section for the pruning service.

* config: add pruning service config to the template

* grpc: package for privileged server

The privileged server optionally instantiated with the pruning service.

* node: add setup for the privileged gRPC server

* rpc: enable PruningService in test helper config

Also stop the makeAddrs function from growing grotesquely repetitive
and replace it with makeAddr returning a single, supposedly random,
local address string.

* grpc: privileged client with PruningService

Add client-side support for the privileged connection that features
an optionally enabled pruning service.

* e2e tests for PruningService

* config: refer to [storage.pruning] section in config.toml

Replace potentially confusing text in the comments on the pruning service configuration.

Co-authored-by: Thane Thomson <connect@thanethomson.com>

* grpc: tracing with error logs for PruningService

---------

Co-authored-by: Andy Nogueira <me@andynogueira.dev>
Co-authored-by: Thane Thomson <connect@thanethomson.com>

* grpc: solving conflicts on RPC helpers

* grpc: solving conflicts on e2e setup package

   * This version is still broken, changes needed

* gprc: added GRPCPrivilegedPort to e2e instance data

* gprc: removing changes not belonging to the backport

---------

Co-authored-by: Mikhail Zabaluev <mikhail@informal.systems>
Co-authored-by: Andy Nogueira <me@andynogueira.dev>
Co-authored-by: Thane Thomson <connect@thanethomson.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
grpc Anything relating to the gRPC API
Projects
No open projects
Status: Done
Development

Successfully merging this pull request may close these issues.

4 participants