Upgrade Meta Service
Overview
This guide will walk you through the process of upgrading your Databend Meta Service to a newer version. The upgrade process involves downloading the new release package, replacing the binary, and restarting the service.
Download New Release
-
Follow the download instructions in Prepare Package Environment to download the new release package.
-
Extract the package:
tar xzf databend-v1.2.755-nightly-x86_64-unknown-linux-gnu.tar.gz
Upgrade Meta Service
-
Check the current cluster status:
databend-metactl statusVerify that all nodes are healthy and note the current leader node.
-
Replace the binary files:
sudo cp bin/databend-meta /usr/bin/
sudo cp bin/databend-metactl /usr/bin/
sudo chmod +x /usr/bin/databend-meta
sudo chmod +x /usr/bin/databend-metactl -
Restart the Meta Service:
sudo systemctl restart databend-meta -
Check the service status:
# Check the service is running
sudo systemctl status databend-meta -
Verify the upgrade:
# Check the cluster status
databend-metactl status
Troubleshooting
If you encounter issues during the upgrade:
-
Check the service status:
sudo systemctl status databend-meta -
View the logs for detailed error messages:
sudo journalctl -u databend-meta -f -
If the upgrade fails, you can rollback by:
- Restoring the previous binary
- Restarting the service
Next Steps
After successfully upgrading the Meta Service, you can:
- Scale Meta Service Nodes (for multi-node deployment)
- Upgrade Query Service (if needed)