Git Product home page Git Product logo

Comments (3)

dongdongcai avatar dongdongcai commented on May 15, 2024 1

Update this issue:
We can override consistency level after upgrade Document.Core to 2.0.0 preview.
However, strong consistency is not supported for cosmosDB with multi-region right now.
The consistency level which is stronger than session consistency(what we are using right now) is bounded staleness but It doesn't have a guarantee that one can read their own write while session consistency does. Without the guarantee that one can read their own write, We can not pass the integration test in Foldunk.
So for resync, we can only do retry for equinox right now.

from equinox.

bartelink avatar bartelink commented on May 15, 2024

Another opportunity (which is probably goldplating, as conflict is not a frequent thing...), is to have the write operation include the conflicting data in the response immediately to avoid an immediate roundtrip to obtain the data.

from equinox.

bartelink avatar bartelink commented on May 15, 2024

Fixed (and implemented second idea) in #42 - all writing is now through a stored procedure which gates the adding of items; this same stored procedure also emits the conflicting events.

from equinox.

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.