Coder Social home page Coder Social logo

Comments (4)

thibaultcha avatar thibaultcha commented on May 12, 2024
  • Agree for running the migration the first time.
  • Agree for the message saying the migration is not up to date
  • Disagree for the [y/n] quick migration process. A migration is something that should not happen too often. It is something a user should really think through: backup the data, shutdown or maintenance-mode his kong cluster, run, check if good, bring back up. Emphasis on backup the data because I think it's the most important one and will be required even for single-node, non-cassandra clusters in the future.

from kong.

subnetmarco avatar subnetmarco commented on May 12, 2024

Regarding you third point, I agree. In the future, we could treat potential breaking migrations differently. For example a potential breaking migration is something that updates an existing table and the user should be careful doing it. But on the other side a migration that just adds new tables to the keyspace won't do any harm to the existing data, so we should still notify the user but we can let him execute the migration after showing a [y/n] prompt.

from kong.

thibaultcha avatar thibaultcha commented on May 12, 2024

Maybe later, but I think it's out of scope at this point. And I still don't think we should quick run migrations anyways. Big or small ones.

Let's make quick easy first migration, and an error if not migrated to the latest available. And pretty print any error. That's in the scope of the current state of Kong, being in beta etc. Will close this issue once done.

from kong.

subnetmarco avatar subnetmarco commented on May 12, 2024

Ok I agree. Let's implement the first two points.

from kong.

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.