youtube/vitess — pull request #171 by sougou (2014-11-25 05:42:10+00:00)
Title: tabletserver: DML workaround for MariaDB

It turns out that MariaDB's optimizer triggers
a full table scan if the number of rows affected by a DML
exceeds a rather low amount. So, we need to break up our
updates into multiple chunks if we need to modify too many
rows. Default is set at 500.