Delta XDS Fails to Apply Correct Configuration Upon Reconnecting to Control Plane

オープン
#463 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
45/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
停滞
技術スタック
grpc, java
領域
api, backend

調査の方向性

まず、Envoy を DELTA_GRPC 用に設定し、xDS サーバーを再起動した後に、最初に cluster-x、次に cluster-y に対して SimpleCache.setSnapshot を使用して、再接続シーケンスを再現します。SimpleCache がスナップショットと delta サブスクリプションの再接続をどのように処理するかを調べます。2 回目のスナップショット後、設定ダンプに cluster-y が含まれ、cluster-x が含まれなくなっていれば完了です。

索引モデルが issue の本文から書いたものです。

説明

I am working on implementing delta XDS using a java control plane. I am using the setSnapshot method in SimpleCache to send the dynamic configuration to the envoy proxy over GRPC. The api_type in the envoy configuration is set to DELTA_GRPC.

Steps to Reproduce the Issue

  1. Start the xDS server.
  2. Create an Envoy proxy with a bootstrap configuration to connect to the xDS server.
  3. Submit a snapshot using SimpleCache.setSnapshot with the cluster name cluster-x.
  4. Verify that the configuration dump details for cluster-x are present as expected.
  5. Shut down the xDS server.
  6. Restart the xDS server.
  7. Submit another snapshot using SimpleCache.setSnapshot with the cluster name cluster-y.
  8. Verify that the configuration dump details for both cluster-x and cluster-y are present.

Expectations

The cluster named cluster-x should have been removed. This behavior is observed when the xDS server state remains unchanged without restarting.

主要言語
Java
スター
314
フォーク
152
平均マージ
14分
マージ済み PR(30日)
1

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

envoyproxy/java-control-plane のほかの issue

envoyproxy/java-control-plane の issue をすべて見る

似ている issue

Java の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。