- 09 3月, 2015 1 次提交
-
-
由 Alexis Campailla 提交于
Also introducing some utility functions for translating Windows error codes to errno error codes. This part was adapted from existing code in libuv: https://github.com/libuv/libuv/blob/v1.x/src/win/error.c
-
- 25 2月, 2015 2 次提交
-
-
由 Alexis Campailla 提交于
getpeername() is returning invalid addresses on ipv6 sockets accepted with AcceptEx, filling only 16 bytes of the address structure. Providing a workaround by saving the remote address returned by GetAcceptExSockaddrs, which is valid.
-
由 Alexis Campailla 提交于
-
- 06 2月, 2015 3 次提交
-
-
由 Alexis Campailla 提交于
During diskless replication the master forks a child, which on posix simply inherits the socket file descriptors for the connections to the slaves. A unix pipe is also used for the child to report the results back to the master. The bulk of the porting work is in making sure that the socket file descriptors and pipe file descriptor are propagated correctly from the master to its child.
-
由 Alexis Campailla 提交于
There is no apparent reason for the child to wait for the startOperation event to be signaled.
-
由 Alexis Campailla 提交于
Refactor BeginForkOperation in preparation for diskless replication: - Separate copying of operation data and child process creation - Provide specific entry points for each operation type
-
- 02 2月, 2015 1 次提交
-
-
由 Alexis Campailla 提交于
-
- 21 12月, 2014 1 次提交
-
-
由 Alexis Campailla 提交于
Commit 08e4226e broke redis-benchmark. Made time function initialization automatic on first execution. Added explicit initialization of time functions in redis-benchmark, to avoid additional cost on first benchmark execution.
-
- 05 12月, 2014 1 次提交
-
-
由 Alexis Campailla 提交于
Addressing https://github.com/MSOpenTech/redis/issues/188 - Made gettimeofday use GetSystemTimePreciseAsFileTime when available - Introduced definitions for gettimeofday_fast and gettimeofday_precise, so that calls can be specialized based on specific usage requirements - Introduced GetHighResRelativeTime, for high-resolution relative time measurements on all Windows versions.
-
- 04 12月, 2014 1 次提交
-
-
由 Alexis Campailla 提交于
Slave processes were not using the master process log file. On Unix this is relying on the server.logfile variable being available to the slave processes through fork(), and reopening the logfile in the slaves (on every log event). On Windows we don't use server.logfile and require an explicity call to setLogFile. I resorted to explicitly passing the logfile to the slaves as a command line argument, so the logfile argument (and logging) can be available to the slave before qfork and globals setup have completed. Writing to the same file atomically from multiple processes requires using CreateFile with FILE_APPEND_DATA, instead of fopen, which provides atomicity on Unix but not on Windows. Also changed the implementation to not reopen the logfile on every log event, and not flushing the file on every write. Performance is dramaticaly improved this way.
-
- 14 11月, 2014 1 次提交
-
-
由 unknown 提交于
-
- 06 11月, 2014 1 次提交
-
-
由 unknown 提交于
-
- 24 9月, 2014 1 次提交
-
-
由 jonathan pickett 提交于
Restoring the ability to compile without IOCP. To do so remove the WIN32_IOCP definition in the C/C++\Preporcessor\Preprocessor Definitions in all projects. Performance is 30-40% better with IOCP.
-
- 17 9月, 2014 1 次提交
-
-
由 jonathan pickett 提交于
-
- 07 9月, 2014 1 次提交
-
-
由 jonathan pickett 提交于
-
- 15 8月, 2014 1 次提交
-
-
由 jonathan pickett 提交于
issue 161: Memory allocator not compiled to be thread safe. Background AOF fsync code (bio.c) was allocating memory. This caused heap corruption.
-
- 13 8月, 2014 1 次提交
-
-
由 jonathan pickett 提交于
-
- 01 8月, 2014 1 次提交
-
-
由 jonathan pickett 提交于
code review feedback on 432a38e53d7844a7bcf8131ddaa4c86d: moved heap memory mapped file into Redis sub directory under local app data folder
-
- 30 7月, 2014 1 次提交
-
-
由 jonathan pickett 提交于
-
- 29 7月, 2014 1 次提交
-
-
由 jonathan pickett 提交于
Service install with a full path to the conf file was failing. Part of this was due to not passing quotes along with arguments with spaces. The other part was not adding access allowed ACEs on all accessed paths.
-
- 24 7月, 2014 1 次提交
-
-
由 jonathan pickett 提交于
-
- 23 7月, 2014 2 次提交
-
-
由 jonathan pickett 提交于
-
由 jonathan pickett 提交于
-
- 22 7月, 2014 1 次提交
-
-
由 jonathan pickett 提交于
-
- 17 7月, 2014 1 次提交
-
-
由 jonathan pickett 提交于
Creation of QFork memory mapped file now respects the 'dir' .conf file directive. This allows for the QFork file to live in separate directory from the main executable.
-
- 15 7月, 2014 1 次提交
-
-
由 jonathan pickett 提交于
-
- 08 7月, 2014 1 次提交
-
-
由 jonathan pickett 提交于
-
- 04 7月, 2014 2 次提交
-
-
由 jonathan pickett 提交于
-
由 jonathan pickett 提交于
issue 143: Added more detailed error messages for ERROR_COMMITMENT_LIMIT and ERROR_DISK_FULL errors in QFork code.
-
- 24 6月, 2014 1 次提交
-
-
由 jonathan pickett 提交于
-
- 17 6月, 2014 2 次提交
-
-
由 jonathan pickett 提交于
if "redis-server --service-install config.conf" and the .conf file had an include statement, then "redis-server --service-start" would fail because the current directory was set to %systemdir% on startup. Changed the current directory to the executable directory when --service-run is encountered
-
由 jonathan pickett 提交于
-
- 15 6月, 2014 1 次提交
-
-
由 jonathan pickett 提交于
-
- 12 6月, 2014 1 次提交
-
-
由 jonathan pickett 提交于
issue 123: changed error output in Win32_service and Win32_QFork to use redisLog. Also fixed a few compiler warnings.
-
- 02 6月, 2014 2 次提交
-
-
由 jonathan pickett 提交于
-
由 jonathan pickett 提交于
-
- 30 5月, 2014 1 次提交
-
-
由 jonathan pickett 提交于
issue 105: 32-bit version not running on server 2003. Adjusted project settings and selected APIs in use via runtime version checks and windows version macro.
-
- 28 5月, 2014 1 次提交
-
-
由 jonathan pickett 提交于
issue #93: cleaning up memory mapped files left over in cases where FILE_FLAG_DELETE_ON_CLOSE will not clean up file
-
- 23 5月, 2014 1 次提交
-
-
由 jonathan pickett 提交于
issue #112: Adding permission for NETWORK_SERVICE on the folder redis-server.exe is in during --service-install. This allows for RDB files to be written and for .conf files to open in RW mode. Fixed a documentation typo.
-
- 16 5月, 2014 1 次提交
-
-
由 jonathan pickett 提交于
Issue 108: Added 32-bit support back in. QFork code requires a contiguous memory allocation for heap. Due to this requirement and 32-bit memory model limitations, maxheap is limited to about 512MB in 32-bit executable. 32-bit version appears to be about 30% slower than 64-bit version on 64-bit OS.
-