[
https://issues.apache.org/jira/browse/CASSANDRA-20991?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Brandon Williams updated CASSANDRA-20991:
-----------------------------------------
Resolution: Duplicate
Status: Resolved (was: Triage Needed)
Truncate requires all nodes to be up until CASSANDRA-19130 is completed.
> Drop table vs truncate table commands behaviors
> -----------------------------------------------
>
> Key: CASSANDRA-20991
> URL: https://issues.apache.org/jira/browse/CASSANDRA-20991
> Project: Apache Cassandra
> Issue Type: Bug
> Components: Consistency/Coordination
> Reporter: Petrit
> Priority: Normal
>
> We are experimenting with drop table and truncate command and are observing
> conflicting behaviors while having nodes down.
> Drop table is able to execute even though nodes are down, if the dropped
> table is later re-created it will get a new schema ID assigned.
> However, truncate requires all nodes to be up for truncate to work. Even
> though the nodes are not part of the replicas for the keyspace.
> Is this expected behavior for the two commands? I would expect the following:
> - Truncate to only require replicas of the keyspace to be up
> - Drop table to require all nodes to be up as schema ID is re-created (if
> table is re-created)
>
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]