Giter Site home page Giter Site logo

Comments (5)

marjanoh2 avatar marjanoh2 commented on May 22, 2024 1

The most important thing is accurate synchronization. Anything to do in order to achieve this is accepted. At the moment, I'm just testing different situations to ensure it works smoothly before I use it in production.

from dotmim.sync.

Mimetis avatar Mimetis commented on May 22, 2024 1

Yep, i'm actually working on it :)

from dotmim.sync.

Mimetis avatar Mimetis commented on May 22, 2024

Thanks for this feedback.
I can reproduce this behavior and the bug is identified.
When the sync is over, a timestamp is updated in the master database.
This Timestamp contains the end of the sync process, and the next rows will be selected based on this timestamp, so far.

To resolve it, I will introduce a breaking changes for the next version:
Instead of updating the master database with the end of sync timestamp, I will update the master database with the begin of sync timestamp and then I will add a new column showing the total duration for the sync.

Why I didn't use this technic before ?

Because I used this end of sync timestamp as a kind of checkpoint: If we have such timestamp, we are sure the sync was finished, with no errors.

In the next version, having two columns (begin / end of sync) will be a little be more tricky, but I think it will be enough to guarantee the sync involved is finished (or not) without (or with) errors.

I'm actually work on this new behavior, expect a new version, very soon. But since it's a breaking changes, you will need to re-implement your whole sync architecture.

Is it making sense ? Are you just testing (in this case, breaking changes are not an issue) ?

Sebastien

from dotmim.sync.

marjanoh2 avatar marjanoh2 commented on May 22, 2024

Is there any progress?

from dotmim.sync.

Mimetis avatar Mimetis commented on May 22, 2024

hey @marjanoh2
Can you make a test with the last version 0.2.1 ?
Be careful, I changed a lot of things in the architecture of the sync process. Even the sync_scope table has changed.
You will have to make a test on a new database (Unprovision everything to be sure)

from dotmim.sync.

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.