Skip to content

Search EricksonLopez.* Ecosystem

Type a library name, NuGet package ID, .NET type, or architectural concept to search across the portal.

Troubleshooting — EricksonLopez.Concurrency

Common failure modes when adopting EricksonLopez.Concurrency (2.0.0).

  • Symptom: Version checks unexpectedly fail for existing rows when ExpectedVersion was omitted or left as default.
  • Fix: Explicitly pass ExpectedVersion.Any, ExpectedVersion.Exists, or ExpectedVersion.Specific(v).
  • Reentrancy (v2.0.0): Calling ExecuteCasAsync recursively inside its own mutate delegate triggers the AsyncLocal non-reentrancy guard. Refactor nested updates into sequential CAS operations.
  • Blank entityId: ExecuteCasAsync and ExecuteOptimisticAsync enforce ArgumentException.ThrowIfNullOrWhiteSpace(entityId).
  • Symptom: Compiler resolves Result to namespace EricksonLopez.Concurrency.Result instead of EricksonLopez.Result.Result.
  • Fix: Add using ResultOutcome = EricksonLopez.Result.Result; in files importing EricksonLopez.Concurrency.Result.