Update generated.go
This commit is contained in:
parent
5c7a5ad478
commit
63f71cbab1
|
@ -407,6 +407,11 @@ func (o DatabaseOptions) SetTransactionIncludePortInAddress() error {
|
|||
return o.setOpt(505, nil)
|
||||
}
|
||||
|
||||
// Set a random idempotency id for all transactions. See the transaction option description for more information. This feature is in development and not ready for general use.
|
||||
func (o DatabaseOptions) SetTransactionAutomaticIdempotency() error {
|
||||
return o.setOpt(506, nil)
|
||||
}
|
||||
|
||||
// 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.
|
||||
func (o DatabaseOptions) SetTransactionBypassUnreadable() error {
|
||||
return o.setOpt(700, nil)
|
||||
|
@ -571,6 +576,11 @@ func (o TransactionOptions) SetSizeLimit(param int64) error {
|
|||
return o.setOpt(503, int64ToBytes(param))
|
||||
}
|
||||
|
||||
// Automatically assign a random 16 byte idempotency id for this transaction. Prevents commits from failing with ``commit_unknown_result``. WARNING: If you are also using the multiversion client or transaction timeouts, if either cluster_version_changed or transaction_timed_out was thrown during a commit, then that commit may have already succeeded or may succeed in the future. This feature is in development and not ready for general use.
|
||||
func (o TransactionOptions) SetAutomaticIdempotency() error {
|
||||
return o.setOpt(505, nil)
|
||||
}
|
||||
|
||||
// Snapshot read operations will see the results of writes done in the same transaction. This is the default behavior.
|
||||
func (o TransactionOptions) SetSnapshotRywEnable() error {
|
||||
return o.setOpt(600, nil)
|
||||
|
|
Loading…
Reference in New Issue