mirror of
https://github.com/postgres/postgres.git
synced 2025-08-18 12:22:09 +03:00
Fix missing comment update in 1462aad2e4
.
Remove the part of comment that says we don't allow toggling two_phase
option as that is supported in commit 1462aad2e4
.
Author: Hayato Kuroda <kuroda.hayato@fujitsu.com>
Author: Amit Kapila <amit.kapila16@gmail.com>
Discussion: https://postgr.es/m/OSCPR01MB1496656725F3951AEE8749EBDF579A@OSCPR01MB14966.jpnprd01.prod.outlook.com
This commit is contained in:
@@ -109,13 +109,6 @@
|
||||
* If ever a user needs to be aware of the tri-state value, they can fetch it
|
||||
* from the pg_subscription catalog (see column subtwophasestate).
|
||||
*
|
||||
* We don't allow to toggle two_phase option of a subscription because it can
|
||||
* lead to an inconsistent replica. Consider, initially, it was on and we have
|
||||
* received some prepare then we turn it off, now at commit time the server
|
||||
* will send the entire transaction data along with the commit. With some more
|
||||
* analysis, we can allow changing this option from off to on but not sure if
|
||||
* that alone would be useful.
|
||||
*
|
||||
* Finally, to avoid problems mentioned in previous paragraphs from any
|
||||
* subsequent (not READY) tablesyncs (need to toggle two_phase option from 'on'
|
||||
* to 'off' and then again back to 'on') there is a restriction for
|
||||
|
Reference in New Issue
Block a user