lib/aerospike/command/exists_command.rb in aerospike-2.12.0 vs lib/aerospike/command/exists_command.rb in aerospike-2.13.0

- old
+ new

@@ -1,7 +1,7 @@ # encoding: utf-8 -# Copyright 2014-2017 Aerospike, Inc. +# Copyright 2014-2020 Aerospike, Inc. # # Portions may be licensed to Aerospike, Inc. under one or more contributor # license agreements. # # Licensed under the Apache License, Version 2.0 (the "License"); you may not @@ -29,9 +29,13 @@ super(cluster, key) @policy = policy self + end + + def get_node + @cluster.read_node(@partition, @policy.replica, @sequence) end def write_buffer set_exists(@policy, @key) end