Module: Aerospike::Node::Refresh::Failed

Defined in:
lib/aerospike/node/refresh/failed.rb

Class Method Summary collapse

Class Method Details

.call(node, e) ⇒ Object



25
26
27
28
29
# File 'lib/aerospike/node/refresh/failed.rb', line 25

def call(node, e)
  Aerospike.logger.info("Node #{node.name} refresh failed: #{e.inspect}")
  Aerospike.logger.debug { e.backtrace.join("\n") }
  node.failed!
end