<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "http://www.slony.info/bugzilla/bugzilla.dtd">

<bugzilla version="3.4.4"
          urlbase="http://www.slony.info/bugzilla/"
          
          maintainer="devrim@gunduz.org"
>

    <bug>
          <bug_id>173</bug_id>
          
          <creation_ts>2010-12-03 13:33:00 -0800</creation_ts>
          <short_desc>Slonik ABORT command</short_desc>
          <delta_ts>2011-08-08 12:40:40 -0700</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>Slony-I</product>
          <component>slonik</component>
          <version>devel</version>
          <rep_platform>All</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>ASSIGNED</bug_status>
          
          
          
          
          
          
          <priority>low</priority>
          <bug_severity>enhancement</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Christopher Browne">cbbrowne</reporter>
          <assigned_to name="Christopher Browne">cbbrowne</assigned_to>
          <cc>slony1-bugs</cc>

      

      

      

          <long_desc isprivate="0">
            <who name="Christopher Browne">cbbrowne</who>
            <bug_when>2010-12-03 13:33:17 -0800</bug_when>
            <thetext>http://wiki.postgresql.org/wiki/SlonyBrainstorming#ABORT

Initially mentioned by Vivek Khera

General point: Fail if replication is behind

Reasonable criteria:
 - event count - &quot;within 3 events is OK&quot;
 - time interval &quot;behind by no more than 15 seconds is OK&quot;

Other Health Criteria
- Is node there?
- Is replication set there?
- Is subscription active?
- Run SQL, fail if ERROR</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who name="Christopher Browne">cbbrowne</who>
            <bug_when>2011-01-13 13:38:40 -0800</bug_when>
            <thetext>Discussion on list began...http://lists.slony.info/pipermail/slony1-general/2011-January/011459.html

http://lists.slony.info/pipermail/slony1-general/2011-January/011459.html</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who name="Christopher Browne">cbbrowne</who>
            <bug_when>2011-01-27 09:21:03 -0800</bug_when>
            <thetext>Additional suggestion:

Are there any non-SYNC events outstanding?

Scripts that modify the cluster configuration may not care about how
far a node is behind in data, but definitely need to assume that the
current configuration is stable and not altered underneath by older
events, that haven&apos;t propagated through the cluster.  - Jan</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who name="Christopher Browne">cbbrowne</who>
            <bug_when>2011-08-03 12:07:43 -0700</bug_when>
            <thetext>Perhaps this should be extended to a fuller &quot;conditional&quot; to mostly replace the present TRY block concept.  Have to think about that some more...</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who name="Christopher Browne">cbbrowne</who>
            <bug_when>2011-08-08 12:40:40 -0700</bug_when>
            <thetext>As observed in bug #228, there would be some use in having conditionals used to pick between blocks of Slonik code.  We&apos;re not necessarily going to want to abort.</thetext>
          </long_desc>
      
      

    </bug>

</bugzilla>