fdb 7.0.0 → 7.1.2

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: 4f3127e83e97e5bb3c973d60530dd1b123082c8546974d73c85fdc0d9f144b4b
4
- data.tar.gz: b0425030bab66699aa5a654e3f30771b7ab43a986e22a32f2b9034ec8ff582f7
3
+ metadata.gz: fda5fa80a73eab7fa13672d8901060ef1f6ca9f3956789e9e4097ad7c96c5b80
4
+ data.tar.gz: d2d96e2010062e3282cc718efd42766d1372c1c151b504edfc0cf4d990b2c1f1
5
5
  SHA512:
6
- metadata.gz: 5e65eb8d0274e958bd7280f7400729a34dfd2aa8e56f40516da5e2feaaff36c6f3028e1d1e52ad9f3a5b9bf4dde38cdbf9fbbae6a43eec1e94f1b3f940084eac
7
- data.tar.gz: a2cfb35fc5b6a6f3db52d71d74d6687220187306ce65071013438051a6f72c19cee1a16f1d521d3a600f6b5426da77e3aded308dba849c60a40a740a5a74a812
6
+ metadata.gz: d380d2657794147ae2493d017227180c1b65227d32aedf6ad34384ed71cc8f048a5d300f46cd0ad68b8b18e86e9b8695a7e07e87b7edeee15ade4ac1286dd32b
7
+ data.tar.gz: ce1e397336e7792324b515c53c662034ae2067d75eb531b9cec5f0a1bd0198ff2d1155469dd4a4adea314c47661a246e68b35ae678f5c155cd831a6d3881f4be
@@ -36,7 +36,7 @@ module FDB
36
36
  end
37
37
  end
38
38
  def self.api_version(version)
39
- header_version = 700
39
+ header_version = 710
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,7 +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_PARTIAL_FILE_SUFFIX" => [39, "", '', "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."],
36
+ "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
37
  "KNOB" => [40, "Set internal tuning or debugging knobs", '', "knob_name=knob_value"],
38
38
  "TLS_PLUGIN" => [41, "Deprecated", '', "file path or linker-resolved name"],
39
39
  "TLS_CERT_BYTES" => [42, "Set the certificate chain", '', "certificates"],
@@ -77,8 +77,10 @@ module FDB
77
77
  "TRANSACTION_MAX_RETRY_DELAY" => [502, "Set the maximum amount of backoff delay incurred in the call to ``onError`` if the error is retryable. This sets the ``max_retry_delay`` option of each transaction created by this database. See the transaction option description for more information.", 0, "value in milliseconds of maximum delay"],
78
78
  "TRANSACTION_SIZE_LIMIT" => [503, "Set the maximum transaction size in bytes. This sets the ``size_limit`` option on each transaction created by this database. See the transaction option description for more information.", 0, "value in bytes"],
79
79
  "TRANSACTION_CAUSAL_READ_RISKY" => [504, "The read version will be committed, and usually will be the latest committed, but might not be the latest committed in the event of a simultaneous fault and misbehaving clock.", nil, nil],
80
- "TRANSACTION_INCLUDE_PORT_IN_ADDRESS" => [505, "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],
80
+ "TRANSACTION_INCLUDE_PORT_IN_ADDRESS" => [505, "Deprecated. 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],
81
81
  "TRANSACTION_BYPASS_UNREADABLE" => [700, "Allows ``get`` operations to read from sections of keyspace that have become unreadable because of versionstamp operations. This sets the ``bypass_unreadable`` option of each transaction created by this database. See the transaction option description for more information.", nil, nil],
82
+ "USE_CONFIG_DATABASE" => [800, "Use configuration database.", nil, nil],
83
+ "TEST_CAUSAL_READ_RISKY" => [900, "An integer between 0 and 100 (default is 0) expressing the probability that a client will verify it can't read stale data whenever it detects a recovery.", nil, nil],
82
84
  }
83
85
 
84
86
  @@TransactionOption = {
@@ -95,8 +97,9 @@ module FDB
95
97
  "PRIORITY_SYSTEM_IMMEDIATE" => [200, "Specifies that this transaction should be treated as highest priority and that lower priority transactions should block behind this one. Use is discouraged outside of low-level tools", nil, nil],
96
98
  "PRIORITY_BATCH" => [201, "Specifies that this transaction should be treated as low priority and that default priority transactions will be processed first. Batch priority transactions will also be throttled at load levels smaller than for other types of transactions and may be fully cut off in the event of machine failures. Useful for doing batch work simultaneously with latency-sensitive work", nil, nil],
97
99
  "INITIALIZE_NEW_DATABASE" => [300, "This is a write-only transaction which sets the initial configuration. This option is designed for use by database system tools only.", nil, nil],
98
- "ACCESS_SYSTEM_KEYS" => [301, "Allows this transaction to read and modify system keys (those that start with the byte 0xFF)", nil, nil],
99
- "READ_SYSTEM_KEYS" => [302, "Allows this transaction to read system keys (those that start with the byte 0xFF)", nil, nil],
100
+ "ACCESS_SYSTEM_KEYS" => [301, "Allows this transaction to read and modify system keys (those that start with the byte 0xFF). Implies raw_access.", nil, nil],
101
+ "READ_SYSTEM_KEYS" => [302, "Allows this transaction to read system keys (those that start with the byte 0xFF). Implies raw_access.", nil, nil],
102
+ "RAW_ACCESS" => [303, "Allows this transaction to access the raw key-space when tenant mode is on.", nil, nil],
100
103
  "DEBUG_RETRY_LOGGING" => [401, "", '', "Optional transaction name"],
101
104
  "TRANSACTION_LOGGING_ENABLE" => [402, "Deprecated", '', "String identifier to be used in the logs when tracing this transaction. The identifier must not exceed 100 characters."],
102
105
  "DEBUG_TRANSACTION_IDENTIFIER" => [403, "Sets a client provided identifier for the transaction that will be used in scenarios like tracing or profiling. Client trace logging or transaction profiling must be separately enabled.", '', "String identifier to be used when tracing or profiling this transaction. The identifier must not exceed 100 characters."],
@@ -121,6 +124,7 @@ module FDB
121
124
  "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"],
122
125
  "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],
123
126
  "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],
127
+ "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],
124
128
  }
125
129
 
126
130
  @@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.0.0
4
+ version: 7.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - FoundationDB
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-04-05 00:00:00.000000000 Z
11
+ date: 2022-04-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: ffi