fdb 7.3.69 → 7.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 53429d9ef830cfff9cd971f818e0d154ad3c7f13f45ef8b8ee696f238cf343f3
4
- data.tar.gz: edf07666f95e5ea664acb6de97053ac61818624f79fd238a7675f24f8a60eb37
3
+ metadata.gz: fa8ae89940bd571ada8abaa38f02b4195e415ecc68e0f55143546c211a3eaa7f
4
+ data.tar.gz: 4216bdffb1816a3624b127361809f4a19b9806cf3b8f44ee0a3dedb71e2b4f4d
5
5
  SHA512:
6
- metadata.gz: 3542b00f2e20a8e46d1f808367971b8475d57cf5f81548bd3e58f1a6223ffe8bb978d5bfd5611521604fe232d6a9ef74c68e82341ceddf903dd3aeffdc8945a1
7
- data.tar.gz: 7a693d3da83d611a1ac0eb04e9e9517352f6adf104dcb20eeedeb7861c241e05d4f76002a7f2d23d075ce2e953416283fc6d4a6e8c472c083f2da74b36177184
6
+ metadata.gz: fb0fdd26f1e57cef7129a3d3c8d1b3793b2ff0db28fb20927ff2e57478c46a56c58e4c1e7556c0e2bf9f56d587f30a1ee7556ef555ca1770f7e6989c84058f62
7
+ data.tar.gz: 43f0e0b3539f11ebe57ddcd213259eac0fd5678b22df110cc842c181852b7b4e9362dbc1cda6f1b5824575b087d0e77cab01744b26e801ac64d0c4bbda9b9c32
data/lib/fdb.rb CHANGED
@@ -3,7 +3,7 @@
3
3
  #
4
4
  # This source file is part of the FoundationDB open source project
5
5
  #
6
- # Copyright 2013-2018 Apple Inc. and the FoundationDB project authors
6
+ # Copyright 2013-2024 Apple Inc. and the FoundationDB project authors
7
7
  #
8
8
  # Licensed under the Apache License, Version 2.0 (the "License");
9
9
  # you may not use this file except in compliance with the License.
@@ -36,7 +36,7 @@ module FDB
36
36
  end
37
37
  end
38
38
  def self.api_version(version)
39
- header_version = 730
39
+ header_version = 740
40
40
  if self.is_api_version_selected?()
41
41
  if @@chosen_version != version
42
42
  raise "FDB API already loaded at version #{@@chosen_version}."
data/lib/fdbdirectory.rb CHANGED
@@ -5,7 +5,7 @@
5
5
  #
6
6
  # This source file is part of the FoundationDB open source project
7
7
  #
8
- # Copyright 2013-2018 Apple Inc. and the FoundationDB project authors
8
+ # Copyright 2013-2024 Apple Inc. and the FoundationDB project authors
9
9
  #
10
10
  # Licensed under the Apache License, Version 2.0 (the "License");
11
11
  # you may not use this file except in compliance with the License.
@@ -197,7 +197,7 @@ module FDB
197
197
 
198
198
  if old_path == new_path[0...old_path.length]
199
199
  raise ArgumentError,
200
- 'The desination directory cannot be a subdirectory of the source directory.'
200
+ 'The destination directory cannot be a subdirectory of the source directory.'
201
201
  end
202
202
 
203
203
  old_node = find(tr, old_path).prefetch_metadata(tr)
data/lib/fdbimpl.rb CHANGED
@@ -5,7 +5,7 @@
5
5
  #
6
6
  # This source file is part of the FoundationDB open source project
7
7
  #
8
- # Copyright 2013-2018 Apple Inc. and the FoundationDB project authors
8
+ # Copyright 2013-2024 Apple Inc. and the FoundationDB project authors
9
9
  #
10
10
  # Licensed under the Apache License, Version 2.0 (the "License");
11
11
  # you may not use this file except in compliance with the License.
data/lib/fdbimpl_v609.rb CHANGED
@@ -5,7 +5,7 @@
5
5
  #
