+ /* If this event fired after the user turned the instance into a master
+ * with SLAVEOF NO ONE we must just return ASAP. */
+ if (server.replstate == REDIS_REPL_NONE) {
+ close(fd);
+ return;
+ }
+
+ redisLog(REDIS_NOTICE,"Non blocking connect for SYNC fired the event.");