<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://www.w3.org/Bugs/Public/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4"
          urlbase="https://www.w3.org/Bugs/Public/"
          
          maintainer="sysbot+bugzilla@w3.org"
>

    <bug>
          <bug_id>1101</bug_id>
          
          <creation_ts>2005-02-07 19:11:32 +0000</creation_ts>
          <short_desc>The operational behaviour involving &quot;complete condition&quot; is not clear</short_desc>
          <delta_ts>2005-08-02 13:57:52 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WS Choreography</product>
          <component>Last Call Comment: Confirmed Closed</component>
          <version>unspecified</version>
          <rep_platform>PC</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>CLOSED</bug_status>
          <resolution>WONTFIX</resolution>
          
          
          <bug_file_loc>http://lists.w3.org/Archives/Public/public-ws-chor-comments/2005Feb/att-0000/comment.txt</bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>--</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Greg Ritzinger">gritzinger</reporter>
          <assigned_to name="Martin Chapman">martin.chapman</assigned_to>
          
          
          <qa_contact name="Martin Chapman">martin.chapman</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>4261</commentid>
    <comment_count>0</comment_count>
    <who name="Greg Ritzinger">gritzinger</who>
    <bug_when>2005-02-07 19:11:32 +0000</bug_when>
    <thetext>*2.4.7. Choreography Life-line, the eighth para.

The operational behaviour involving &quot;complete condition&quot; is not clear.
Is the condition evaluated lock-step, at each action? It at least 
needs transaction semantics for all related variables.

Suppose a variable V should have the value [not W]. Suppose W should have
the value [not V]. We never know it is true or not, especially if they
are situated in different roles.

As a possible way to record this point, one may augment the 3rd sentence
as:

  &quot;A complete condition MUST be possible to be matched in all Roles that
   participate in the Choreography, for which we assume a consistent 
   global view is maintained.&quot;

This is a very useful feature, I can see, but I feel like recording a bit 
of subtlety inside the spec.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>4055</commentid>
    <comment_count>1</comment_count>
    <who name="Martin Chapman">martin.chapman</who>
    <bug_when>2005-02-15 20:49:04 +0000</bug_when>
    <thetext>agreed on con call 15-feb-05:

requires clarification from issue raiser (Kohei Honda).
Action on Gary to followup</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>3931</commentid>
    <comment_count>2</comment_count>
    <who name="Greg Ritzinger">gritzinger</who>
    <bug_when>2005-03-22 19:07:14 +0000</bug_when>
    <thetext>Clarification from Kohei Honda:

http://lists.w3.org/Archives/Public/public-ws-chor/2005Mar/0042.html

I wrote:

 &gt; The operational behaviour involving &quot;complete condition&quot; is not clear.
 &gt; Is the condition evaluated lock-step, at each action? It at least
 &gt; needs transaction semantics for all related variables.

This is based on a literal reading of the draft (which is what the
public would do). In the choreography element, we specify &quot;complete&quot;
condition. This is not shared by multiple roles but are local to
each of them. Hence I wonder how we know all these different
complete conditions are matched.

I believe the only possible way is

(1) For each role to evaluate it each time as computation
proceeds;
(2) If it evaluates to true it would pause a bit, asks a coordinator
(of some sort, should be provided by infrastructure) about the global
situation;
(3) If everybody agrees it is the time to complete well let&apos;s complete.

We need two-phrase commit or some sort to make this precise, but
this is technical (and anyway as far as it conforms to 1.6, timing
assumptions, it should be OK).

There are two further notes:

* If this is what is expected, we should put some such bits (that we
assume &quot;all should agree that it is the time to complete&quot; so that
the expected behaviour is clear. My proposal, slightly changing
what I wrote, is:

    &quot;A complete condition MUST be possible to be matched in all Roles that
    participate in the Choreography, for which we assume an appropriate
    idea of synchronisation.&quot;

I am not satisfied with this, but some such line would be necessary.

* Adding operational bits is not going to execution logic, we need
to specify behaviours consistently and clearly. So it does not
violate e.g. 1.5.

I will write soon about the next issu, Issue 1107. I hope these
will be ready for today&apos;s conf call.

kohei

</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>3932</commentid>
    <comment_count>3</comment_count>
    <who name="Greg Ritzinger">gritzinger</who>
    <bug_when>2005-03-22 19:09:26 +0000</bug_when>
    <thetext>Further clarification from Kohei Honda:
http://lists.w3.org/Archives/Public/public-ws-chor/2005Mar/0045.html

A tiny refinement of my phrasing. What I wrote:

&gt; 
&gt;    &quot;A complete condition MUST be possible to be matched in all Roles that
&gt;    participate in the Choreography, for which we assume an appropriate
&gt;    idea of synchronisation.&quot;
&gt; 

may better be:

      &quot;A complete condition MUST be possible to be matched in all Roles that
      participate in the Choreography, for which we assume that consistent,
      unanimous agreement among the Roles can be reached on the current
      state of the complete condition by the help of, for example, an
      appropriate synchronisation protocol.&quot;

Note by saying &quot;unanimous agreement&quot; we assume each process is working all
right, even if there are exceptional circumstances: if some process ceases
to work or goes crazy, then we cannot use this mechanism, we need e.g.
voting, but this detail may not be suitable for CDL description. I note
this for drawing attention to possible scenarios the idea described above
can cope with.

kohei

</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>4317</commentid>
    <comment_count>4</comment_count>
    <who name="Martin Chapman">martin.chapman</who>
    <bug_when>2005-06-20 20:57:41 +0000</bug_when>
    <thetext>at June 2005 F2Fwe agreed to close wontfix:

http://lists.w3.org/Archives/Member/member-ws-chor/2005Jun/att-
0003/June_2005_F2F_minutes_-_0.txt</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>4626</commentid>
    <comment_count>5</comment_count>
    <who name="Martin Chapman">martin.chapman</who>
    <bug_when>2005-07-14 16:20:20 +0000</bug_when>
    <thetext>group notification of status change: http://lists.w3.org/Archives/Member/member-
ws-chor/2005Jul/0004.html</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>5318</commentid>
    <comment_count>6</comment_count>
    <who name="Martin Chapman">martin.chapman</who>
    <bug_when>2005-08-02 13:57:52 +0000</bug_when>
    <thetext>no comments from group so closed confirmed:

http://lists.w3.org/Archives/Member/member-ws-chor/2005Jul/0004.html</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>