wso2 / wso2/api-platform

Retrieving Deployments from Control Plane during restart

Open
#814 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Area/Gateway Type/Improvement
Dominant language
Go
Stars
71
Forks
111
Avg merge
1d 14h
Merged PRs (30d)
110

Description

Current Limitation

Currently gateway has a separate persistence layer, and during restart XDS and memory is updated from there. This is okay for the standalone mode. But during a distributed setup, if a gateway restarts, the deployment details should be updated by talking to the control plane.

Suggested Improvement

During gateway restart, call platform-api and retrieve active deployments with deployment ids. Compare the deployment Ids in the gateway database, if differs, update them with the newly retrieved deployments.

Version

No response

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating the gateway restart path, its persistence layer, and the platform-api client or deployment retrieval entry point. Trace how XDS and memory are updated during restart, then verify completion by checking that active deployment IDs from the control plane are compared with the gateway database and reconciled when they differ.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
backend, distributed-systems
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.