It's not a drop-in, but several very large websites migrated from MySQL to TiDB, so it definitely is an option.
Source? I'm guessing you're referring to Mobike and Yiguo... any others?
Those two are just case studis. There is a fuller list here: https://pingcap.com/docs/adopters/
Re:MySQL High Availability at GitHub
by shenli3514 on Wednesday June 20, 2018 @09:31PM
(#17361340)
TiDB developer here.
There are more than one hundred companies who use TiDB in their production environment. The number keeps growing. The link in sanxiyn's post shows part of them. I think it is safe to say that TiDB is mature enough.
Furthermore, protocol-compatible doesn't directly imply API-compatible (I'm thinking of very very subtle differences between things like datatypes or isolation level behavior). I know a bit more about CockroachDB, which consciously does some things differently from Postgres.
[1] https://github.com/pingcap/tidb/issues/2712