Master queryservuce disallow if filter-replicating and fix race condition in post action callback
Merge branch 'master' into liguo
Reuse shardinfo in action callback
Merge branch 'master' into liguo
Small change to use a real type.
Merge branch 'replication'
Show time delayed from enqueued to executed for vttablet after-action callback
Merge branch 'master' into liguo
Adding an extra check to SlaveWasPromoted.

To make sure the new master is indeed a master.
Merge branch 'replication'
Handling zookeeper.STATE_CONNECTING as an error.

It turns out that if we go to zookeeper.STATE_CONNECTING state,
and we issue a query, the query fails with 'connection loss'
(that's good), but the session event handler never gets called again,
and the session is stuck in a broken state (that's really bad).
It seems if we don't issue any query before zookeeper.STATE_CONNECTED,
the connection recovers and works as expected (that's good).
We have no way however to distinguish between the two cases.

(note zkocc already does this, and it works much better it seems).
Reparent and rebuild changes.

Two fixes to improve the stability of the system:

- when we ShardExternallyReparent, if a slave has the wrong master,
we keep it in the replication graph with its current master.
That way it will still be discovered properly.

- when we rebuild the serving graph, we skip tablets which have
the wrong master (as in: not the master in ShardInfo). They're not
replicating properly, they shouldn't be serving.
sendReply -> sendTransaction
include statement types in BinlogTransaction
fix binlog_streamer_test
New EventStreamer API for update stream

The new API is different from binlog_parser because
it only transmits the group id. Also, the API now
sends differnt object types (DDL, DML, or position).
The new position is only sent at the end of a transaction.
This ensures that retries will cause the events from the
current transactions to be resent in case of mid-transaction
failures.
Typ->Category
Merge branch 'new-binlog-streamer'
Vtctld redirects for the serving graph.
Merge branch 'master' of github.com:youtube/vitess