[pgsql-jp: 38968] Re: pgpool-II 2.0.1 リリース

skond66 @ mail.goo.ne.jp skond66 @ mail.goo.ne.jp
2007年 11月 22日 (木) 17:06:01 JST


早速の対応ありがとうございました。2.0.1 をDLさせて頂きまして、update については
正常動作を確認いたしました。しかし、replicate_select を true にしても、1.0.2の
ような挙動とならず悩んでおります。具体的には

begin;
select  関数(update や insert を行います)
commit;

とした際、片方のDBにしか select 文が送られず、DBの内容が違ってしまいます。
環境は centos 4.5  postgreSQL 8.1.10 です。設定ファイルの抜粋は

# Replication mode
replication_mode = true

# Set this to nonzero (in milliseconds) to detect this situation and
# resolve the deadlock by aborting current session.
replication_timeout = 5000

# Load balancing mode, i.e., all SELECTs except in a transaction block
# are load balanced.  This is ignored if replication_mode is false.
load_balance_mode = true

# if there's a data mismatch between master and secondary
# start degeneration to stop replication mode
replication_stop_on_mismatch = false

# If true, replicate SELECT statement when load balancing is disabled.
# If false, it is only sent to the master node.
replicate_select = true


としております。よろしくお願いいたします。


----- Original Message ----- 
送信者: Yoshiyuki Asaba<y-asaba @ sraoss.co.jp>
宛先: pgsql-jp @ ml.postgresql.jp
日付:Wednesday, November, 21, 2007, 08:12 PM
件名: [pgsql-jp: 38964]pgpool-II 2.0.1 リリース

> 
> 
> 浅羽です。
> 
> [pgsql-jp: 38959] のご報告で pgpool-II 2.0 に致命的な不具合が見つかり
> ました。そのため本日 pgpool-II 2.0.1 をリリースしました。
> 
> http://pgfoundry.org/frs/download.php/1521/pgpool-II-2.0.1.tar.gz
> 
> 2.0.1 (hikitsuboshi) 2007/11/21
>     * UPDATE もしくは DELETE を実行するとプロセスがダウンする不具合を
>       修正しました。(Yoshiyuki)
> 
>     * master_slave を true に設定している場合に、SQL 構文エラーを検知
>       した時にマスタにのみそのクエリを送信するようにしました。
>       (Yoshiyuki)
> 
> もし pgpool-II 2.0 をダウンロードされた方は早急に 2.0.1 にアップグレー
> ドしてください。
> 
> よろしくお願いいたします。
> --
> Yoshiyuki Asaba
> y-asaba @ sraoss.co.jp
> 



pgsql-jp メーリングリストの案内