Stencil cache proto schema even after schema is deleted
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 38/100
- issue の種類
- バグ
- 明瞭さ
- おおむね明確
- 活発さ
- 停滞
- 技術スタック
- go
調査の方向性
Start by reproducing the DELETE, POST, and GET requests against multiple Stencil pods behind the service, then inspect the schema-serving and cache entry points. Done means a deleted schema does not reappear after recreation, including when requests reach different pods, without requiring a rolling restart.
索引モデルが issue の本文から書いたものです。
説明
Describe the bug
When I delete a proto-schema
curl -X DELETE http://stencil:8080/v1beta1/namespaces/my-proto/schemas/internal
and recreate the schema
buf build -v --path "internal/src" --as-file-descriptor-set -o "internal/generated/out.desc"
curl --fail-with-body -X POST http://stencil:8080/v1beta1/namespaces/pixxel-proto/schemas/internal --data-binary "@internal/generated/out.desc"
The old schema is still present when getting this schema.
curl http://stencil:8080/v1beta1/namespaces/pixxel-proto/schemas/internal -o any.desc
protoc --decode_raw < any.desc. (the output here still shows the old deleted schema)
Here the stencil URL http://stencil:8080/ is a Service which loads balances across multiple stencil pods.
This problem is solved after doing a rolling restart of Stencil pods.
Expected behavior
Stencil appears to be caching the schema even after the pods are deleted. The cache is local to the pod and not shared across all pods, hence old cache is appearing.
- 主要言語
- Go
- スター
- 237
- フォーク
- 42
- PR マージ指標
- 30日以内にマージされた PR はありません
コントリビューションガイド
このリポジトリのコントリビューションガイドは索引されていません
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
raystack/stencil のほかの issue
-
難易度 4/5 3〜5日 初心者へのやさしさ 35/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 35/100
-
enhancement json
難易度 5/5 1週間以上 初心者へのやさしさ 30/100
-
難易度 4/5 3〜5日 初心者へのやさしさ 35/100
-
docs good first issue
難易度 2/5 1〜3時間 初心者へのやさしさ 35/100
raystack/stencil の issue をすべて見る
似ている issue
-
bug github_actions
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
registrystack/registry-stack#1393 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
JakeChampion/lang#10213 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
oasisprotocol/oasis-sdk#2523 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100