Commit Graph
79 Commits
Author SHA1 Message Date
Alexis Campailla 3b1d4ec032 Move release binaries to release page
Adopting the suggestions at https://github.com/MSOpenTech/redis/issues/172
We no longer commit the binaries into the repo.
Instead, we create periodic releases on the release page.
2014-12-16 16:36:10 +01:00
Alexis Campailla 08e4226e59 Revisit time functions
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.
2014-12-04 18:26:53 +01:00
Alexis Campailla 7827f41357 Issue 173: add child process log messages to main log file
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.
2014-12-04 16:02:45 +01:00
unknown eb88474985 issue 181: config file ignored when --service-name argument passed 2014-11-13 16:41:51 -08:00
unknown 9acbc2cc68 issue 182: provide docx file content as github markdown for easier reading for those without a .docx file viewer. 2014-11-08 23:02:51 -08:00
unknown 0287e7da15 binaries for issue 170 2014-11-05 15:39:56 -08:00
Jonathan Pickett 29fa2f09a4 Replaced WIN32_IOCP guard around QueryPerformnaceCounter code with _WIN32. Updating binary package. 2014-10-28 22:01:00 -07:00
jonathan pickett 450fd83a9a I found a case where the temp-rewriteaof-old-xxxx.aof files were not being deleted. Added the _O_TEMPORARY flag to the open() call to guarantee that the underlying CreateFile call is being called with the FILE_FLAG_DELETE_ON_CLOSE. 2014-10-01 15:43:31 -07:00
jonathan pickett 51cac40c73 Added a project to take current redis version number in src\version.h and propagate this number into the release documentation and the name of the release zip file. This replaces the powershell script used previously to build the binary release package zip. 2014-09-19 17:12:12 -07:00
jonathan pickett c7b6d311df finishing 2.8.15-->2.8.16 version update 2014-09-16 18:53:49 -07:00
jonathan pickett 915c0dd656 Merge changes from Posix Redis through 2.8.15 into MSOpenTech branch 2014-09-15 18:10:10 -07:00
jonathan pickett 874c21d801 issue 166: master/slave sync with RDB > 2G. cause: off_t defined as long. longs are 4-bytes on x64 Windows. Redefined impacted vars as int64_t. 2014-09-09 19:30:36 -07:00
jonathan pickett 69a5ea090a 2.8.14 binaries with persistence-available flag 2014-09-06 14:38:11 -07:00
jonathan pickett c9c6ac2056 updated release package, nuspecs, and docs 2014-09-06 14:14:04 -07:00
jonathan pickett 1688851b13 Merge antirez 2.8.14 into MSOPENTech 2.8 branch
Conflicts:
	src/ae.c
	src/bitops.c
	src/dict.c
	src/fmacros.h
	src/hyperloglog.c
	src/networking.c
	src/redis-check-dump.c
	src/redis.c
	src/sds.c
	src/t_string.c
	src/t_zset.c
	src/util.c
2014-09-06 13:44:19 -07:00
jonathan pickett 8bea36f67b forgot to add the 2.8.13 binary to the last commit 2014-09-03 16:06:00 -07:00
jonathan pickett 0e03891633 updated release notes for 2.8.13 and updated name of pre-compiled binaries zip package 2014-09-02 20:06:06 -07:00
jonathan pickett 79afb8e15e Merge branch '2.8' of https://github.com/MSOpenTech/Redis into 2.8
Conflicts:
	src/aof.c
