Richard Yen richyen at iparadigms.com
Wed Apr 11 06:24:37 PDT 2012
Hi,

I've recently come across a situation where slony logshipping files were
being written incorrectly.  Normally, the files are written in this order:
- Begin transaction
- Set archive tracking index
- INSERTs/UPDATEs/DELETEs
- Set sequences
- Vacuum
- Commit

I noticed that in my particular instance, the files were being written as
such:
- Begin transaction
- Set archive tracking index
- Vacuum
- Commit
- INSERTs/UPDATEs/DELETEs
- Set sequences

Obviously, this sounds pretty dangerous, and I actually encountered the
situation where my logship destination got corrupted, and needed to rebuild
that node.

Would anyone have any insight into why this happens?

Using 2.0.6 on CentOS, with Postgres 8.4.5

Thanks!
--Richard
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.slony.info/pipermail/slony1-general/attachments/20120411/4fdbd10a/attachment.htm 


More information about the Slony1-general mailing list