FdbIdempotencyExtensions

Namespace: FoundationDB.Client · class

Extension exposing native FoundationDB idempotency helpers on a transaction's options.

Methods

get_IsAutomaticIdempotencySupported

static bool get_IsAutomaticIdempotencySupported(IFdbTransactionOptions options)

Returns true when the connected cluster supports native automatic idempotency (api level 720 or greater, fdb 7.2+).

Native FoundationDB idempotency (the AutomaticIdempotency option) makes a commit that returns an ambiguous result resolve to a definitive outcome, so the handler is never re-run on top of its own landed writes.

When this is false, a handler either proceeds without idempotency (accepting the maybe-committed hazard) or applies its own fallback.

Fields

MinimumApiVersion

const int MinimumApiVersion

Minimum api level at which native FoundationDB idempotency is available (fdb 7.2).