cobar
cobar copied to clipboard
a problem about auto_increase
i have 1 logical table ,separate into 2 physical tables ,put them into 2 database . then make the 2 database as 2 datanode into cobar.
the table have 1 column 'id' auto_increase.
use the rule :
when i insert 1 row into cobar without special id, cobar generate 2 row in 2 database
insert sql must have a partition key, and partition key does not support auto_increase.