Hi,<div><br></div><div>I&#39;ve recently come across a situation where slony logshipping files were being written incorrectly.  Normally, the files are written in this order:</div><div>- Begin transaction</div><div>- Set archive tracking index</div>
<div>- INSERTs/UPDATEs/DELETEs</div><div>- Set sequences</div><div>- Vacuum</div><div>- Commit</div><div><br></div><div>I noticed that in my particular instance, the files were being written as such:</div><div><div>- Begin transaction</div>
<div>- Set archive tracking index</div><div>- Vacuum</div><div>- Commit</div></div><div><div>- INSERTs/UPDATEs/DELETEs</div><div>- Set sequences</div></div><div><br></div><div>Obviously, this sounds pretty dangerous, and I actually encountered the situation where my logship destination got corrupted, and needed to rebuild that node.</div>
<div><br></div><div>Would anyone have any insight into why this happens?</div><div><br></div><div>Using 2.0.6 on CentOS, with Postgres 8.4.5</div><div><br></div><div>Thanks!</div><div>--Richard</div>