Tidb: How to create unique rowID on multiple node TiDB
Created on 17 Sep 2019
路
2Comments
路
Source: pingcap/tidb
I read your blog, I have a question: How will the rowID be created on multiple TiDB nodes if the table's primary key is not an int? Because rowID is unique for each table, but we have multiple node TiDB.
Most helpful comment
I got the same question and dig into the code a bit, I am not sure it's all correct but here is what I found