lib/aerospike/command/delete_command.rb in aerospike-2.12.0 vs lib/aerospike/command/delete_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.master_node(@partition)
end
def write_buffer
set_delete(@policy, @key)
end