Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 5942543
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 22, 20262026-05-22T16:16:05+00:00 2026-05-22T16:16:05+00:00

I read that once you drain a node you can delete the files and

  • 0

I read that once you drain a node you can delete the files and then restart. It works fine,
but I tried it only by draining all nodes, shutting down the the whole cluster, deleting the files and restarting.

What happens if I restart only one node at the time? As far as I understood there is a risk
that the restarted node will accept read requests and perform read repair using data from other replica.

Does anybody know the most failsafe procedure to truncate a keyspace while leaving the whole cluster up and running in order to serve other keyspaces?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-22T16:16:06+00:00Added an answer on May 22, 2026 at 4:16 pm
    $ bin/cassandra-cli -h localhost
    [default@unknown] use keyspace1;
    Authenticated to keyspace: Keyspace1
    [default@Keyspace1] truncate standard1;     
    standard1 truncated.
    

    By design, this is not race-proof (that would require heavyweight locking); normally you would only atruncate a CF that isn’t serving live reads anyway. but if for some reason you must, disable read repair first (“update column family standard1 with read_repair_chance=0”).

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

This is one of those things that you read once, say aha! and then
I've read that there is some compiler optimization when using #pragma once which can
I read that non mutable data types can't be modified once created.(eg NSString or
I once read that one way to obtain a unique filename in a shell
I read somewhere once that the modulus operator is inefficient on small embedded devices
I've often read that corporations will save millions once Internet Explorer 6 is finally
I always read that it is recommended to set objects to nothing, once I
Once I read in a statement that The language feature that sealed the deal
I read that you should define your JavaScript functions in the <head> tag, but
I once read that having nullable types is an absolute evil. I believe it

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.