Re: [GENERAL] PostgreSQL on a Cluster - Mailing list pgsql-hackers

From Andrew Sullivan
Subject Re: [GENERAL] PostgreSQL on a Cluster
Date
Msg-id 20030414191726.GE14475@libertyrms.info
Whole thread Raw
In response to PostgreSQL on a Cluster  (Devrim GUNDUZ <devrim@gunduz.org>)
List pgsql-hackers
On Sun, Apr 13, 2003 at 11:31:03PM +0300, Devrim GUNDUZ wrote:
> This is what we are planning:
>
>
>         +---------------+
>         +   Storage    +
>         +    Area    +
>         +   Network    +
>         +---------------+
>             +
>             +
>         -----------------
>         |        |
>     Master Server       2nd Master
>     with eRServer        Server
>               for load balancing

> So let's say we want to do some operation on the database, located at SAN.
> When the 1st server wants to update a row, it will lock it. What happens
> when the second server wants to access the same row? Does 1st server
> "broadcast" that it has locked the row?

This suggests you misunderstand how eRServer and PostgreSQL work.
There's no such thing as a "2d master".  It's impossible (well,
unless the eRServer folks have done something they haven't told the
rest of us about).

A

--
----
Andrew Sullivan                         204-4141 Yonge Street
Liberty RMS                           Toronto, Ontario Canada
<andrew@libertyrms.info>                              M2P 2A8
                                         +1 416 646 3304 x110


pgsql-hackers by date:

Previous
From: Andrew Sullivan
Date:
Subject: Re: Anyone working on better transaction locking?
Next
From: Tom Lane
Date:
Subject: Re: undefined reference to `is_absolute_path'