Note that this question was originally posted on the Chinese TiDB Forum. We copied it here to help new users solve their problems quickly.
Application environment
POC environment
TiDB version
TiDB v6.1.0
Reproduction method
- I built the TiFlash replica by library.
ALTER DATABASE test SET TIFLASH REPLICA 1;
-
I created a new table in this library and wrote data to it.
-
I checked the synchronization progress but found that nothing was synchronized to the new table.
SELECT * FROM information_schema.tiflash_replica WHERE TABLE_SCHEMA = 'test';
Problem
I did ALTER DATABASE test SET TIFLASH REPLICA 1
again and it worked. I’m not sure if it’s a bug or an expected result.
After the TiFlash replica is built by library, will the new table be automatically synced?