aerospike 2.13.0 → 2.18.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (45) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +44 -1
  3. data/lib/aerospike.rb +14 -0
  4. data/lib/aerospike/cdt/bit_operation.rb +376 -0
  5. data/lib/aerospike/cdt/bit_overflow_action.rb +46 -0
  6. data/lib/aerospike/cdt/bit_policy.rb +36 -0
  7. data/lib/aerospike/cdt/bit_resize_flags.rb +44 -0
  8. data/lib/aerospike/cdt/bit_write_flags.rb +51 -0
  9. data/lib/aerospike/cdt/context.rb +113 -0
  10. data/lib/aerospike/cdt/hll_operation.rb +200 -0
  11. data/lib/aerospike/cdt/hll_policy.rb +34 -0
  12. data/lib/aerospike/cdt/hll_write_flags.rb +53 -0
  13. data/lib/aerospike/cdt/list_operation.rb +155 -96
  14. data/lib/aerospike/cdt/list_order.rb +7 -0
  15. data/lib/aerospike/cdt/list_sort_flags.rb +10 -2
  16. data/lib/aerospike/cdt/map_operation.rb +179 -92
  17. data/lib/aerospike/cdt/map_order.rb +3 -3
  18. data/lib/aerospike/client.rb +24 -7
  19. data/lib/aerospike/cluster.rb +47 -0
  20. data/lib/aerospike/cluster/rack_parser.rb +117 -0
  21. data/lib/aerospike/command/batch_direct_command.rb +1 -0
  22. data/lib/aerospike/command/batch_index_command.rb +1 -0
  23. data/lib/aerospike/command/command.rb +76 -7
  24. data/lib/aerospike/command/multi_command.rb +44 -1
  25. data/lib/aerospike/command/read_command.rb +34 -2
  26. data/lib/aerospike/command/touch_command.rb +34 -1
  27. data/lib/aerospike/features.rb +5 -0
  28. data/lib/aerospike/node.rb +18 -1
  29. data/lib/aerospike/node/rebalance.rb +50 -0
  30. data/lib/aerospike/node/refresh/info.rb +4 -1
  31. data/lib/aerospike/node/refresh/racks.rb +47 -0
  32. data/lib/aerospike/node/refresh/reset.rb +1 -0
  33. data/lib/aerospike/node/verify/rebalance_generation.rb +43 -0
  34. data/lib/aerospike/operation.rb +7 -2
  35. data/lib/aerospike/policy/client_policy.rb +15 -0
  36. data/lib/aerospike/policy/policy.rb +11 -3
  37. data/lib/aerospike/policy/replica.rb +7 -0
  38. data/lib/aerospike/result_code.rb +102 -0
  39. data/lib/aerospike/socket/base.rb +3 -2
  40. data/lib/aerospike/utils/buffer.rb +13 -3
  41. data/lib/aerospike/utils/unpacker.rb +2 -2
  42. data/lib/aerospike/value/particle_type.rb +1 -1
  43. data/lib/aerospike/value/value.rb +107 -5
  44. data/lib/aerospike/version.rb +1 -1
  45. metadata +15 -2
@@ -1,4 +1,4 @@
1
1
  # encoding: utf-8
2
2
  module Aerospike
3
- VERSION = "2.13.0"
3
+ VERSION = "2.18.0"
4
4
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aerospike
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.13.0
4
+ version: 2.18.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Khosrow Afroozeh
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2020-07-17 00:00:00.000000000 Z
12
+ date: 2020-12-01 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: msgpack
@@ -55,6 +55,15 @@ files:
55
55
  - lib/aerospike/aerospike_exception.rb
56
56
  - lib/aerospike/atomic/atomic.rb
57
57
  - lib/aerospike/bin.rb
58
+ - lib/aerospike/cdt/bit_operation.rb
59
+ - lib/aerospike/cdt/bit_overflow_action.rb
60
+ - lib/aerospike/cdt/bit_policy.rb
61
+ - lib/aerospike/cdt/bit_resize_flags.rb
62
+ - lib/aerospike/cdt/bit_write_flags.rb
63
+ - lib/aerospike/cdt/context.rb
64
+ - lib/aerospike/cdt/hll_operation.rb
65
+ - lib/aerospike/cdt/hll_policy.rb
66
+ - lib/aerospike/cdt/hll_write_flags.rb
58
67
  - lib/aerospike/cdt/list_operation.rb
59
68
  - lib/aerospike/cdt/list_order.rb
60
69
  - lib/aerospike/cdt/list_policy.rb
@@ -74,6 +83,7 @@ files:
74
83
  - lib/aerospike/cluster/find_nodes_to_remove.rb
75
84
  - lib/aerospike/cluster/partition.rb
76
85
  - lib/aerospike/cluster/partition_parser.rb
86
+ - lib/aerospike/cluster/rack_parser.rb
77
87
  - lib/aerospike/command/admin_command.rb
78
88
  - lib/aerospike/command/batch_direct_command.rb
79
89
  - lib/aerospike/command/batch_direct_exists_command.rb
@@ -108,16 +118,19 @@ files:
108
118
  - lib/aerospike/loggable.rb
109
119
  - lib/aerospike/node.rb
110
120
  - lib/aerospike/node/generation.rb
121
+ - lib/aerospike/node/rebalance.rb
111
122
  - lib/aerospike/node/refresh/failed.rb
112
123
  - lib/aerospike/node/refresh/friends.rb
113
124
  - lib/aerospike/node/refresh/info.rb
114
125
  - lib/aerospike/node/refresh/partitions.rb
115
126
  - lib/aerospike/node/refresh/peers.rb
127
+ - lib/aerospike/node/refresh/racks.rb
116
128
  - lib/aerospike/node/refresh/reset.rb
117
129
  - lib/aerospike/node/verify/cluster_name.rb
118
130
  - lib/aerospike/node/verify/name.rb
119
131
  - lib/aerospike/node/verify/partition_generation.rb
120
132
  - lib/aerospike/node/verify/peers_generation.rb
133
+ - lib/aerospike/node/verify/rebalance_generation.rb
121
134
  - lib/aerospike/node_validator.rb
122
135
  - lib/aerospike/operation.rb
123
136
  - lib/aerospike/peer.rb