message: verify that the connection is currently from the master in PikaBinlogReceiverThread::Handles::AccessHandle()
diff: @@ -39,11 +39,10 @@ bool PikaBinlogReceiverThread::Handles::AccessHandle(std::string& ip) const {
  ip = g_pika_server->host();
  }
  LOG(INFO) << "Master Binlog Sender: " << ip << " connecting";
  - // if (binlog_receiver_->thread_rep_->conn_num() != 0 ||
  - // if (!g_pika_server->ShouldAccessConnAsMaster(ip)) {
  - // LOG(WARNING) << "BinlogReceiverThread AccessHandle failed: " << ip;
  - // return false;
  - // }
  + if (!g_pika_server->ShouldAccessConnAsMaster(ip)) {
  + LOG(WARNING) << "BinlogReceiverThread AccessHandle failed: " << ip;
  + return false;
  + }
  g_pika_server->PlusMasterConnection();
  return true;
  }
  