6
6
  # This source file is part of the FoundationDB open source project
7
7
  #
8
- # Copyright 2013-2018 Apple Inc. and the FoundationDB project authors
8
+ # Copyright 2013-2024 Apple Inc. and the FoundationDB project authors
9
9
  #
10
10
  # Licensed under the Apache License, Version 2.0 (the "License");
11
11
  # you may not use this file except in compliance with the License.
data/lib/fdblocality.rb CHANGED
@@ -5,7 +5,7 @@
5
5
  #
6
6
  # This source file is part of the FoundationDB open source project
7
7
  #
8
- # Copyright 2013-2018 Apple Inc. and the FoundationDB project authors
8
+ # Copyright 2013-2024 Apple Inc. and the FoundationDB project authors
9
9
  #
10
10
  # Licensed under the Apache License, Version 2.0 (the "License");
11
11
  # you may not use this file except in compliance with the License.
data/lib/fdboptions.rb CHANGED
@@ -50,6 +50,7 @@ module FDB
50
50
  "TLS_CA_BYTES" => [52, "Set the ca bundle", '', "ca bundle"],
51
51
  "TLS_CA_PATH" => [53, "Set the file from which to load the certificate authority bundle", '', "file path"],
52
52
  "TLS_PASSWORD" => [54, "Set the passphrase for encrypted private key. Password should be set before setting the key for the password to be used.", '', "key passphrase"],
53
+ "TLS_DISABLE_PLAINTEXT_CONNECTION" => [55, "Prevent client from connecting to a non-TLS endpoint by throwing network connection failed error.", nil, nil],
53
54
  "DISABLE_MULTI_VERSION_CLIENT_API" => [60, "Disables the multi-version client API and instead uses the local client directly. Must be set before setting up the network.", nil, nil],
54
55
  "CALLBACKS_ON_EXTERNAL_THREADS" => [61, "If set, callbacks from external client libraries can be called from threads created by the FoundationDB client library. Otherwise, callbacks will be called from either the thread used to add the callback or the network thread. Setting this option can improve performance when connected using an external client, but may not be safe to use in all environments. Must be set before setting up the network. WARNING: This feature is considered experimental at this time.", nil, nil],
55
56
  "EXTERNAL_CLIENT_LIBRARY" => [62, "Adds an external client library for use by the multi-version client API. Must be set before setting up the network.", '', "path to client library"],
@@ -100,7 +101,7 @@ module FDB
100
101
  "CAUSAL_READ_DISABLE" => [21, "", nil, nil],
101
102
  "INCLUDE_PORT_IN_ADDRESS" => [23, "Addresses returned by get_addresses_for_key include the port when enabled. As of api version 630, this option is enabled by default and setting this has no effect.", nil, nil],
102
103
  "NEXT_WRITE_NO_WRITE_CONFLICT_RANGE" => [30, "The next write performed on this transaction will not generate a write conflict range. As a result, other transactions which read the key(s) being modified by the next write will not conflict with this transaction. Care needs to be taken when using this option on a transaction that is shared between multiple threads. When setting this option, write conflict ranges will be disabled on the next write operation, regardless of what thread it is on.", nil, nil],
103
- "READ_YOUR_WRITES_DISABLE" => [51, "Reads performed by a transaction will not see any prior mutations that occured in that transaction, instead seeing the value which was in the database at the transaction's read version. This option may provide a small performance benefit for the client, but also disables a number of client-side optimizations which are beneficial for transactions which tend to read and write the same keys within a single transaction. It is an error to set this option after performing any reads or writes on the transaction.", nil, nil],
104
+ "READ_YOUR_WRITES_DISABLE" => [51, "Reads performed by a transaction will not see any prior mutations that occurred in that transaction, instead seeing the value which was in the database at the transaction's read version. This option may provide a small performance benefit for the client, but also disables a number of client-side optimizations which are beneficial for transactions which tend to read and write the same keys within a single transaction. It is an error to set this option after performing any reads or writes on the transaction.", nil, nil],
104
105
  "READ_AHEAD_DISABLE" => [52, "Deprecated", nil, nil],
