YUKI Hiroshi
null+****@clear*****
Thu Dec 18 16:15:21 JST 2014
YUKI Hiroshi 2014-12-18 16:15:21 +0900 (Thu, 18 Dec 2014) New Revision: fcc15459c6efaf80e46c785e01605e52b9dd39d8 https://github.com/droonga/droonga-engine/commit/fcc15459c6efaf80e46c785e01605e52b9dd39d8 Merged 69350ee: Merge branch 'master' into buffered-forward Message: Get role of myself correctly Modified files: lib/droonga/engine_state.rb Modified: lib/droonga/engine_state.rb (+2 -2) =================================================================== --- lib/droonga/engine_state.rb 2014-12-18 16:13:38 +0900 (4a718e8) +++ lib/droonga/engine_state.rb 2014-12-18 16:15:21 +0900 (c7da680) @@ -142,7 +142,7 @@ module Droonga end def same_role_nodes - case node_status(:role) + case node_status.get(:role) when NodeStatus::Role::SERVICE_PROVIDER all_nodes & service_provider_nodes when NodeStatus::Role::ABSORB_SOURCE @@ -159,7 +159,7 @@ module Droonga end def writable_nodes - case node_status(:role) + case node_status.get(:role) when NodeStatus::Role::SERVICE_PROVIDER all_nodes when NodeStatus::Role::ABSORB_SOURCE -------------- next part -------------- HTML����������������������������... Download