2014-08-19 17:45:29 -07:00
jonathan pickett 36f30412b5 issue 161: Memory allocator not compiled to be thread safe. Background AOF fsync code (bio.c) was allocating memory. This caused heap corruption. 2014-08-14 19:40:56 -07:00
jonathan pickett 31e9621f06 code review feedback on 432a38e53d7844a7bcf8131ddaa4c86d: moved heap memory mapped file into Redis sub directory under local app data folder 2014-07-31 17:23:13 -07:00
jonathan pickett 8d28cf7542 issue 155: temp-rewriteaof-old-xxxxx.aof files not being cleaned up 2014-07-31 15:53:00 -07:00
jonathan pickett f52ce3c2c7 added heapdir directive to allow for configuration of where QFork memory mapped file lives 2014-07-29 15:41:41 -07:00
jonathan pickett c6c93699cc 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. 2014-07-28 15:15:09 -07:00
jonathan pickett fb12b5738d issue 154: [save ""] not working after fix for issue 153 2014-07-23 10:34:32 -07:00
jonathan pickett dbc7669fff issue 152: master DNS alias not resolving 2014-07-22 16:54:51 -07:00
jonathan pickett 5e05dad83a issue 153: command line parsing dying on imbalanced quotes in comments 2014-07-22 15:58:40 -07:00
jonathan pickett 192b285b14 corrected the TCP keepalive code for WinSock 2014-07-21 17:35:00 -07:00
jonathan pickett d47adb19ac improved path parsing for included conf files 2014-07-21 17:33:12 -07:00
jonathan pickett b7a045d747 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. 2014-07-16 15:48:40 -07:00
jonathan pickett 4e71fc1c6f issue 145: there were a few places where our fwrite implementation was not used because of include file ordering 2014-07-15 13:13:04 -07:00
jonathan pickett 4df3af4e6e issue 146: changes to network layer between 2.8.9 and 2.8.12 broke IOCP async connect code 2014-07-14 19:57:21 -07:00
jonathan pickett 88a62862d3 issue 144: spaces in path breaking QFork child launch 2014-07-07 15:22:26 -07:00
jonathan pickett 52c98f5cb8 issue 126: fwrite() failure with buffers straddling page boundaries during background AOF save 2014-07-03 18:47:10 -07:00
jonathan pickett 9613f9a2a6 issue 143: Added more detailed error messages for ERROR_COMMITMENT_LIMIT and ERROR_DISK_FULL errors in QFork code. 2014-07-03 15:30:56 -07:00
jonathan pickett 96e0be50bb Merge branch '2.8antirez' into 2.8. Updates version from 2.8.9 to 2.8.12.
Conflicts:
	deps/hiredis/async.c
	deps/hiredis/examples/example-ae.c
	deps/hiredis/hiredis.c
	deps/hiredis/hiredis.h
	deps/hiredis/net.c
	deps/hiredis/net.h
	deps/jemalloc/COPYING
	deps/jemalloc/INSTALL
	deps/jemalloc/README
	deps/jemalloc/bin/pprof
	deps/jemalloc/config.guess
	deps/jemalloc/config.sub
	deps/jemalloc/include/jemalloc/internal/ckh.h
	deps/jemalloc/include/jemalloc/internal/hash.h
	deps/jemalloc/include/jemalloc/internal/prng.h
	deps/jemalloc/include/jemalloc/internal/ql.h
	deps/jemalloc/include/jemalloc/internal/qr.h
	deps/jemalloc/include/jemalloc/internal/quarantine.h
	deps/jemalloc/include/jemalloc/internal/rb.h
	deps/jemalloc/include/jemalloc/internal/tcache.h
	deps/jemalloc/include/jemalloc/internal/tsd.h
	deps/jemalloc/include/jemalloc/internal/util.h
	deps/jemalloc/src/bitmap.c
	deps/jemalloc/src/ckh.c
	deps/jemalloc/src/quarantine.c
	deps/jemalloc/src/tsd.c
	deps/jemalloc/test/integration/aligned_alloc.c
	deps/jemalloc/test/unit/bitmap.c
	src/aof.c
	src/redis-cli.c
	src/redis.h
	src/util.c
2014-07-01 22:54:48 -07:00
jonathan pickett 4600a06960 issue 136: --serviceName argument not recognized in config.c. 2014-06-24 17:39:47 -07:00
jonathan pickett a14400a858 issue 134: command line parsing of [save ""] broken 2014-06-23 18:55:42 -07:00
jonathan pickett 56f504cb48 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 2014-06-16 16:17:37 -07:00
jonathan pickett e5de315940 fix for issue 130: recursive .conf file includes not working 2014-06-16 12:43:44 -07:00
jonathan pickett 721a9a2467 issue 125: sentinel command line argument not being recognized 2014-06-15 08:18:38 -07:00
jonathan pickett 0713fce727 issue 123: changed error output in Win32_service and Win32_QFork to use redisLog. Also fixed a few compiler warnings. 2014-06-11 19:22:19 -07:00
jonathan pickett c83b639b45 issue 119: error reported in sentinel.tcl testing. Error expected. Moved output to loglevel verbose. 2014-06-09 13:51:14 -07:00
jonathan pickett 0df1ab8c74 issue 121: restore redis-cli command history 2014-06-09 13:34:16 -07:00
jonathan pickett ca941f6c0b chose wrong option for binaries in last merge 2014-06-05 15:36:18 -07:00
jonathan pickett d0c274bbf3 Issue 120: sentinel reporting error writing to config file. open(O_RDONLY) followed by fsync() would result in access denied error in windows. In the context of the code changed, ifdefing out fsync on Windows was the safest thing to do. 2014-06-05 15:18:25 -07:00
jonathan pickett d4051d4c38 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. 2014-05-29 22:33:19 -07:00
jonathan pickett 4f0e17fb35 issue #93: cleaning up memory mapped files left over in cases where FILE_FLAG_DELETE_ON_CLOSE will not clean up file 2014-05-27 17:37:10 -07:00
jonathan pickett e97604ce63 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. 2014-05-22 14:36:35 -07:00
jonathan pickett 1c3b70c971 Finishing merge of branch '2.8.4_msopen' of https://github.com/MSOpenTech/redis into 2.8.4_msopen
Conflicts:
	bin/release/redis-2.8.4.zip
	src/Win32_Interop/Win32_QFork.cpp
	src/sds.c
2014-05-16 12:49:22 -07:00
jonathan pickett 3ee3c4bdaf Merge branch 'antirez_2.8' into 2.8.4_msopen. Bumps version from 2.8.4 to 2.8.9
Conflicts:
	00-RELEASENOTES
	deps/linenoise/linenoise.c
	src/anet.c
	src/debug.c
	src/redis-cli.c
	src/redis.c
	src/sentinel.c
	src/t_zset.c
2014-05-15 19:18:26 -07:00