Tombstone vs nodetool and repair

后端 未结 2 1139
迷失自我
迷失自我 2021-01-14 09:15

I inserted 10K entries in a table in Cassandra which has the TTL of 1 minute under the single partition.

After the successful insert, I tried to read all the data f

2条回答
  •  夕颜
    夕颜 (楼主)
    2021-01-14 10:04

    New cassandra support .

    $ ./nodetool garbagecollect
    

    After this command "Transfer memory to disk, before restart"

    $ ./nodetool drain    # "This closes connection after that, clients can not access. "
    

    Shutdown cassandra and restart again. "You should restart after drain. "

    ** You do not need to drain, ! but, depends on situation.! These are extra informations.

提交回复
热议问题