File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -1907,19 +1907,6 @@ void ProcessPendingAsyncWrites()
19071907 zfree (c->replyAsync );
19081908 c->replyAsync = nullptr ;
19091909 c->fPendingAsyncWrite = FALSE ;
1910-
1911- // Now install the write event handler
1912- int ae_flags = AE_WRITABLE|AE_WRITE_THREADSAFE;
1913- /* For the fsync=always policy, we want that a given FD is never
1914- * served for reading and writing in the same event loop iteration,
1915- * so that in the middle of receiving the query, and serving it
1916- * to the client, we'll call beforeSleep() that will do the
1917- * actual fsync of AOF to disk. AE_BARRIER ensures that. */
1918- if (g_pserver->aof_state == AOF_ON &&
1919- g_pserver->aof_fsync == AOF_FSYNC_ALWAYS)
1920- {
1921- ae_flags |= AE_BARRIER;
1922- }
19231910
19241911 if (!((c->replstate == REPL_STATE_NONE ||
19251912 (c->replstate == SLAVE_STATE_ONLINE && !c->repl_put_online_on_ack ))))
You can’t perform that action at this time.
0 commit comments