cobar icon indicating copy to clipboard operation
cobar copied to clipboard

a problem about auto_increase

Open Sochene opened this issue 12 years ago • 1 comments

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 : 2 512

when i insert 1 row into cobar without special id, cobar generate 2 row in 2 database

Sochene avatar Jul 11 '14 08:07 Sochene

insert sql must have a partition key, and partition key does not support auto_increase.

hexianmao avatar Jul 14 '14 02:07 hexianmao