cloudnative-pg / cloudnative-pg/plugin-barman-cloud

Create new cluster using plugin configuration but always get this error in replica pod.

オープン
#463 コメント 4 件 リアクション 0 件 担当者 0 名 GitHub で見る
bug
主要言語
Go
スター
191
フォーク
72
平均マージ
2日 21時間
マージ済み PR(30日)
21

説明

{"level":"error","ts":"2025-08-08T02:41:53.322975793Z","msg":"Error while handling GRPC request","logging_pod":"cluster-example-1","info":{"Server":{"Client":{"Client":{}},"InstanceName":"cluster-example-1","SpoolDirectory":"/controller/wal-restore-spool","PGDataPath":"/var/lib/postgresql/data/pgdata","PGWALPath":"/var/lib/postgresql/data/pgdata/pg_wal"},"FullMethod":"/cnpgi.wal.v1.WAL/Restore"},"error":"WAL file not found","stacktrace":"github.com/cloudnative-pg/machinery/pkg/log.(*logger).Error\n\t/go/pkg/mod/github.com/cloudnative-pg/machinery@v0.2.0/pkg/log/log.go:125\ngithub.com/cloudnative-pg/cnpg-i-machinery/pkg/pluginhelper/http.(*Server).Start.logFailedRequestsUnaryServerInterceptor.func2\n\t/go/pkg/mod/github.com/cloudnative-pg/cnpg-i-machinery@v0.3.0/pkg/pluginhelper/http/grpc.go:51\ngoogle.golang.org/grpc.NewServer.chainUnaryServerInterceptors.chainUnaryInterceptors.func1\n\t/go/pkg/mod/google.golang.org/grpc@v1.72.2/server.go:1208\ngithub.com/cloudnative-pg/cnpg-i/pkg/wal._WAL_Restore_Handler\n\t/go/pkg/mod/github.com/cloudnative-pg/cnpg-i@v0.2.1/pkg/wal/wal_grpc.pb.go:214\ngoogle.golang.org/grpc.(*Server).processUnaryRPC\n\t/go/pkg/mod/google.golang.org/grpc@v1.72.2/server.go:1405\ngoogle.golang.org/grpc.(*Server).handleStream\n\t/go/pkg/mod/google.golang.org/grpc@v1.72.2/server.go:1815\ngoogle.golang.org/grpc.(*Server).serveStreams.func2.1\n\t/go/pkg/mod/google.golang.org/grpc@v1.72.2/server.go:1035"}

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

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

調査の方向性

Start at the WAL Restore gRPC entry point and inspect how the plugin configuration maps to /controller/wal-restore-spool and the replica's PostgreSQL data paths. Reproduce the cluster creation, trace why the requested WAL file is absent, and verify that replica recovery completes without the error.

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

評価

技術スタック
go, grpc, postgresql
領域
backend-api-design, databases
issue の種類
バグ
難易度
4/5
見積もり時間
3〜5日
活発さ
停滞
明瞭さ
説明が足りない
初心者へのやさしさ
25/100

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

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