- 21 Sep, 2022 1 commit
-
-
Binbin authored
In rewriteAppendOnlyFileBackground, after flushAppendOnlyFile(1), and before openNewIncrAofForAppend, we should call redis_fsync to fsync the aof file. Because we may open a new INCR AOF in openNewIncrAofForAppend, in the case of using everysec policy, the old AOF file may not be fsynced in time (or even at all). When using everysec, we don't want to pay the disk latency from the main thread, so we will do a background fsync. Adding a argument for bioCreateCloseJob, a `need_fsync` flag to indicate that a fsync is required before the file is closed. So we will fsync the old AOF file before we close it. A cleanup, we make union become a union, since the free_* args and the fd / fsync args are never used together. Co-authored-by:
Oran Agra <oran@redislabs.com> (cherry picked from commit 03fff10a)
-
- 29 Apr, 2021 1 commit
-
-
Binbin authored
Remove forward declarations from header files to functions that do not exist.
-
- 24 Dec, 2020 1 commit
-
-
Madelyn Olson authored
Cleanup key tracking documentation, always cleanup the tracking table, and free the tracking table in an async manner when applicable.
-
- 21 Nov, 2019 1 commit
-
-
Daniel Dai authored
macro fix
-
- 01 Oct, 2015 2 commits
- 27 Jul, 2015 1 commit
-
-
antirez authored
-
- 22 Nov, 2012 1 commit
-
-
antirez authored
We use this new bio.c feature in order to stop our I/O threads if there is a memory test to do on crash. In this case we don't want anything else than the main thread to run, otherwise the other threads may mess with the heap and the memory test will report a false positive.
-
- 08 Nov, 2012 1 commit
-
-
antirez authored
-
- 15 Sep, 2011 3 commits
- 13 Sep, 2011 1 commit
-
-
antirez authored
-