[Dbix-class] Dynamically removing an auto-increment column

Peter Rabbitson rabbit+dbic at rabbit.us
Tue Dec 8 20:36:52 GMT 2009


Steve Bertrand wrote:
> (Un)fortunately, this was a case of reading from a stale replicated
> MySQL server...

Are you doing the reading manually or are you using the Replicated
storage driver? If the former - take a look at Replicated. If the
later - make sure you wrap your inserts in a transaction - this will
trigger an "always-read-from-master" mode.

Cheers



More information about the DBIx-Class mailing list