<!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-21 17:31:15 +0900 (Tue, 21 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/express-droonga/commit/943c8e2bae8b31ea7a75f0246bd67f8402a7e2d4">943c8e2bae8b31ea7a75f0246bd67f8402a7e2d4</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">Extract definition of serf tag names to a separate file</pre></dd>
<dt style="clear: both; float: left; font-weight: bold; width: 8em">Added files</dt>
<dd style="margin-left: 8.5em">
<ul>
<li><a href="https://github.com/droonga/express-droonga/commit/943c8e2bae8b31ea7a75f0246bd67f8402a7e2d4#diff-2">lib/serf/tag.js</a></li>
</ul>
</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/express-droonga/commit/943c8e2bae8b31ea7a75f0246bd67f8402a7e2d4#diff-0">lib/serf/agent.js</a></li>
<li><a href="https://github.com/droonga/express-droonga/commit/943c8e2bae8b31ea7a75f0246bd67f8402a7e2d4#diff-1">lib/serf/client.js</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/serf/agent.js (+3 -2)</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/express-droonga/commit/943c8e2bae8b31ea7a75f0246bd67f8402a7e2d4#L0L23">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/943c8e2bae8b31ea7a75f0246bd67f8402a7e2d4#L0L24">24</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/943c8e2bae8b31ea7a75f0246bd67f8402a7e2d4#L0L25">25</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/943c8e2bae8b31ea7a75f0246bd67f8402a7e2d4#L0L26">26</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/express-droonga/commit/943c8e2bae8b31ea7a75f0246bd67f8402a7e2d4#L0L27">27</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/express-droonga/commit/943c8e2bae8b31ea7a75f0246bd67f8402a7e2d4#L0L28">28</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/943c8e2bae8b31ea7a75f0246bd67f8402a7e2d4#L0L29">29</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/943c8e2bae8b31ea7a75f0246bd67f8402a7e2d4#L0L30">30</a></span>
<span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/943c8e2bae8b31ea7a75f0246bd67f8402a7e2d4#L0L93">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/943c8e2bae8b31ea7a75f0246bd67f8402a7e2d4#L0L94">94</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/943c8e2bae8b31ea7a75f0246bd67f8402a7e2d4#L0L95">95</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/943c8e2bae8b31ea7a75f0246bd67f8402a7e2d4#L0L96">96</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/express-droonga/commit/943c8e2bae8b31ea7a75f0246bd67f8402a7e2d4#L0L97">97</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/express-droonga/commit/943c8e2bae8b31ea7a75f0246bd67f8402a7e2d4#L0L98">98</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/943c8e2bae8b31ea7a75f0246bd67f8402a7e2d4#L0L99">99</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/943c8e2bae8b31ea7a75f0246bd67f8402a7e2d4#L0L100">100</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/express-droonga/commit/943c8e2bae8b31ea7a75f0246bd67f8402a7e2d4#L0R23">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/943c8e2bae8b31ea7a75f0246bd67f8402a7e2d4#L0R24">24</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/943c8e2bae8b31ea7a75f0246bd67f8402a7e2d4#L0R25">25</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/943c8e2bae8b31ea7a75f0246bd67f8402a7e2d4#L0R26">26</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/express-droonga/commit/943c8e2bae8b31ea7a75f0246bd67f8402a7e2d4#L0R27">27</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/express-droonga/commit/943c8e2bae8b31ea7a75f0246bd67f8402a7e2d4#L0R28">28</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/943c8e2bae8b31ea7a75f0246bd67f8402a7e2d4#L0R29">29</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/943c8e2bae8b31ea7a75f0246bd67f8402a7e2d4#L0R30">30</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/943c8e2bae8b31ea7a75f0246bd67f8402a7e2d4#L0R31">31</a></span>
<span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/943c8e2bae8b31ea7a75f0246bd67f8402a7e2d4#L0R94">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/943c8e2bae8b31ea7a75f0246bd67f8402a7e2d4#L0R95">95</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/943c8e2bae8b31ea7a75f0246bd67f8402a7e2d4#L0R96">96</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/943c8e2bae8b31ea7a75f0246bd67f8402a7e2d4#L0R97">97</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/express-droonga/commit/943c8e2bae8b31ea7a75f0246bd67f8402a7e2d4#L0R98">98</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/943c8e2bae8b31ea7a75f0246bd67f8402a7e2d4#L0R99">99</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/943c8e2bae8b31ea7a75f0246bd67f8402a7e2d4#L0R100">100</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/943c8e2bae8b31ea7a75f0246bd67f8402a7e2d4#L0R101">101</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">@@ -24,7 +24,8 @@ <span class="diff-context" style="background-color: #ffffaa; color: #000000">var EventEmitter = require('events').EventEmitter,</span></span>
<span class="diff-not-changed" style="display: block; white-space: pre"> util = require('util');</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> </span>
<span class="diff-not-changed" style="display: block; white-space: pre"> var ConsoleLogger = require('../console-logger').ConsoleLogger,</span>
<span class="diff-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre">- Downloader = require('./downloader');</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+ Downloader = require('./downloader'),</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+ Tag = require('./tag');</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> </span>
<span class="diff-not-changed" style="display: block; white-space: pre"> var NODE_NAME_PATTERN = /^([^:]+):(\d+)\/(.+)$/;</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> var EVENT_LOG_PATTERN = /\[INFO\] serf: ([^:]+): ([^\s]+)(?: ([^\s]+))?/;</span>
<span class="diff-hunk-header" style="background-color: #eaf2f5; color: #999999; display: block; white-space: pre">@@ -94,7 +95,7 @@ <span class="diff-context" style="background-color: #ffffaa; color: #000000">Agent.prototype.tryStart = function() {</span></span>
<span class="diff-not-changed" style="display: block; white-space: pre"> '-bind', this._hostName + ':' + BIND_PORT,</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> '-rpc-addr', this._hostName + ':' + RPC_PORT,</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> '-log-level', 'INFO',</span>
<span class="diff-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre">- '-tag', 'type=protocol-adapter'</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+ '-tag', Tag.nodeType + '=protocol-adapter'</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> ];</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> this._otherMembers.forEach(function(address) {</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> if (address.indexOf(':') < 0)</span>
</pre>
</td>
</tr>
</tbody>
</table>
<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/serf/client.js (+8 -6)</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/express-droonga/commit/943c8e2bae8b31ea7a75f0246bd67f8402a7e2d4#L1L25">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/943c8e2bae8b31ea7a75f0246bd67f8402a7e2d4#L1L26">26</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/943c8e2bae8b31ea7a75f0246bd67f8402a7e2d4#L1L27">27</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/943c8e2bae8b31ea7a75f0246bd67f8402a7e2d4#L1L28">28</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/express-droonga/commit/943c8e2bae8b31ea7a75f0246bd67f8402a7e2d4#L1L29">29</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/943c8e2bae8b31ea7a75f0246bd67f8402a7e2d4#L1L30">30</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/943c8e2bae8b31ea7a75f0246bd67f8402a7e2d4#L1L31">31</a></span>
<span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/943c8e2bae8b31ea7a75f0246bd67f8402a7e2d4#L1L77">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/943c8e2bae8b31ea7a75f0246bd67f8402a7e2d4#L1L78">78</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/943c8e2bae8b31ea7a75f0246bd67f8402a7e2d4#L1L79">79</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/943c8e2bae8b31ea7a75f0246bd67f8402a7e2d4#L1L80">80</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/express-droonga/commit/943c8e2bae8b31ea7a75f0246bd67f8402a7e2d4#L1L81">81</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/express-droonga/commit/943c8e2bae8b31ea7a75f0246bd67f8402a7e2d4#L1L82">82</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/express-droonga/commit/943c8e2bae8b31ea7a75f0246bd67f8402a7e2d4#L1L83">83</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/943c8e2bae8b31ea7a75f0246bd67f8402a7e2d4#L1L84">84</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/943c8e2bae8b31ea7a75f0246bd67f8402a7e2d4#L1L85">85</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/943c8e2bae8b31ea7a75f0246bd67f8402a7e2d4#L1L86">86</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/express-droonga/commit/943c8e2bae8b31ea7a75f0246bd67f8402a7e2d4#L1L87">87</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/express-droonga/commit/943c8e2bae8b31ea7a75f0246bd67f8402a7e2d4#L1L88">88</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/943c8e2bae8b31ea7a75f0246bd67f8402a7e2d4#L1L89">89</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/943c8e2bae8b31ea7a75f0246bd67f8402a7e2d4#L1L90">90</a></span>
<span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/943c8e2bae8b31ea7a75f0246bd67f8402a7e2d4#L1L93">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/943c8e2bae8b31ea7a75f0246bd67f8402a7e2d4#L1L94">94</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/943c8e2bae8b31ea7a75f0246bd67f8402a7e2d4#L1L95">95</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/943c8e2bae8b31ea7a75f0246bd67f8402a7e2d4#L1L96">96</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/express-droonga/commit/943c8e2bae8b31ea7a75f0246bd67f8402a7e2d4#L1L97">97</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/express-droonga/commit/943c8e2bae8b31ea7a75f0246bd67f8402a7e2d4#L1L98">98</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/943c8e2bae8b31ea7a75f0246bd67f8402a7e2d4#L1L99">99</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/943c8e2bae8b31ea7a75f0246bd67f8402a7e2d4#L1L100">100</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/express-droonga/commit/943c8e2bae8b31ea7a75f0246bd67f8402a7e2d4#L1L101">101</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/express-droonga/commit/943c8e2bae8b31ea7a75f0246bd67f8402a7e2d4#L1L102">102</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/943c8e2bae8b31ea7a75f0246bd67f8402a7e2d4#L1L103">103</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/943c8e2bae8b31ea7a75f0246bd67f8402a7e2d4#L1L104">104</a></span>
<span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/943c8e2bae8b31ea7a75f0246bd67f8402a7e2d4#L1L107">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/943c8e2bae8b31ea7a75f0246bd67f8402a7e2d4#L1L108">108</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/943c8e2bae8b31ea7a75f0246bd67f8402a7e2d4#L1L109">109</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/943c8e2bae8b31ea7a75f0246bd67f8402a7e2d4#L1L110">110</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/express-droonga/commit/943c8e2bae8b31ea7a75f0246bd67f8402a7e2d4#L1L111">111</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/express-droonga/commit/943c8e2bae8b31ea7a75f0246bd67f8402a7e2d4#L1L112">112</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/943c8e2bae8b31ea7a75f0246bd67f8402a7e2d4#L1L113">113</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/943c8e2bae8b31ea7a75f0246bd67f8402a7e2d4#L1L114">114</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/express-droonga/commit/943c8e2bae8b31ea7a75f0246bd67f8402a7e2d4#L1R25">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/943c8e2bae8b31ea7a75f0246bd67f8402a7e2d4#L1R26">26</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/943c8e2bae8b31ea7a75f0246bd67f8402a7e2d4#L1R27">27</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/943c8e2bae8b31ea7a75f0246bd67f8402a7e2d4#L1R28">28</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/express-droonga/commit/943c8e2bae8b31ea7a75f0246bd67f8402a7e2d4#L1R29">29</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/express-droonga/commit/943c8e2bae8b31ea7a75f0246bd67f8402a7e2d4#L1R30">30</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/943c8e2bae8b31ea7a75f0246bd67f8402a7e2d4#L1R31">31</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/943c8e2bae8b31ea7a75f0246bd67f8402a7e2d4#L1R32">32</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/943c8e2bae8b31ea7a75f0246bd67f8402a7e2d4#L1R33">33</a></span>
<span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/943c8e2bae8b31ea7a75f0246bd67f8402a7e2d4#L1R79">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/943c8e2bae8b31ea7a75f0246bd67f8402a7e2d4#L1R80">80</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/943c8e2bae8b31ea7a75f0246bd67f8402a7e2d4#L1R81">81</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/943c8e2bae8b31ea7a75f0246bd67f8402a7e2d4#L1R82">82</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-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/943c8e2bae8b31ea7a75f0246bd67f8402a7e2d4#L1R83">83</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/express-droonga/commit/943c8e2bae8b31ea7a75f0246bd67f8402a7e2d4#L1R84">84</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/943c8e2bae8b31ea7a75f0246bd67f8402a7e2d4#L1R85">85</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/943c8e2bae8b31ea7a75f0246bd67f8402a7e2d4#L1R86">86</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/943c8e2bae8b31ea7a75f0246bd67f8402a7e2d4#L1R87">87</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/943c8e2bae8b31ea7a75f0246bd67f8402a7e2d4#L1R88">88</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/express-droonga/commit/943c8e2bae8b31ea7a75f0246bd67f8402a7e2d4#L1R89">89</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/943c8e2bae8b31ea7a75f0246bd67f8402a7e2d4#L1R90">90</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/943c8e2bae8b31ea7a75f0246bd67f8402a7e2d4#L1R91">91</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/943c8e2bae8b31ea7a75f0246bd67f8402a7e2d4#L1R92">92</a></span>
<span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/943c8e2bae8b31ea7a75f0246bd67f8402a7e2d4#L1R95">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/943c8e2bae8b31ea7a75f0246bd67f8402a7e2d4#L1R96">96</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/943c8e2bae8b31ea7a75f0246bd67f8402a7e2d4#L1R97">97</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/943c8e2bae8b31ea7a75f0246bd67f8402a7e2d4#L1R98">98</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/express-droonga/commit/943c8e2bae8b31ea7a75f0246bd67f8402a7e2d4#L1R99">99</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/943c8e2bae8b31ea7a75f0246bd67f8402a7e2d4#L1R100">100</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/943c8e2bae8b31ea7a75f0246bd67f8402a7e2d4#L1R101">101</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/943c8e2bae8b31ea7a75f0246bd67f8402a7e2d4#L1R102">102</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/express-droonga/commit/943c8e2bae8b31ea7a75f0246bd67f8402a7e2d4#L1R103">103</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/943c8e2bae8b31ea7a75f0246bd67f8402a7e2d4#L1R104">104</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/943c8e2bae8b31ea7a75f0246bd67f8402a7e2d4#L1R105">105</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/943c8e2bae8b31ea7a75f0246bd67f8402a7e2d4#L1R106">106</a></span>
<span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/943c8e2bae8b31ea7a75f0246bd67f8402a7e2d4#L1R109">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/943c8e2bae8b31ea7a75f0246bd67f8402a7e2d4#L1R110">110</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/943c8e2bae8b31ea7a75f0246bd67f8402a7e2d4#L1R111">111</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/943c8e2bae8b31ea7a75f0246bd67f8402a7e2d4#L1R112">112</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/express-droonga/commit/943c8e2bae8b31ea7a75f0246bd67f8402a7e2d4#L1R113">113</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/943c8e2bae8b31ea7a75f0246bd67f8402a7e2d4#L1R114">114</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/943c8e2bae8b31ea7a75f0246bd67f8402a7e2d4#L1R115">115</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/943c8e2bae8b31ea7a75f0246bd67f8402a7e2d4#L1R116">116</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">@@ -26,6 +26,8 @@</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> var SerfRPC = require('serf-rpc'),</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> Q = require('q');</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> </span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+var Tag = require('./tag');</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> var ENGINE_NODE_NAME_PATTERN = /^([^:]+):(\d+)\/(.+)$/;</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> var DEFAULT_RPC_PORT = 7373;</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> </span>
<span class="diff-hunk-header" style="background-color: #eaf2f5; color: #999999; display: block; white-space: pre">@@ -78,13 +80,13 @@ <span class="diff-context" style="background-color: #ffffaa; color: #000000">Client.prototype = {</span></span>
<span class="diff-not-changed" style="display: block; white-space: pre"> return this.getAllMembers().then((function(members) {</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> var clusterIds = {};</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> var liveEngineNodes = members.filter(function(member) {</span>
<span class="diff-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre">- if (member.Tags.type != 'engine' ||</span>
<span class="diff-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre">- member.Tags.role != 'service-provider')</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+ if (member.Tags[Tag.nodeType] != 'engine' ||</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+ member.Tags[Tag.nodeRole] != 'service-provider')</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> return false;</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> </span>
<span class="diff-not-changed" style="display: block; white-space: pre"> var name = member.Name;</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> if (members.some(function(member) {</span>
<span class="diff-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre">- return member.Tags["buffered-for-" + name] == "true";</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+ return member.Tags[Tag.haveUnprocessedMessagesTagFor(name)] == "true";</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> }))</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> return false;</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> </span>
<span class="diff-hunk-header" style="background-color: #eaf2f5; color: #999999; display: block; white-space: pre">@@ -94,11 +96,11 @@ <span class="diff-context" style="background-color: #ffffaa; color: #000000">Client.prototype = {</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"> if (member.HostName == this._rpcHost ||</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> member.Addr == this._rpcHost)</span>
<span class="diff-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre">- clusterIds.sameHost = member.Tags.cluster_id;</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+ clusterIds.sameHost = member.Tags[Tag.clusterId];</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> if ((member.HostName &&</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> priorityHostsMatcher.test(member.HostName)) ||</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> priorityHostsMatcher.test(String(member.Addr)))</span>
<span class="diff-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre">- clusterIds.priority = member.Tags.cluster_id;</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+ clusterIds.priority = member.Tags[Tag.clusterId];</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> </span>
<span class="diff-not-changed" style="display: block; white-space: pre"> return matched &&</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> matched[2] == this._droongaEnginePort &&</span>
<span class="diff-hunk-header" style="background-color: #eaf2f5; color: #999999; display: block; white-space: pre">@@ -108,7 +110,7 @@ <span class="diff-context" style="background-color: #ffffaa; color: #000000">Client.prototype = {</span></span>
<span class="diff-not-changed" style="display: block; white-space: pre"> var clusterId = clusterIds.priority || clusterIds.sameHost;</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> if (clusterId)</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> liveEngineNodes = liveEngineNodes.filter(function(member) {</span>
<span class="diff-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre">- return member.Tags.cluster_id == clusterId;</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+ return member.Tags[Tag.clusterId] == clusterId;</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> });</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> return {</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> clusterIds: clusterIds,</span>
</pre>
</td>
</tr>
</tbody>
</table>
<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"> Added: lib/serf/tag.js (+21 -0) 100644</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/express-droonga/commit/943c8e2bae8b31ea7a75f0246bd67f8402a7e2d4#L2L-1">...</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-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-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-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-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-nothing" style="display: block; white-space: pre"> </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/express-droonga/commit/943c8e2bae8b31ea7a75f0246bd67f8402a7e2d4#L2R0">...</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/express-droonga/commit/943c8e2bae8b31ea7a75f0246bd67f8402a7e2d4#L2R1">1</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/express-droonga/commit/943c8e2bae8b31ea7a75f0246bd67f8402a7e2d4#L2R2">2</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/express-droonga/commit/943c8e2bae8b31ea7a75f0246bd67f8402a7e2d4#L2R3">3</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/express-droonga/commit/943c8e2bae8b31ea7a75f0246bd67f8402a7e2d4#L2R4">4</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/express-droonga/commit/943c8e2bae8b31ea7a75f0246bd67f8402a7e2d4#L2R5">5</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/express-droonga/commit/943c8e2bae8b31ea7a75f0246bd67f8402a7e2d4#L2R6">6</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/express-droonga/commit/943c8e2bae8b31ea7a75f0246bd67f8402a7e2d4#L2R7">7</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/express-droonga/commit/943c8e2bae8b31ea7a75f0246bd67f8402a7e2d4#L2R8">8</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/express-droonga/commit/943c8e2bae8b31ea7a75f0246bd67f8402a7e2d4#L2R9">9</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/express-droonga/commit/943c8e2bae8b31ea7a75f0246bd67f8402a7e2d4#L2R10">10</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/express-droonga/commit/943c8e2bae8b31ea7a75f0246bd67f8402a7e2d4#L2R11">11</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/express-droonga/commit/943c8e2bae8b31ea7a75f0246bd67f8402a7e2d4#L2R12">12</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/express-droonga/commit/943c8e2bae8b31ea7a75f0246bd67f8402a7e2d4#L2R13">13</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/express-droonga/commit/943c8e2bae8b31ea7a75f0246bd67f8402a7e2d4#L2R14">14</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/express-droonga/commit/943c8e2bae8b31ea7a75f0246bd67f8402a7e2d4#L2R15">15</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/express-droonga/commit/943c8e2bae8b31ea7a75f0246bd67f8402a7e2d4#L2R16">16</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/express-droonga/commit/943c8e2bae8b31ea7a75f0246bd67f8402a7e2d4#L2R17">17</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/express-droonga/commit/943c8e2bae8b31ea7a75f0246bd67f8402a7e2d4#L2R18">18</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/express-droonga/commit/943c8e2bae8b31ea7a75f0246bd67f8402a7e2d4#L2R19">19</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/express-droonga/commit/943c8e2bae8b31ea7a75f0246bd67f8402a7e2d4#L2R20">20</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/express-droonga/commit/943c8e2bae8b31ea7a75f0246bd67f8402a7e2d4#L2R21">21</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">@@ -0,0 +1,21 @@</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+var HAVE_UNPROCESSED_MESSAGES_TAG_PREFIX = 'buffered-for-';</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+module.exports = {</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+ nodeType: 'type',</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+ nodeRole: 'role',</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+ internalNodeName: 'internal-name',</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+ clusterId: 'cluster_id',</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+ acceptMessagesNewerThan: 'accept-newer-than',</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+ lastProcessedMessageTimestamp: 'last-timestamp',</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+ haveUnprocessedMessagesTagFor: function(nodeName) {</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+ return HAVE_UNPROCESSED_MESSAGES_TAG_PREFIX + nodeName;</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+ },</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+ isHaveUnprocessedMessagesTag: function(tag) {</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+ return tag.indexOf(HAVE_UNPROCESSED_MESSAGES_TAG_PREFIX == 0);</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+ },</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+ extractNodeNameFromHaveUnprocessedMessagesTag: function(tag) {</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+ return tag.replace(HAVE_UNPROCESSED_MESSAGES_TAG_PREFIX, '');</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+ }</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+};</span>
</pre>
</td>
</tr>
</tbody>
</table>
</div>
</body>
</html>