Skip to content

Commit

Permalink
Fix batch_operate for multi-node cluster
Browse files Browse the repository at this point in the history
  • Loading branch information
opti committed Oct 23, 2024
1 parent fb54d1d commit 84028e0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/aerospike/client.rb
Original file line number Diff line number Diff line change
Expand Up @@ -347,7 +347,7 @@ def batch_operate(records, options = nil)
policy = create_policy(options, BatchPolicy, default_batch_policy)

execute_batch_operate_commands(policy, records) do |node, batch|
BatchOperateCommand.new(node, batch, policy, records)
BatchOperateCommand.new(node, batch, policy, batch.records)
end
end

Expand Down

0 comments on commit 84028e0

Please sign in to comment.