Re: Sync Rep v17
Daniel Farina <daniel@heroku.com>
From: Daniel Farina <daniel@heroku.com>
To: Greg Smith <greg@2ndquadrant.com>
Cc: Tatsuo Ishii <ishii@postgresql.org>, simon@2ndquadrant.com, heikki.linnakangas@enterprisedb.com, pgsql-hackers@postgresql.org
Date: 2011-02-22T19:45:30Z
Lists: pgsql-hackers
On Tue, Feb 22, 2011 at 5:04 AM, Greg Smith <greg@2ndquadrant.com> wrote: > Daniel Farina wrote: >> >> As it will be somewhat hard to prove the durability guarantees of >> commit without special heroics, unless someone can suggest a >> mechanism. > > Could you introduce a hack creating deterministic server side crashes in > order to test this out? The simplest thing that comes to mind is a rule > like "kick shared memory in the teeth to force a crash after every 100 > commits", then see if #100 shows up as expected. Pick two different small > numbers for the interval and you could probably put that on both sides to > simulate all sorts of badness. I probably could via function, would a kill -9 also be of interest to you? -- fdr