<!DOCTYPE html>
<html>
<head>
</head>
<body>
<dl style="line-height: 1.5; margin-left: 2em">
<dt style="clear: both; float: left; font-weight: bold; width: 8em">Author</dt>
<dd style="margin-left: 8.5em">YUKI Hiroshi <shimo****@clear*****></dd>
<dt style="clear: both; float: left; font-weight: bold; width: 8em">Date</dt>
<dd style="margin-left: 8.5em">2015-04-20 14:04:01 +0900 (Mon, 20 Apr 2015)</dd>
<dt style="clear: both; float: left; font-weight: bold; width: 8em">New Revision</dt>
<dd style="margin-left: 8.5em"><a href="https://github.com/droonga/droonga-engine/commit/eb090bbdb3dff49f6ce979528b253c82c2846e99">eb090bbdb3dff49f6ce979528b253c82c2846e99</a></dd>
<dt style="clear: both; float: left; font-weight: bold; width: 8em">Message</dt>
<dd style="margin-left: 8.5em"><pre style="border: 1px solid #aaa; font-family: Consolas, Menlo, "Liberation Mono", Courier, monospace; line-height: 1.2; padding: 0.5em; width: auto">Stop serf agent at first on the shutdown process.
Otherwise, other nodes can try to send messages to dead engines.</pre></dd>
<dt style="clear: both; float: left; font-weight: bold; width: 8em">Modified files</dt>
<dd style="margin-left: 8.5em">
<ul>
<li><a href="https://github.com/droonga/droonga-engine/commit/eb090bbdb3dff49f6ce979528b253c82c2846e99#diff-0">lib/droonga/command/droonga_engine.rb</a></li>
</ul>
</dd>
</dl>
<div class="diff-section" style="clear: both">
<table style="border-collapse: collapse; border: 1px solid #aaa">
<thead>
<tr class="diff-header" style="border: 1px solid #aaa">
<td colspan="3">
<pre style="border: 0; font-family: Consolas, Menlo, "Liberation Mono", Courier, monospace; line-height: 1.2; margin: 0; padding: 0.5em; white-space: normal; width: auto"><span class="diff-header" style="background-color: #eaf2f5; color: #999999; display: block; white-space: pre"> Modified: lib/droonga/command/droonga_engine.rb (+12 -4)</span>
<span class="diff-header-mark" style="background-color: #eaf2f5; color: #999999; display: block; white-space: pre">===================================================================</span>
</pre>
</td>
</tr>
</thead>
<tbody>
<tr>
<th class="diff-line-number" style="border: 1px solid #aaa">
<pre style="border: 0; font-family: Consolas, Menlo, "Liberation Mono", Courier, monospace; line-height: 1.2; margin: 0; padding: 0.5em; white-space: normal; width: auto"><span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/droonga/droonga-engine/commit/eb090bbdb3dff49f6ce979528b253c82c2846e99#L0L469">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/droonga-engine/commit/eb090bbdb3dff49f6ce979528b253c82c2846e99#L0L470">470</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/droonga-engine/commit/eb090bbdb3dff49f6ce979528b253c82c2846e99#L0L471">471</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/droonga-engine/commit/eb090bbdb3dff49f6ce979528b253c82c2846e99#L0L472">472</a></span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/droonga-engine/commit/eb090bbdb3dff49f6ce979528b253c82c2846e99#L0L473">473</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/droonga-engine/commit/eb090bbdb3dff49f6ce979528b253c82c2846e99#L0L474">474</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/droonga-engine/commit/eb090bbdb3dff49f6ce979528b253c82c2846e99#L0L475">475</a></span>
<span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/droonga/droonga-engine/commit/eb090bbdb3dff49f6ce979528b253c82c2846e99#L0L476">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/droonga-engine/commit/eb090bbdb3dff49f6ce979528b253c82c2846e99#L0L477">477</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/droonga-engine/commit/eb090bbdb3dff49f6ce979528b253c82c2846e99#L0L478">478</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/droonga-engine/commit/eb090bbdb3dff49f6ce979528b253c82c2846e99#L0L479">479</a></span>
<span class="diff-line-number-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/droonga/droonga-engine/commit/eb090bbdb3dff49f6ce979528b253c82c2846e99#L0L480">480</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/droonga-engine/commit/eb090bbdb3dff49f6ce979528b253c82c2846e99#L0L481">481</a></span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/droonga-engine/commit/eb090bbdb3dff49f6ce979528b253c82c2846e99#L0L482">482</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/droonga-engine/commit/eb090bbdb3dff49f6ce979528b253c82c2846e99#L0L483">483</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/droonga-engine/commit/eb090bbdb3dff49f6ce979528b253c82c2846e99#L0L484">484</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/droonga-engine/commit/eb090bbdb3dff49f6ce979528b253c82c2846e99#L0L485">485</a></span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/droonga-engine/commit/eb090bbdb3dff49f6ce979528b253c82c2846e99#L0L486">486</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/droonga-engine/commit/eb090bbdb3dff49f6ce979528b253c82c2846e99#L0L487">487</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/droonga-engine/commit/eb090bbdb3dff49f6ce979528b253c82c2846e99#L0L488">488</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/droonga-engine/commit/eb090bbdb3dff49f6ce979528b253c82c2846e99#L0L489">489</a></span>
<span class="diff-line-number-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/droonga/droonga-engine/commit/eb090bbdb3dff49f6ce979528b253c82c2846e99#L0L490">490</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/droonga-engine/commit/eb090bbdb3dff49f6ce979528b253c82c2846e99#L0L491">491</a></span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/droonga-engine/commit/eb090bbdb3dff49f6ce979528b253c82c2846e99#L0L492">492</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/droonga-engine/commit/eb090bbdb3dff49f6ce979528b253c82c2846e99#L0L493">493</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/droonga-engine/commit/eb090bbdb3dff49f6ce979528b253c82c2846e99#L0L494">494</a></span>
<span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/droonga/droonga-engine/commit/eb090bbdb3dff49f6ce979528b253c82c2846e99#L0L546">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/droonga-engine/commit/eb090bbdb3dff49f6ce979528b253c82c2846e99#L0L547">547</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/droonga-engine/commit/eb090bbdb3dff49f6ce979528b253c82c2846e99#L0L548">548</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/droonga-engine/commit/eb090bbdb3dff49f6ce979528b253c82c2846e99#L0L549">549</a></span>
<span class="diff-line-number-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/droonga/droonga-engine/commit/eb090bbdb3dff49f6ce979528b253c82c2846e99#L0L550">550</a></span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/droonga-engine/commit/eb090bbdb3dff49f6ce979528b253c82c2846e99#L0L551">551</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/droonga-engine/commit/eb090bbdb3dff49f6ce979528b253c82c2846e99#L0L552">552</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/droonga-engine/commit/eb090bbdb3dff49f6ce979528b253c82c2846e99#L0L553">553</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/droonga-engine/commit/eb090bbdb3dff49f6ce979528b253c82c2846e99#L0L554">554</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/droonga-engine/commit/eb090bbdb3dff49f6ce979528b253c82c2846e99#L0L555">555</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/droonga-engine/commit/eb090bbdb3dff49f6ce979528b253c82c2846e99#L0L556">556</a></span>
<span class="diff-line-number-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/droonga/droonga-engine/commit/eb090bbdb3dff49f6ce979528b253c82c2846e99#L0L557">557</a></span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/droonga-engine/commit/eb090bbdb3dff49f6ce979528b253c82c2846e99#L0L558">558</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/droonga-engine/commit/eb090bbdb3dff49f6ce979528b253c82c2846e99#L0L559">559</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/droonga-engine/commit/eb090bbdb3dff49f6ce979528b253c82c2846e99#L0L560">560</a></span>
</pre>
</th>
<th class="diff-line-number" style="border: 1px solid #aaa">
<pre style="border: 0; font-family: Consolas, Menlo, "Liberation Mono", Courier, monospace; line-height: 1.2; margin: 0; padding: 0.5em; white-space: normal; width: auto"><span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/droonga/droonga-engine/commit/eb090bbdb3dff49f6ce979528b253c82c2846e99#L0R469">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/droonga-engine/commit/eb090bbdb3dff49f6ce979528b253c82c2846e99#L0R470">470</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/droonga-engine/commit/eb090bbdb3dff49f6ce979528b253c82c2846e99#L0R471">471</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/droonga-engine/commit/eb090bbdb3dff49f6ce979528b253c82c2846e99#L0R472">472</a></span>
<span class="diff-line-number-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/droonga/droonga-engine/commit/eb090bbdb3dff49f6ce979528b253c82c2846e99#L0R473">473</a></span>
<span class="diff-line-number-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/droonga/droonga-engine/commit/eb090bbdb3dff49f6ce979528b253c82c2846e99#L0R474">474</a></span>
<span class="diff-line-number-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/droonga/droonga-engine/commit/eb090bbdb3dff49f6ce979528b253c82c2846e99#L0R475">475</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/droonga-engine/commit/eb090bbdb3dff49f6ce979528b253c82c2846e99#L0R476">476</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/droonga-engine/commit/eb090bbdb3dff49f6ce979528b253c82c2846e99#L0R477">477</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/droonga-engine/commit/eb090bbdb3dff49f6ce979528b253c82c2846e99#L0R478">478</a></span>
<span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/droonga/droonga-engine/commit/eb090bbdb3dff49f6ce979528b253c82c2846e99#L0R479">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/droonga-engine/commit/eb090bbdb3dff49f6ce979528b253c82c2846e99#L0R480">480</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/droonga-engine/commit/eb090bbdb3dff49f6ce979528b253c82c2846e99#L0R481">481</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/droonga-engine/commit/eb090bbdb3dff49f6ce979528b253c82c2846e99#L0R482">482</a></span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/droonga-engine/commit/eb090bbdb3dff49f6ce979528b253c82c2846e99#L0R483">483</a></span>
<span class="diff-line-number-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/droonga/droonga-engine/commit/eb090bbdb3dff49f6ce979528b253c82c2846e99#L0R484">484</a></span>
<span class="diff-line-number-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/droonga/droonga-engine/commit/eb090bbdb3dff49f6ce979528b253c82c2846e99#L0R485">485</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/droonga-engine/commit/eb090bbdb3dff49f6ce979528b253c82c2846e99#L0R486">486</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/droonga-engine/commit/eb090bbdb3dff49f6ce979528b253c82c2846e99#L0R487">487</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/droonga-engine/commit/eb090bbdb3dff49f6ce979528b253c82c2846e99#L0R488">488</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/droonga-engine/commit/eb090bbdb3dff49f6ce979528b253c82c2846e99#L0R489">489</a></span>
<span class="diff-line-number-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/droonga/droonga-engine/commit/eb090bbdb3dff49f6ce979528b253c82c2846e99#L0R490">490</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/droonga-engine/commit/eb090bbdb3dff49f6ce979528b253c82c2846e99#L0R491">491</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/droonga-engine/commit/eb090bbdb3dff49f6ce979528b253c82c2846e99#L0R492">492</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/droonga-engine/commit/eb090bbdb3dff49f6ce979528b253c82c2846e99#L0R493">493</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/droonga-engine/commit/eb090bbdb3dff49f6ce979528b253c82c2846e99#L0R494">494</a></span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/droonga-engine/commit/eb090bbdb3dff49f6ce979528b253c82c2846e99#L0R495">495</a></span>
<span class="diff-line-number-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/droonga/droonga-engine/commit/eb090bbdb3dff49f6ce979528b253c82c2846e99#L0R496">496</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/droonga-engine/commit/eb090bbdb3dff49f6ce979528b253c82c2846e99#L0R497">497</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/droonga-engine/commit/eb090bbdb3dff49f6ce979528b253c82c2846e99#L0R498">498</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/droonga-engine/commit/eb090bbdb3dff49f6ce979528b253c82c2846e99#L0R499">499</a></span>
<span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/droonga/droonga-engine/commit/eb090bbdb3dff49f6ce979528b253c82c2846e99#L0R551">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/droonga-engine/commit/eb090bbdb3dff49f6ce979528b253c82c2846e99#L0R552">552</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/droonga-engine/commit/eb090bbdb3dff49f6ce979528b253c82c2846e99#L0R553">553</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/droonga-engine/commit/eb090bbdb3dff49f6ce979528b253c82c2846e99#L0R554">554</a></span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/droonga/droonga-engine/commit/eb090bbdb3dff49f6ce979528b253c82c2846e99#L0R555">555</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/droonga-engine/commit/eb090bbdb3dff49f6ce979528b253c82c2846e99#L0R556">556</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/droonga-engine/commit/eb090bbdb3dff49f6ce979528b253c82c2846e99#L0R557">557</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/droonga-engine/commit/eb090bbdb3dff49f6ce979528b253c82c2846e99#L0R558">558</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/droonga-engine/commit/eb090bbdb3dff49f6ce979528b253c82c2846e99#L0R559">559</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/droonga-engine/commit/eb090bbdb3dff49f6ce979528b253c82c2846e99#L0R560">560</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/droonga-engine/commit/eb090bbdb3dff49f6ce979528b253c82c2846e99#L0R561">561</a></span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/droonga/droonga-engine/commit/eb090bbdb3dff49f6ce979528b253c82c2846e99#L0R562">562</a></span>
<span class="diff-line-number-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/droonga/droonga-engine/commit/eb090bbdb3dff49f6ce979528b253c82c2846e99#L0R563">563</a></span>
<span class="diff-line-number-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/droonga/droonga-engine/commit/eb090bbdb3dff49f6ce979528b253c82c2846e99#L0R564">564</a></span>
<span class="diff-line-number-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/droonga/droonga-engine/commit/eb090bbdb3dff49f6ce979528b253c82c2846e99#L0R565">565</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/droonga-engine/commit/eb090bbdb3dff49f6ce979528b253c82c2846e99#L0R566">566</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/droonga-engine/commit/eb090bbdb3dff49f6ce979528b253c82c2846e99#L0R567">567</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/droonga-engine/commit/eb090bbdb3dff49f6ce979528b253c82c2846e99#L0R568">568</a></span>
</pre>
</th>
<td class="diff-content" style="border: 1px solid #aaa">
<pre style="border: 0; font-family: Consolas, Menlo, "Liberation Mono", Courier, monospace; line-height: 1.2; margin: 0; padding: 0.5em; white-space: normal; width: auto"><span class="diff-hunk-header" style="background-color: #eaf2f5; color: #999999; display: block; white-space: pre">@@ -470,6 +470,9 @@ <span class="diff-context" style="background-color: #ffffaa; color: #000000">module Droonga</span></span>
<span class="diff-not-changed" style="display: block; white-space: pre"> </span>
<span class="diff-not-changed" style="display: block; white-space: pre"> def stop_gracefully</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> logger.trace("stop_gracefully: start")</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+ logger.trace("stop_gracefully: stopping serf agent")</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+ stop_serf do</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+ logger.trace("stop_gracefully: stopping command runner")</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> @command_runner.stop</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> logger.trace("stop_gracefully: stopping cluster_state_observer")</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> @cluster_state_observer.stop</span>
<span class="diff-hunk-header" style="background-color: #eaf2f5; color: #999999; display: block; white-space: pre">@@ -477,18 +480,20 @@ <span class="diff-context" style="background-color: #ffffaa; color: #000000">module Droonga</span></span>
<span class="diff-not-changed" style="display: block; white-space: pre"> @catalog_observer.stop</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> logger.trace("stop_gracefully: stopping restart_observer")</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> @restart_observer.stop</span>
<span class="diff-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre">- stop_serf</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> @service_runner.stop_gracefully</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+ logger.trace("stop_gracefully: completely done")</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+ end</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> logger.trace("stop_gracefully: done")</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> end</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> </span>
<span class="diff-not-changed" style="display: block; white-space: pre"> def stop_immediately</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+ stop_serf do</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> @command_runner.stop</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> @cluster_state_observer.stop</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> @catalog_observer.stop</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> @restart_observer.stop</span>
<span class="diff-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre">- stop_serf</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> @service_runner.stop_immediately</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+ end</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> end</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> </span>
<span class="diff-not-changed" style="display: block; white-space: pre"> def restart_graceful</span>
<span class="diff-hunk-header" style="background-color: #eaf2f5; color: #999999; display: block; white-space: pre">@@ -547,14 +552,17 @@ <span class="diff-context" style="background-color: #ffffaa; color: #000000">module Droonga</span></span>
<span class="diff-not-changed" style="display: block; white-space: pre"> @serf_agent = @serf.run_agent(@loop)</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> end</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> </span>
<span class="diff-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre">- def stop_serf</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+ def stop_serf(&block)</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> logger.trace("stop_serf: start")</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> begin</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> @serf.leave</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> rescue Droonga::Serf::Command::Failure</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> logger.error("Failed to leave from Serf cluster: #{$!.message}")</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> end</span>
<span class="diff-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre">- @serf_agent.stop</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+ @serf_agent.stop do</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+ logger.trace("stop_serf: serf agent stopped")</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+ yield</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+ end</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> logger.trace("stop_serf: done")</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> end</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> </span>
</pre>
</td>
</tr>
</tbody>
</table>
</div>
</body>
</html>