• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Anyone used sequoia?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Anyone used sequoia?


  • Subject: Re: Anyone used sequoia?
  • From: Mike Schrag <email@hidden>
  • Date: Mon, 16 Apr 2007 22:51:06 -0400

I have used FrontBase's clustering, and pgcluster w/ postgresql, which was a complete disaster (I was able to get it out of sync fairly readily).

Hmm, okay, why was that?
In case anyone is curious, here's the script I would follow to kill pgcluster.  Note that pgcluster has a load balancer sitting in front of the cluster, and can maintain who the "majority" is even with two databases (because "reachability" between cluster members doesn't matter -- just reachability from balancer to member):

1. Initial start cluster1
2. Start Replicator
3. cluster2 Recovery Start
4. Start Load Balancer
5. psql connect to load balancer
6. shutdown cluster1

7. psql query fails:
FATAL:  terminating connection due to administrator command
server closed the connection unexpectedly
        This probably means the server terminated abnormally
        before or while processing the request.
The connection to the server was lost. Attempting reset: Succeeded.

8. reexecute query works
9. cluster1 Recovery Start
10. psql queries work
11. shutdown cluster2
12. psql query fails:
FATAL:  terminating connection due to administrator command
server closed the connection unexpectedly
        This probably means the server terminated abnormally
        before or while processing the request.
The connection to the server was lost. Attempting reset: Succeeded.

13. reexecute query works
14. cluster2 recovery start
15. psql queries work
16. shutdown cluster1
17. psql query fails catastrophically
WARNING:  terminating connection because of crash of another server process
DETAIL:  The postmaster has commanded this server process to roll back the current transaction and exit, because another server process exited abnormally and possibly corrupted shared memory.
HINT:  In a moment you should be able to reconnect to the database and repeat your command.
server closed the connection unexpectedly
        This probably means the server terminated abnormally
        before or while processing the request.
The connection to the server was lost. Attempting reset: Failed.

18. reconnect fails with "psql: Sorry, backend connection is full"
19. cluster1 recovery start start fixes the problem, but that doesn't make sense.  It's like cluster2 did not rejoin the cluster in step 14

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >Anyone used sequoia? (From: Lachlan Deck <email@hidden>)
 >Re: Anyone used sequoia? (From: Mike Schrag <email@hidden>)
 >Re: Anyone used sequoia? (From: Lachlan Deck <email@hidden>)

  • Prev by Date: Re: Anyone used sequoia?
  • Next by Date: Re: Anyone used sequoia?
  • Previous by thread: Re: Anyone used sequoia?
  • Next by thread: Re: Anyone used sequoia?
  • Index(es):
    • Date
    • Thread