105
106
  "READ_SERVER_SIDE_CACHE_ENABLE" => [507, "Storage server should cache disk blocks needed for subsequent read requests in this transaction. This is the default behavior.", nil, nil],
106
107
  "READ_SERVER_SIDE_CACHE_DISABLE" => [508, "Storage server should not cache disk blocks needed for subsequent read requests in this transaction. This can be used to avoid cache pollution for reads not expected to be repeated.", nil, nil],
@@ -144,6 +145,8 @@ module FDB
144
145
  "BYPASS_UNREADABLE" => [1100, "Allows ``get`` operations to read from sections of keyspace that have become unreadable because of versionstamp operations. These reads will view versionstamp operations as if they were set operations that did not fill in the versionstamp.", nil, nil],
145
146
  "USE_GRV_CACHE" => [1101, "Allows this transaction to use cached GRV from the database context. Defaults to off. Upon first usage, starts a background updater to periodically update the cache to avoid stale read versions. The disable_client_bypass option must also be set.", nil, nil],
146
147
  "AUTHORIZATION_TOKEN" => [2000, "Attach given authorization token to the transaction such that subsequent tenant-aware requests are authorized", '', "A JSON Web Token authorized to access data belonging to one or more tenants, indicated by 'tenants' claim of the token's payload."],
148
+ "ENABLE_REPLICA_CONSISTENCY_CHECK" => [4000, "Enables replica consistency check, which compares the results returned by storage server replicas (as many as specified by consistency_check_required_replicas option) for a given read request, in client-side load balancer.", nil, nil],
149
+ "CONSISTENCY_CHECK_REQUIRED_REPLICAS" => [4001, "Specifies the number of storage server replica results that the load balancer needs to compare when enable_replica_consistency_check option is set.", 0, "Number of storage replicas over which the load balancer consistency check is done."],
147
150
  }
148
151
 
149
152
  @@StreamingMode = {
data/lib/fdbsubspace.rb CHANGED
@@ -5,7 +5,7 @@
5
5
  #
6
6
  # This source file is part of the FoundationDB open source project
7
7
  #
8
- # Copyright 2013-2018 Apple Inc. and the FoundationDB project authors
8
+ # Copyright 2013-2024 Apple Inc. and the FoundationDB project authors
9
9
  #
10
10
  # Licensed under the Apache License, Version 2.0 (the "License");
11
11
  # you may not use this file except in compliance with the License.
data/lib/fdbtuple.rb CHANGED
@@ -5,7 +5,7 @@
5
5
  #
6
6
  # This source file is part of the FoundationDB open source project
7
7
  #
8
- # Copyright 2013-2018 Apple Inc. and the FoundationDB project authors
8
+ # Copyright 2013-2024 Apple Inc. and the FoundationDB project authors
9
9
  #
10
10
  # Licensed under the Apache License, Version 2.0 (the "License");
11
11
  # you may not use this file except in compliance with the License.
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fdb
3
3
  version: !ruby/object:Gem::Version
4
- version: 7.3.69
4
+ version: 7.4.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - FoundationDB
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2025-07-04 00:00:00.000000000 Z
11
+ date: 2025-04-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: ffi
@@ -53,7 +53,7 @@ homepage: https://www.foundationdb.org
53
53
  licenses:
54
54
  - Apache-2.0
55
55
  metadata: {}
56
- post_install_message:
56
+ post_install_message:
57
57
  rdoc_options: []
58
58
  require_paths:
59
59
  - lib
@@ -70,8 +70,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
70
70
  requirements:
71
71
  - These bindings require the FoundationDB client. The client can be obtained from
72
72
  https://github.com/apple/foundationdb/releases
73
- rubygems_version: 3.1.6
74
- signing_key:
73
+ rubygems_version: 3.2.33
74
+ signing_key:
75
75
  specification_version: 4
76
76
  summary: Ruby bindings for the FoundationDB database
77
77
  test_files: []