Re: 2-phase commit
Marc G. Fournier <scrappy@postgresql.org>
From: "Marc G. Fournier" <scrappy@postgresql.org>
To: Bruce Momjian <pgman@candle.pha.pa.us>
Cc: pgsql-hackers@postgresql.org
Date: 2003-09-29T14:14:30Z
Lists: pgsql-hackers
On Mon, 29 Sep 2003, Bruce Momjian wrote: > Marc G. Fournier wrote: > > > Master Slave > > > ------ ----- > > > commit ready--> > > > <--OK > > > commit done->XX > > > > > > is the "commit done" message needed ? > > > > Of course ... how else will the Slave commit? From my understanding, the > > concept is that the master sends a commit ready to the slave, but the OK > > back is that "OK, I'm ready to commit whenever you are", at which point > > the master does its commit and tells the slave to do its ... > > Or the slave could reject the request. Huh? The slave has that option?? In what circumstance?