[crdb@crdb01 crdb_v20.2.3]$ cockroach node recommission 4 --certs-dir=certs --host=crdb01 ERROR: can only recommission a decommissioning node; n4 found to be decommissioned Failed running "node recommission"

[crdb@crdb01 crdb_v20.2.3]$ cockroach node recommission 4 --certs-dir=certs --host=crdb01
ERROR: can only recommission a decommissioning node; n4 found to be decommissioned
Failed running “node recommission”

I tested to remove a node, now I can’t add it back,Thank you

Hi! In this case, you have to add a different node into the cluster. There is not way to recommission a node that has been fully decommissioned already. Check out the docs here: Decommission Nodes | CockroachDB Docs