airblade/paper_trail — Issue #109: Mysql Cluster support
Author: Fivell
Created: 2011-11-14 17:04:40+00:00
State: open

n MySQL Cluster auto_increment values are stored in the distributed database
since they are global (per table). Since it is much more expensive to manage such
counters than in a local non-distributed database, the auto_increment values are
pre-fetched in batches (currently of size 32).

so running two clients, where inseringt in the first I get 0 (since it has a batch 0 - 31) and inserting in the
second I get 32 (since it has a batch of 32-63).

So scopes of version class where primary_key is used are not working with Mysql Cluster