add replication.thrift.