GithubHelp home page GithubHelp logo

Comments (6)

kbr-scylla avatar kbr-scylla commented on June 16, 2024

As part of this information, we can instruct the user what to do --- i.e. the same as we do in tests --- clear the node's work directory before restarting (so we basically start a completely new node). It can still use the same IP though.

from scylladb.

kbr-scylla avatar kbr-scylla commented on June 16, 2024

cc @annastuchlik @tzach

from scylladb.

tzach avatar tzach commented on June 16, 2024

we ban the node (using its host ID) if it fails to join the cluster.

  • Why can this might happen?
  • How can the user identify this issue?
  • How can the user fix this issuer (change host id? how?)

from scylladb.

kbr-scylla avatar kbr-scylla commented on June 16, 2024

Why can this might happen?

Any failed bootstrap. For example: the node crashed, or user killed/shutdown it while it was bootstrapping, or there was a network partition that caused failure in streaming/repair phase.

How can the user identify this issue?

The booting node will fail to boot and shutdown. Or it will hang, and topology coordinator logs will show that it decided to abort the procedure. Node will be marked as LEFT in system.topology

How can the user fix this issuer (change host id? how?)

Purge the node (remove workdir). The user can join a new node (if they want they can use the same machine and IP, but it will be a new node due to fresh workdir)

from scylladb.

tzach avatar tzach commented on June 16, 2024

Node will be marked as LEFT in system.topology

SELECT * from system.topology, any node in status LEFT can not rejoin the clutser.
But how do I know the node hostid to correlate the two?

Purge the node (remove workdir).

You mean this procedure?
https://opensource.docs.scylladb.com/stable/operating-scylla/procedures/cluster-management/safely-removing-joining-node.html

from scylladb.

kbr-scylla avatar kbr-scylla commented on June 16, 2024

But how do I know the node hostid to correlate the two?

From joining node's logs, it prints Setting local host id to X somewhere at the beginning of startup, and there is also the /storage_service/hostid/local REST endpoint

You mean this procedure?

yes

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.