Hi Sawada-san,
Thank you for your reply. > BTW did you test on the local? That is, the foreign servers are > located on the same machine? Yes, I tested on the local since I cannot prepare the good network now. > I guess it would be better to start a new thread for this improvement. Thank you for your advice. I started a new thread [1]. > What if we successfully committed 'prep_1' but an error happened > during committing another one for some reason (i.g., corrupted 2PC > state file, OOM etc)? We might return an error to the client but have > already committed 'prep_1'. Sorry, I don't have good idea now. I imagined the command returns the list of the transaction id which ends with error. [1] https://www.postgresql.org/message-id/OS0PR01MB56828019B25CD5190AB6093282129%40OS0PR01MB5682.jpnprd01.prod.outlook.com Regards, Ryohei Takahashi