Skip to content

Commit

Permalink
v3.0.0. server 7.0 support features.
Browse files Browse the repository at this point in the history
  • Loading branch information
vmsachin committed Dec 18, 2023
1 parent 6e8115f commit ad754fc
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 16 deletions.
3 changes: 2 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@

All notable changes to this project will be documented in this file.

## [2.30.0] 2023-12-15
## [3.0.0] 2023-12-15
Notice: This version of the client only supports Aerospike Server v6.0 and later. Some features will work for the older server versions.
- **new_features**
- [CLIENT-2575] - Support Exp.recordSize().
- [CLIENT-2621] - Support persistent map indexes.
Expand Down
15 changes: 1 addition & 14 deletions lib/aerospike/command/command.rb
Original file line number Diff line number Diff line change
Expand Up @@ -627,7 +627,7 @@ def set_query(cluster, policy, statement, background, node_partitions)
operation_count = bin_names.length
# Estimate size for selected bin names (query bin names already handled for old servers).
end
@data_buffer.reset

size_buffer

if background
Expand Down Expand Up @@ -725,19 +725,6 @@ def set_query(cluster, policy, statement, background, node_partitions)
end_cmd
end

def hex_dump_from_string(data_buffer)
byte_array = data_buffer.to_s.unpack('C*')
hex_dump(byte_array)
end

def hex_dump(byte_array)
byte_array.each_slice(16) do |slice|
hex_line = slice.map { |b| format('%02X', b) }.join(' ')
char_line = slice.map { |b| (b >= 32 && b <= 126) ? b.chr : '.' }.join
puts "#{hex_line.ljust(48)} | #{char_line}"
end
end


def execute
iterations = 0
Expand Down
2 changes: 1 addition & 1 deletion lib/aerospike/version.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# encoding: utf-8
module Aerospike
VERSION = "2.30.0"
VERSION = "3.0.0"
end

0 comments on commit ad754fc

Please sign in to comment.