youtube/vitess — pull request #197 by guokeno0 (2014-12-03 03:16:11+00:00)
Title: jeffjiang: split current mixed QueryRules into three isolate QueryRules by the source of the rules

Currently, Vitess' query rules can come from three sources:

Tablet keyspace range from Topo Server
Blacklisted tables from Topo Server
CustomRule from local file
Mixing the three into one QueryRules structure may cause namespace confusion to users, it may also cause ambiguity when updating QueryRules. After grouping the rules by their sources, each QueryRules structure will only come from a single source, thus clarifying the namespace, which is the best for rule updating logics