Git Product home page Git Product logo

Comments (1)

Jadw1 avatar Jadw1 commented on June 14, 2024

It's also worth mentioning that this procedure requires proper support in cqlsh. The current implementation intercepts both DESC SCHEMA and DESC SCHEMA WITH INTERNALS and handles them in a special way, leading to wrong results for the latter query. This is already tracked in scylladb/scylla-cqlsh#17. Because using an old cqlsh version will lead to an incorrect schema dump which might not be sufficient to restore the schema later, it's very important to inform the users that they must use the right version of cqlsh (and tell them to check it before doing backup).

Is server-side describe used by Scylla and scylla-cqlsh at all?

Here in scylla-cqlsh: https://github.com/scylladb/scylla-cqlsh/blob/master/bin/cqlsh.py#L1593, cqlsh will do client-side describe when connection_versions['build'][0] < '4' and server-side describe otherwise.
But in Scylla: https://github.com/scylladb/scylladb/blob/master/version.hh#L27, version value is 3.0.8. connection_versions in cqlsh is not a the Scylla version (like upcoming 6.0).

@avelanarius I think we discussed a some time ago all requirements to bump up connection_versions and maintain compatibility with cassandra.
Cc @fruch

from scylladb.

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.