Good afternoon.
Our organization is serving many web applications from a 'cluster' of LAMP servers. They are sharing storage on a RAID with GFS and Red Hat Cluster Suite is providing high-availability failover. All three machines are running apache. A pair of load-balancing directors are forwarding requests to them using LVS (ipvsadm and such). The idea is to make the three machines in the cluster behave as one, transparent to the end user.
Two of these machines are configured with Master-Master MySQL replication. This means that each is the other's slave, so that any write operation to either database server is [almost] immediately duplicated to the other. Each of our sites are pointed to localhost, assuming that data will be consistant across servers. For all of our in-house web applications this works fine, providing both load-balancing and high-availability.
Drupal, however, is able to 'break' this replication. Every once in a while, replication encounters errors and stops. They're always duplicate key errors for INSERT statements, and they look something like this one: