fdb 7.1.61 → 7.2.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 11f6f8359d825de1e8b935d4977c0662e1b720d4b5be65771574b55a71b9dbf3
4
- data.tar.gz: 330c22bfb6cea66ab153fc4a144b44484f4d19ec2bbce5371abb005242789920
3
+ metadata.gz: 4f35a6310a0f24212aafb1b642faff8070d7b9770f24b0fe61ce74ebc265c593
4
+ data.tar.gz: 15d1fa8c5e7491f20577f3ee594eda1d67f46acaf5e3ad79240effd1d99e5004
5
5
  SHA512:
6
- metadata.gz: f5dc5787ea794453e355aeca8e58b61c94562c3a83339875cff7472309d4fec8188bc4bc02ccddf10c620a9a7ffd4c5efc8d25cf869c40b40bc0fdb161636c99
7
- data.tar.gz: 7ceb4abd9efc26176b9f41c792ae471b111176e33f9d677da10f0df7f4fea9c53f32d619535477abaee3c7cd8d7731a43a547eb2e470cdcb150bb98d9a02b3b9
6
+ metadata.gz: e482ae78beee388640351e0e5ab359c0ce6aaf35c4286ed0adf5e1afadc4b6f0176f51f40f41d9d441c8fc57418ab56e18d8e0f29b5df3e7c6549df7f7d1fc6f
7
+ data.tar.gz: fd43ee67b6d35cd84515f4a8790bd048ba7108f702b897a08570a77f32a4a2c7b155b46b4dff8da20aab7cb693818e77eb477d1ac164ce23c72f08fe20b3b08b
@@ -36,7 +36,7 @@ module FDB
36
36
  end
37
37
  end
38
38
  def self.api_version(version)
39
- header_version = 710
39
+ header_version = 720
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}."
@@ -33,6 +33,7 @@ module FDB
33
33
  "TRACE_FORMAT" => [34, "Select the format of the log files. xml (the default) and json are supported.", '', "Format of trace files"],
34
34
  "TRACE_CLOCK_SOURCE" => [35, "Select clock source for trace files. now (the default) or realtime are supported.", '', "Trace clock source"],
35
35
  "TRACE_FILE_IDENTIFIER" => [36, "Once provided, this string will be used to replace the port/PID in the log file names.", '', "The identifier that will be part of all trace file names"],
36
+ "TRACE_SHARE_AMONG_CLIENT_THREADS" => [37, "Use the same base trace file name for all client threads as it did before version 7.2. The current default behavior is to use distinct trace file names for client threads by including their version and thread index.", nil, nil],
36
37
  "TRACE_PARTIAL_FILE_SUFFIX" => [39, "Set file suffix for partially written log files.", '', "Append this suffix to partially written log files. When a log file is complete, it is renamed to remove the suffix. No separator is added between the file and the suffix. If you want to add a file extension, you should include the separator - e.g. '.tmp' instead of 'tmp' to add the 'tmp' extension."],
37
38
  "KNOB" => [40, "Set internal tuning or debugging knobs", '', "knob_name=knob_value"],
38
39
  "TLS_PLUGIN" => [41, "Deprecated", '', "file path or linker-resolved name"],
@@ -54,15 +55,17 @@ module FDB
54
55
  "EXTERNAL_CLIENT_DIRECTORY" => [63, "Searches the specified path for dynamic libraries and adds them to the list of client libraries for use by the multi-version client API. Must be set before setting up the network.", '', "path to directory containing client libraries"],
55
56
  "DISABLE_LOCAL_CLIENT" => [64, "Prevents connections through the local client, allowing only connections through externally loaded client libraries.", nil, nil],
56
57
  "CLIENT_THREADS_PER_VERSION" => [65, "Spawns multiple worker threads for each version of the client that is loaded. Setting this to a number greater than one implies disable_local_client.", 0, "Number of client threads to be spawned. Each cluster will be serviced by a single client thread."],
57
- "RETAIN_CLIENT_LIBRARY_COPIES" => [67, "Retain temporary external client library copies that are created for enabling multi-threading.", nil, nil],
58
+ "FUTURE_VERSION_CLIENT_LIBRARY" => [66, "Adds an external client library to be used with a future version protocol. This option can be used testing purposes only!", '', "path to client library"],
58
59
  "DISABLE_CLIENT_STATISTICS_LOGGING" => [70, "Disables logging of client statistics, such as sampled transaction activity.", nil, nil],
59
60
  "ENABLE_SLOW_TASK_PROFILING" => [71, "Deprecated", nil, nil],
60
61
  "ENABLE_RUN_LOOP_PROFILING" => [71, "Enables debugging feature to perform run loop profiling. Requires trace logging to be enabled. WARNING: this feature is not recommended for use in production.", nil, nil],
62
+ "DISABLE_CLIENT_BYPASS" => [72, "Prevents the multi-version client API from being disabled, even if no external clients are configured. This option is required to use GRV caching.", nil, nil],
61
63
  "CLIENT_BUGGIFY_ENABLE" => [80, "Enable client buggify - will make requests randomly fail (intended for client testing)", nil, nil],
62
64
  "CLIENT_BUGGIFY_DISABLE" => [81, "Disable client buggify", nil, nil],
63
65
  "CLIENT_BUGGIFY_SECTION_ACTIVATED_PROBABILITY" => [82, "Set the probability of a CLIENT_BUGGIFY section being active for the current execution.", 0, "probability expressed as a percentage between 0 and 100"],
64
66
  "CLIENT_BUGGIFY_SECTION_FIRED_PROBABILITY" => [83, "Set the probability of an active CLIENT_BUGGIFY section being fired. A section will only fire if it was activated", 0, "probability expressed as a percentage between 0 and 100"],
65
67
  "DISTRIBUTED_CLIENT_TRACER" => [90, "Set a tracer to run on the client. Should be set to the same value as the tracer set on the server.", '', "Distributed tracer type. Choose from none, log_file, or network_lossy"],
68
+ "CLIENT_TMP_DIR" => [91, "Sets the directory for storing temporary files created by FDB client, such as temporary copies of client libraries. Defaults to /tmp", '', "Client directory for temporary files. "],
66
69
  }
67
70
 
68
71
  @@DatabaseOption = {
@@ -125,7 +128,8 @@ module FDB
125
128
  "SPAN_PARENT" => [900, "Adds a parent to the Span of this transaction. Used for transaction tracing. A span can be identified with any 16 bytes", '', "A byte string of length 16 used to associate the span of this transaction with a parent"],
126
129
  "EXPENSIVE_CLEAR_COST_ESTIMATION_ENABLE" => [1000, "Asks storage servers for how many bytes a clear key range contains. Otherwise uses the location cache to roughly estimate this.", nil, nil],
127
130
  "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],
128
- "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.", nil, nil],
131
+ "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],
132
+ "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."],
129
133
  }
130
134
 
131
135
  @@StreamingMode = {
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.1.61
4
+ version: 7.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - FoundationDB
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-05-15 00:00:00.000000000 Z
11
+ date: 2022-11-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: ffi
@@ -69,7 +69,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
69
69
  version: '0'
70
70
  requirements:
71
71
  - These bindings require the FoundationDB client. The client can be obtained from
72
- https://github.com/apple/foundationdb/releases
72
+ https://www.foundationdb.org/download/.
73
73
  rubygems_version: 3.1.6
74
74
  signing_key:
75
75
  specification_version: 4