Question about synchronous replication

From: Borodin Vladimir <root(at)simply(dot)name>
To: pgsql-general(at)postgresql(dot)org
Subject: Question about synchronous replication
Date: 2014-05-12 16:42:10
Message-ID: 379BDBBE-EDED-430A-B4B1-A9B663EA9A8F@simply.name
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Hi all.

Right now synchronous replication in postgresql chooses one replica as synchronous and waits for replies from it (with synchronous_commit = on | remote_write) until this replica host does not disconnect from master.

Are there any plans to implement something like semi synchronous replication in MySQL 5.6 or replication with write_concern=2 in MongoDB when the master waits for a reply from any of the replica hosts?

In this case network flaps between master and any one replica will not affect writing load and in case of master fail it would be necessary to find the most recent replica and promote it. Or there are pitfalls that I do not see?

--
Vladimir

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Vincent de Phily 2014-05-12 16:57:58 Re: Receiving many more rows than expected
Previous Message David G Johnston 2014-05-12 15:50:47 Re: 8.4 -> 9.1 : ANALYSE VERBOSE; -> out of shared memory