GithubHelp home page GithubHelp logo

Comments (3)

jordanh avatar jordanh commented on September 22, 2024

It also occurred to me that there could be an alternative way to solve this... we don't allow the app to add items to the EmbeddedMetadata table unless all the history has been added first.

The indexing process is a one-shot. After all the history is added, the refreshment doesn't need to happen again.

from parabol.

mattkrick avatar mattkrick commented on September 22, 2024

absolutely! the trick is what to do with the jobs coming from the app.

if we treated this as a migration, you could run the migration & then update the app, but we'd miss the jobs that happened in the seconds between the migration & the app starting.

we could do a 2-phase rollout:

  • part 1 updates the app so all new items get added to metadata table
  • part 2 is a migration that grabs the end = min(oldest date, r.maxval) for that metadata type in the metadata table and then processes history for r.minval, end.

from parabol.

jordanh avatar jordanh commented on September 22, 2024

I think we decided to tackle this a different way, so I'll close this for now

from parabol.

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.