[pgcluster: 635] Re: pg_restoreをすると、レプリケーションサーバが反応しなくなる

mitani mitani @ sraw.co.jp
2005年 1月 7日 (金) 09:52:34 JST


三谷@広島です.

> pg_restoreでデータをリストアすると、レプレケーションサーバが反応しなくなります.
> CTR+Cでプロンプトを抜けた後、clusterDBにログインして更新系のクエリーを投げても反応がなくなります.
> clusterDBを1台にすると正常にリストア出来ました.
再度1.0.8aで動作を確認しました.
クラスタDBを3台の環境で実行しても,pg_restoreは問題なく実行されました.
(よく考えたら,regression testは通っているので,COPYのレプリケーション
には問題がないはずでした)

----------検証方法---------------
[postgres @ dual postgres]$ pg_dump -p 5001 -t test -f test.out -F c -U test test
[postgres @ dual postgres]$ dropdb -p 5001 test
DROP DATABASE
[postgres @ dual postgres]$ createdb -p 5001 --owner=test test
CREATE DATABASE
[postgres @ dual postgres]$ pg_restore -p 5001 -d test -U test test.out
NOTICE:  CREATE TABLE will create implicit sequence 'test_id_seq' for SERIAL col
umn 'test.id'
pg_restore: NOTICE:  CREATE TABLE will create implicit sequence 'test_id_seq' fo
r SERIAL column 'test.id'
NOTICE:  CREATE TABLE will create implicit sequence 'test_id_seq' for SERIAL col
umn 'test.id'
NOTICE:  CREATE TABLE will create implicit sequence 'test_id_seq' for SERIAL col
umn 'test.id'
[postgres @ dual postgres]$

高橋さんから頂いたレプリケーションログを見ると,ダンプされたファイルから
データ部分が読み込まれておらず,EOFだけが何度も読まれているようです.
ダンプファイルが壊れているのか,ServerAが悪いのか...

午前中に1.0.8bをアップしますので,お手数ですが,initdbからやり直してみて
頂けませんでしょうか.
よろしくお願いします.

=============================
三谷 篤<mitani @ sraw.co.jp>
=============================




pgcluster メーリングリストの案内