When the follower is started with —helper flag, I ...
# questions-and-troubleshooting
g
When the follower is started with —helper flag, I understood that this will enable the follower to sync up meta data from the leader, I wonder how do I know the sync up is complete? Just a bit of background, we have a test Env, we only have one FE running, but we want to switch to another machine and use that machine as FE, and turn the current FE to a BE. What we did is to start a FE follower with —helper flag, this will enable the follower to sync meta data from the current FE, once synced, we will shutdown the current leader, but i can’t seem to find documentation on how to check when the sync will be completed. Btw, we have switched off all data ingestion. Thx
k
https://docs.starrocks.io/docs/sql-reference/sql-statements/cluster-management/nodes_processes/SYNC/ this sql command may help to ensure the journal synced as of the time it runs and then turn off the leader.