nodetool reloadlocalschema¶
Reloads the local schema from disk.
Synopsis¶
nodetool [connection_options] reloadlocalschema
Description¶
nodetool reloadlocalschema re-reads the schema definition from the local system tables. This can help resolve schema disagreements or refresh schema after manual modifications.
Examples¶
Basic Usage¶
nodetool reloadlocalschema
When to Use¶
Schema Disagreement¶
# Check for schema disagreement
nodetool describecluster | grep -A 5 "Schema versions"
# If disagreement exists, try reloading
nodetool reloadlocalschema
After Schema Recovery¶
# After restoring schema from backup
nodetool reloadlocalschema
Troubleshooting¶
Persistent Schema Issues¶
# 1. Check schema versions
nodetool describecluster
# 2. Reload local schema
nodetool reloadlocalschema
# 3. If issues persist, consider resetlocalschema
nodetool resetlocalschema
Related Commands¶
| Command | Relationship |
|---|---|
| resetlocalschema | Reset schema from cluster |
| describecluster | View schema versions |