Re: Hot Standby on git
От | Alvaro Herrera |
---|---|
Тема | Re: Hot Standby on git |
Дата | |
Msg-id | 20090927025749.GB5944@alvh.no-ip.org обсуждение исходный текст |
Ответ на | Re: Hot Standby on git (Mark Mielke <mark@mark.mielke.cc>) |
Список | pgsql-hackers |
Mark Mielke escribió: > Most real life code gets a little more complicated. For example, > what if we want to simulate a network failure or "out of disk space" > condition? What if we want to test out what happens when the Y2038 > date is reached? This requires either complex test case setup that > is difficult to run reproducibly, or another approach - "mock". It > means doing things like overriding the write() method, and making it > return successful N times, and then failing on the (N+1)th time with > ENOSPC. I remember a kernel simulator based on User-Mode Linux called UMLsim, with which you could stuff like this. It's dead at this point though, and I don't know if there's any replacement. -- Alvaro Herrera http://www.CommandPrompt.com/ The PostgreSQL Company - Command Prompt, Inc.
В списке pgsql-hackers по дате отправления: