Skip to content

Commit

Permalink
chore: add upgrade recommend for migration (#157)
Browse files Browse the repository at this point in the history
* add recommend of upgrade to v2.0.5

* update

* Update deploy/migrate-to-sql-backend.mdx

Signed-off-by: hengm3467 <[email protected]>

---------

Signed-off-by: hengm3467 <[email protected]>
Co-authored-by: hengm3467 <[email protected]>
  • Loading branch information
yezizp2012 and hengm3467 authored Jan 2, 2025
1 parent c22b930 commit f74131d
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions deploy/migrate-to-sql-backend.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,10 @@ The migration process from etcd to a SQL backend is performed offline, so we rec

Follow the steps below to migrate an existing cluster from the etcd backend to a SQL backend.

1. Stop all components except etcd
1. Upgrade the cluster to version 2.0.5, which includes important migration fixes.
2. Stop all components except etcd
To safely migrate your metadata, stop all running components of the RisingWave cluster, except the etcd service. This ensures that no new data is written to etcd during the migration process.
2. Run the migration command
3. Run the migration command
Execute the RisingWave migration command to transfer metadata from etcd to the SQL backend. You need to provide the necessary options, including the addresses for both the etcd source and the SQL backend target.
```
risingwave ctl meta migration --etcd-endpoints <etcd_address> --sql-endpoint <sql_address> -f
Expand Down

0 comments on commit f74131d

Please sign in to comment.