【发布时间】:2020-11-02 16:04:01
【问题描述】:
我在 Kubernetes 集群中运行 postgres 并看到此警告。
这是什么问题/警告?我该如何解决这个问题?
这里是容器启动的完整日志:
.. PostgreSQL Database directory appears to contain a database; Skipping initialization
.. UTC [1] LOG: starting PostgreSQL 13.0 (Debian 13.0-1.pgdg100+1) on x86_64-pc-linux-gnu, compiled by gcc (Debian 8.3.0-6) 8.3.0, 64-bit
... UTC [1] LOG: listening on IPv4 address "0.0.0.0", port 5432
... UTC [1] LOG: listening on IPv6 address "::", port 5432
... UTC [1] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432"
... UTC [24] LOG: database system was shut down at 2020-11-02 10:16:05 UTC
... UTC [1] LOG: database system is ready to accept connections
... UTC [28] WARNING: could not open statistics file "pg_stat_tmp/global.stat": Stale file handle
这里的卷是由 glusterfs 从三个副本中挂载的
【问题讨论】:
-
问题似乎是由于 glusterfs:bugzilla.redhat.com/show_bug.cgi?id=1609210
标签: database postgresql kubernetes-ingress glusterfs