Closed
Description
This issue covers all the tasks needed to backport the implementation of ADR-101 (#574) from main into v0.38.x.
We will backport this feature into an experimental branch because :
- We have to break existing go API interfaces (legacy gRPC, in particular) and v0.38.x is already released
- The pruning mechanism is happening in the background now, instead of synchronously between heights which changes the existing logic.
The implementation will be backported step by step, porting one big feature at a time.
- Create a
v0.38.x-experimental
branch with all the protections of release branches. - ADR-101 v0.38.x : BaseService and VersionService backport #1421
commit: 65a88b9
This step will be the basis for backporting all other gRPC endpoints. - ADR-101 v0.38.x: Backport block pruning mechanism #1422
commits: 04dfaf5, c710bb8 (metrics for pruning), fe644d8 - ADR-101 v0.38.x : Backport indexer pruning mechanism #1423
commits: 96f4ab8 - Backport gRPC endpoints:
- BlockService backport to v0.38.x, commits: 84e2e01, 8006a74 grpc: BlockService and BlockResultsService backport to v0.38.x-experimental #1440
- BlockResultsService backport to v0.38.x, commits: f9c17b4 grpc: BlockService and BlockResultsService backport to v0.38.x-experimental #1440
- PruningService (Block) backport to v0.38.x, commits: 69843be grpc: PruningService backport to v0.38.x-experimental #1471
- gRPC: IndexerPruningService backport to v0.38.x #1481
- Close method for gRPC client 3479642 grpc: backport Add
Close
method to gRPC client (#1251) to v0.38.x-experimental #1474
- ADR-101 v0.38: Backport metrics for indexer pruning #1478
- Backport fixes and optimizations
commits: 6fc2c37 (depends on the gRPC endpoints so will be done at the end ): grpc: backport block prunning fixes (#1271) to v0.38.x-experimental #1473 - ADR-101 Backport documentation to v0.38.x #1475
- v0.38.x-experimental: Backport e2e flakiness fix #1480
Manual backport of Do not race with pruning to validate headers and validators #1467 - state: v0.38. backport of #1490 #1491
- e2e v0.38-experimental :Fix RPC port reference #1503
e2e: Fix docker port aliasing - failing upgrading tests.(backport e2e:Fix docker port alias #1507) - e2e-v0.38-experimental: Fix flakiness in grpc tests due to pruning (#1492) #1536
e2e: Reduce test flakiness - backport e2e: Fix flakiness in grpc tests due to pruning #1492
Backporting the pruning mechanisms is independent of the gRPC backports and can be done in parallel. The pruning service endpoints depend on the pruning mechanisms being implemented.