I solve de problem. my db cluster has an option called AUTO_ID_CACHE, it make auto_increment skips 30000 numbers. when you create a database, set AUTO_DB_CACHE 1 to avoid that behavior.
ENGINE=InnoDB AUTO_ID_CACHE 1;