Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

Stencil cache proto schema even after schema is deleted

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

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

評価

難易度
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 はありません

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

はじめの一歩

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

raystack/stencil のほかの issue

raystack/stencil の issue をすべて見る

似ている issue

Go の issue をもっと見る

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

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