Giter Site home page Giter Site logo

I get WrongExpectedVersionException when I send two requests with minimal delay in production cluster about eventstore-client-dotnet HOT 2 CLOSED

eventstore avatar eventstore commented on May 29, 2024
I get WrongExpectedVersionException when I send two requests with minimal delay in production cluster

from eventstore-client-dotnet.

Comments (2)

bartelink avatar bartelink commented on May 29, 2024

What code did you write? saying you're "using optimistic concurrency" is an ambiguous statement.

I suspect SELECT is not broken in this instance - everyone "uses optimistic concurrency"; the semantics are as described in the docs you reference

You might find the discussion and walkthrough I provide in this feature idea helps you think about the overall semantic and/or might help you to handle the conflicts you encounter: EventStore/EventStore#1652

from eventstore-client-dotnet.

oskardudycz avatar oskardudycz commented on May 29, 2024

I'm closing that because of the inactivity. I'm willing to reopen it if that still occurs. To diagnose it better, we'd need more information, e.g.:

  • sample append event code,
  • information how you're providing version (Any, specific one, etc.),
  • information if you're setting the same event id or not,
  • etc.

P.S. ESDB versions 4 and 5 are out of support, and the TCP client is considered legacy. We recommend migrating to the latest versions and gRPC client.

from eventstore-client-dotnet.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.