YUKI Hiroshi
null+****@clear*****
Thu Dec 25 15:57:31 JST 2014
YUKI Hiroshi 2014-12-25 15:57:31 +0900 (Thu, 25 Dec 2014) New Revision: befc3896a822440ef7c7e7e3f25618b2747e6d11 https://github.com/droonga/express-droonga/commit/befc3896a822440ef7c7e7e3f25618b2747e6d11 Message: Follow to tue change of droonga-engine �� 5dbed49f57cbcbe92d131606fbadc1247700c29f Modified files: lib/serf/agent.js lib/serf/client.js Modified: lib/serf/agent.js (+1 -1) =================================================================== --- lib/serf/agent.js 2014-12-01 00:20:58 +0900 (dcd3929) +++ lib/serf/agent.js 2014-12-25 15:57:31 +0900 (dc12323) @@ -94,7 +94,7 @@ Agent.prototype.tryStart = function() { '-bind', this._hostName + ':' + BIND_PORT, '-rpc-addr', this._hostName + ':' + RPC_PORT, '-log-level', 'INFO', - '-tag', 'role=protocol-adapter' + '-tag', 'type=protocol-adapter' ]; this._otherMembers.forEach(function(address) { if (address.indexOf(':') < 0) Modified: lib/serf/client.js (+2 -1) =================================================================== --- lib/serf/client.js 2014-12-01 00:20:58 +0900 (bad166e) +++ lib/serf/client.js 2014-12-25 15:57:31 +0900 (e8ffd16) @@ -78,7 +78,8 @@ Client.prototype = { return this.getAllMembers().then((function(members) { var clusterIds = {}; var liveEngineNodes = members.filter(function(member) { - if (member.Tags.role != 'engine') + if (member.Tags.type != 'engine' || + member.Tags.role != 'service-provider') return false; var matched = String(member.Name).match(ENGINE_NODE_NAME_PATTERN); -------------- next part -------------- HTML����������������������������... 다운로드