[pgcluster: 847] トランザクション処理(ロック)について

kimu kimura @ teraoka.com.sg
2006年 1月 13日 (金) 14:47:37 JST


木村と申します。
はじめて投稿させていただきます。

現在、pgcluster-1.1.2rc2を使用しておりますが、「SELECT 〜 FOR UPDATE」による
ロックが正しく動作させることが出来ません。

そこで、過去のメーリングリストを拝見させて頂いたところ、次の内容と同様な
状態のエラーが発生しております。

http://ml.postgresql.jp/pipermail/pgcluster/2004-September/000523.html

>ERROR: replication server should be down,transaction aborted.
>のメッセージが表示されます。
>
>クラスタサーバ1
>TEST#begin;
>BEGIN
>TEST#select name from test1 where id = 1 for update;
>
>(結果表示)
>
>TEST#update test1 set name = 'aaaaaa' where id = 1;
>UPDATE 1
>
>------
>ここで、クラスタサーバ2で、以下のオペレーションを実施
>TEST#begin;
>BEGIN
>TEST#update test1 set name = 'bbbbbb' where id = 1;
>
>応答がとまります
>
>------
>クラスタサーバ1
>commit;
>
>1分程度の応答停止後
>ERROR: replication server should be down,transaction aborted.
>
>クラスタサーバ2にも同じエラーメッセージが表示


 大変不躾な質問で申し訳ございませんが、三谷様の回答メールから、
この問題は、Version 1.0.8RC2 において、ロック検知の不具合が修正
されたとのことですが、現状、私が使用しておりますバージョン
(1.1.2rc2)で、この問題が未対応であるようなことは想定されますで
しょうか? もしくは、何らかの違った問題により、このエラーが
発生する可能性はありますでしょうか?

 また、もし仮に未対応であった場合、対応して頂く事は可能でしょうか?





>>The information in this message is confidential and may be legally privileged. It is intended solely for the addressee. Access to this message by anyone else is unauthorized. If you are not the intended recipient, any disclosure, copying, or distribution of the message, or any action or omission taken by you in reliance on it, is prohibited and may be unlawful. Please immediately contact the sender if you have received this message in error.<<




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