CVS User Account cvsuser
Mon May 9 16:12:25 PDT 2005
Log Message:
-----------
More on the "saga of the duplicate key violation."
Recommendation: Try reindexing sl_log_1.

Modified Files:
--------------
    slony1-engine/doc/adminguide:
        faq.sgml (r1.34 -> r1.35)

-------------- next part --------------
Index: faq.sgml
===================================================================
RCS file: /usr/local/cvsroot/slony1/slony1-engine/doc/adminguide/faq.sgml,v
retrieving revision 1.34
retrieving revision 1.35
diff -Ldoc/adminguide/faq.sgml -Ldoc/adminguide/faq.sgml -u -w -r1.34 -r1.35
--- doc/adminguide/faq.sgml
+++ doc/adminguide/faq.sgml
@@ -697,13 +697,13 @@
 <para>In &slony1; 1.0.5, the handling of purges of <xref
 linkend="table.sl-log-1"> became more conservative, refusing to purge
 entries that haven't been successfully synced for at least 10 minutes
-on all nodes.  It was not certain that that will prevent the
-<quote>glitch</quote> from taking place, but it seemed likely that it
-might leave enough <xref linkend="table.sl-log-1"> data to be able to
-do something about recovering from the condition or at least
-diagnosing it more exactly.  And perhaps the problem is that <xref
+on all nodes.  It was not certain that that would prevent the
+<quote>glitch</quote> from taking place, but it seemed plausible that
+it might leave enough <xref linkend="table.sl-log-1"> data to be able
+to do something about recovering from the condition or at least
+diagnosing it more exactly.  And perhaps the problem was that <xref
 linkend="table.sl-log-1"> was being purged too aggressively, and this
-will resolve the issue completely.</para>
+would resolve the issue completely.</para>
 </answer>
 
 <answer><para> Unfortunately, this problem has been observed in 1.0.5,
@@ -720,16 +720,20 @@
 log file that contained <emphasis> identical </emphasis> insertions
 into <xref linkend="table.sl-log-1">.  This <emphasis> ought
 </emphasis> to be impossible as is a primary key on <xref
-linkend="table.sl-log-1">.  The latest punctured theory that comes
-from <emphasis>that</emphasis> was that perhaps this PK index has been
-corrupted (representing a <productname>PostgreSQL</productname> bug),
-and that perhaps the problem might be alleviated by running the
-query:</para>
+linkend="table.sl-log-1">.  The latest (somewhat) punctured theory
+that comes from <emphasis>that</emphasis> was that perhaps this PK
+index has been corrupted (representing a &postgres; bug), and that
+perhaps the problem might be alleviated by running the query:</para>
 
 <programlisting>
 # reindex table _slonyschema.sl_log_1;
 </programlisting>
 
+<para> On at least one occasion, this has resolved the problem, so it
+is worth trying this.</para>
+
+<para> It appears increasingly likely that this problem represents a
+&postgres; bug as opposed to one in &slony1;.</para>
 </answer>
 </qandaentry>
 


More information about the Slony1-commit mailing list