<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="Generator" content="Microsoft Word 12 (filtered medium)">
<style>
<!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
        {font-family:Consolas;
        panose-1:2 11 6 9 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
-->
</style>
</head>
<body lang="EN-US" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal" style="text-autospace:none">Hi,</p>
<p class="MsoNormal" style="text-autospace:none"> </p>
<p class="MsoNormal" style="text-autospace:none">I am evaluating the vortex alive
feature, which was broken until the latest release. </p>
<p class="MsoNormal" style="text-autospace:none">Thanks for the fix!!!!</p>
<p class="MsoNormal" style="text-autospace:none"> </p>
<p class="MsoNormal" style="text-autospace:none">I think I found another, but
minor bug:</p>
<p class="MsoNormal" style="text-autospace:none">In <span style="font-size:9.5pt;
font-family:Consolas">vortex_alive_enable_check(…)</span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:9.5pt;
font-family:Consolas">axl_bool
vortex_alive_enable_check
<span style="color:fuchsia">(</span>VortexConnection <span style="color:fuchsia">*</span>
conn<span style="color:fuchsia">,</span></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:9.5pt;
font-family:Consolas">
<b><span style="color:red">long</span></b>
check_period<span style="color:fuchsia">,</span></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:9.5pt;
font-family:Consolas">
<b><span style="color:red">int</span></b>
max_unreply_count<span style="color:fuchsia">,</span></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:9.5pt;
font-family:Consolas">
VortexAliveFailure failure_handler<span style="color:fuchsia">)</span></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:9.5pt;
font-family:Consolas;color:fuchsia">{</span><span style="font-size:9.5pt;
font-family:Consolas"></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:9.5pt;
font-family:Consolas"> VortexAliveData <span style="color:fuchsia">*</span> data<span style="color:fuchsia">;</span></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:9.5pt;
font-family:Consolas"> VortexCtx
<span style="color:fuchsia">*</span> ctx <span style="color:fuchsia">=</span>
CONN_CTX <span style="color:fuchsia">(</span>conn<span style="color:fuchsia">);</span></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:9.5pt;
font-family:Consolas"> </span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:9.5pt;
font-family:Consolas"> <b><span style="color:red">if</span></b> <span style="color:fuchsia">(</span>check_period
<span style="color:fuchsia"><=</span> <span style="color:navy">0</span> <span style="color:fuchsia">||</span> max_unreply_count <span style="color:fuchsia"><</span>
<span style="color:navy">0</span><span style="color:fuchsia">)</span> <span style="color:fuchsia">{</span></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:9.5pt;
font-family:Consolas"> vortex_log
<span style="color:fuchsia">(</span>VORTEX_LEVEL_CRITICAL<span style="color:fuchsia">,</span> <span style="color:blue">"Expecified an
unsupported check period or max unreply count. Both must be > 0."</span><span style="color:fuchsia">);</span></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:9.5pt;
font-family:Consolas"> <b><span style="color:red">return</span></b> axl_false<span style="color:fuchsia">;</span></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:9.5pt;
font-family:Consolas"> <span style="color:fuchsia">}</span></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:9.5pt;
font-family:Consolas"> </span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:9.5pt;
font-family:Consolas"> <span style="color:green">/* check if the connection is already checked */</span></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:9.5pt;
font-family:Consolas"> <b><span style="color:red">if</span></b> <span style="color:fuchsia">(</span>PTR_TO_INT <span style="color:fuchsia">(</span>vortex_connection_get_data <span style="color:fuchsia">(</span>conn<span style="color:fuchsia">,</span>
VORTEX_ALIVE_CHECK_ENABLED<span style="color:fuchsia">)))</span> <span style="color:fuchsia">{</span></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:9.5pt;
font-family:Consolas"> vortex_log
<span style="color:fuchsia">(</span>VORTEX_LEVEL_WARNING<span style="color:
fuchsia">,</span> <span style="color:blue">"Calling to enable connection
alive check where it is already enabled"</span><span style="color:fuchsia">);</span></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:9.5pt;
font-family:Consolas"> <b><span style="color:red">return</span></b> axl_false<span style="color:fuchsia">;</span></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:9.5pt;
font-family:Consolas"> <span style="color:fuchsia">}</span> <span style="color:green">/* end if */</span></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:9.5pt;
font-family:Consolas"> </span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:9.5pt;
font-family:Consolas"> <span style="color:green">/* check to get a reference to the connection */</span></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:9.5pt;
font-family:Consolas"> data
<span style="color:fuchsia">=</span> axl_new <span style="color:fuchsia">(</span>VortexAliveData<span style="color:fuchsia">,</span> <span style="color:navy">1</span><span style="color:fuchsia">);</span></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:9.5pt;
font-family:Consolas"> <b><span style="color:red">if</span></b> <span style="color:fuchsia">(</span>data <span style="color:fuchsia">==</span> NULL<span style="color:fuchsia">)</span> <span style="color:fuchsia">{</span></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:9.5pt;
font-family:Consolas"> vortex_log
<span style="color:fuchsia">(</span>VORTEX_LEVEL_CRITICAL<span style="color:fuchsia">,</span> <span style="color:blue">"failed to acquire
memory to hold VortexAliveData, unable to continue"</span><span style="color:fuchsia">);</span></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:9.5pt;
font-family:Consolas"> <b><span style="color:red">return</span></b> axl_false<span style="color:fuchsia">;</span></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:9.5pt;
font-family:Consolas"> <span style="color:fuchsia">}</span></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:9.5pt;
font-family:Consolas"> data<span style="color:fuchsia">-></span>conn
<span style="color:fuchsia">=</span> conn<span style="color:fuchsia">;</span></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:9.5pt;
font-family:Consolas"> data<span style="color:fuchsia">-></span>failure_handler <span style="color:fuchsia">=</span> failure_handler<span style="color:fuchsia">;</span></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:9.5pt;
font-family:Consolas"> data<span style="color:fuchsia">-></span>max_unreply_count <span style="color:fuchsia">=</span>
max_unreply_count<span style="color:fuchsia">;</span></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:9.5pt;
font-family:Consolas"> data<span style="color:fuchsia">-></span>check_period <span style="color:fuchsia">=</span> check_period<span style="color:fuchsia">;</span></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:9.5pt;
font-family:Consolas"> </span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:9.5pt;
font-family:Consolas"> <b><span style="color:red">if</span></b> <span style="color:fuchsia">(!</span>
vortex_connection_ref <span style="color:fuchsia">(</span>conn<span style="color:fuchsia">,</span> <span style="color:blue">"alive-check"</span><span style="color:fuchsia">))</span> <span style="color:fuchsia">{</span></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:9.5pt;
font-family:Consolas"> vortex_log
<span style="color:fuchsia">(</span>VORTEX_LEVEL_CRITICAL<span style="color:fuchsia">,</span> <span style="color:blue">"Failed to enable
alive check, connection reference acquisition have failed"</span><span style="color:fuchsia">);</span></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:9.5pt;
font-family:Consolas">BUG:>>>> Memory leak: data pointer should be
freed here.</span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:9.5pt;
font-family:Consolas"> <b><span style="color:red">return</span></b> axl_false<span style="color:fuchsia">;</span></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:9.5pt;
font-family:Consolas"> <span style="color:fuchsia">}</span></span></p>
<p class="MsoNormal"> </p>
<p class="MsoNormal"> </p>
<p class="MsoNormal"> </p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">Gernot
Seidler<br>
Software Architect</span></p>
<p class="MsoNormal"><b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">Egenera
Inc. | Converge. Unify. Simplify.™ </span></b><span style="font-size:
10.0pt;font-family:"Tahoma","sans-serif""></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">508-858-3185
(office)<br>
508-481-3114 (fax)</span></p>
<p class="MsoNormal"><u><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif";
color:blue">http:</span></u><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif";
color:blue"><a href="http://www.egenera.com/" title="http://www.egenera.com/"><span style="color:blue">//www.egenera.com</span><span style="color:black"><br>
</span></a><a href="http://blog.egenera.com/"><span style="color:blue">http://blog.egenera.com</span></a></span></p>
<p class="MsoNormal"> </p>
</div>
</body>
</html>