Commit Graph
4685 Commits
Author SHA1 Message Date
Enrico Giordani fdbf5328c2 MapViewOfFileEx() error handling, UnhandledExceptiontHandler fixes.
[log] Improved error message if MapViewOfFileEx() fails.
[fix] Child process call exist(1) if MapViewOfFileEx() fails.
[new] GetForkOperationStatus() now detects if the child process is not anymore running.
[fix] Error reporting in UnhandledExceptiontHandler() for "UNKNOWN EXCEPTION".
[new] UnhandledExceptiontHandler() now calls the default C++ unhandled exceptiont handler.
[log] Changed the closing statement of the BUG REPORT.
[comment] Removed commented out code in Win32_dlmalloc.c.
2015-06-24 17:43:54 +02:00
Enrico Giordani 05b20f0e4b Change BUG REPORT closing message to point to a different git hub page. 2015-06-24 13:05:53 +02:00
Enrico Giordani 1cb3e84814 ReleasePackagingTool changes:
[change] the release notes file is not anymore generated from a template
 [change] the .md files are not anymore generated from the .docx files
 [new] added redis-server.pdb symbols to the zip package file
 [fix] create the release package directory if it doesn't exist
2015-06-24 11:59:45 +02:00
Enrico Giordani 8ea708f9e1 New release notes format (similar to Redis on UNIX) 2015-06-24 01:21:27 +02:00
Enrico Giordani e2df601222 Fixed broken link in README. 2015-06-24 01:16:02 +02:00
Enrico Giordani 93d00065e4 Minor update to the README. 2015-06-24 01:12:49 +02:00
Enrico Giordani bd2ee4d2da Warning message in config files for the maxmemory flag. 2015-06-23 23:40:50 +02:00
Enrico Giordani 2943ec7db6 Cleaned up the UnhandledExceptiontHandler() code.
Minor changes.
2015-06-23 21:56:31 +02:00
Enrico Giordani b805f2be89 Calling abort() in redisOutOfMemoryHandler().
Changed out-of-memory error report.
2015-06-23 19:02:03 +02:00
Enrico Giordani 18a653318d Commented out printf calls in dlmalloc. 2015-06-23 18:55:53 +02:00
Enrico Giordani f01052fb5d Changed #if defined(_WIN64) to #ifdef _WIN64
It was causing an appveyor build failure.
2015-06-23 18:44:32 +02:00
Enrico Giordani a4865f06a9 'save' config flag added to the 'incompatibleNoPersistenceCommands' list.
The fix prevents redis-server from crashing if the 'save' flag is set and
'persistence-available' is set to 'no'.
2015-06-23 18:15:20 +02:00
Enrico Giordani 3de4f6cb47 Change misleading variables/functions names: master->parent, slave->child.
Master and Slave labels were using for the Parent and Child processes.
2015-06-23 16:54:23 +02:00
Enrico Giordani 453b582eed Updated authors and description for nuget and chocolatey. 2015-06-23 13:46:45 +02:00
Enrico Giordani e91c9eeef7 Merge branch '2.8-enrico' of https://github.com/janeasystems/redis-private into 2.8-enrico 2015-06-23 13:40:41 +02:00
Enrico Giordani dc3285af0b Update Redis on Windows Release Notes.md 2015-06-23 11:42:51 +02:00
Enrico Giordani 5c05765d9a Typos in warning message. 2015-06-22 21:23:08 +02:00
Enrico Giordani 510cc9bd3e Replaced AddVectoredExceptionHandler with SetUnhandledExceptionFilter
for unhandled exception handling.
Added log warning if the maxmemory flag is not set.
2015-06-22 19:57:52 +02:00
Enrico Giordani 4993487b25 Fixed links in README. 2015-06-22 17:33:41 +02:00
Enrico Giordani 710d179f91 Added text to links. 2015-06-22 17:25:21 +02:00
Enrico Giordani 04c1ba4c56 Updated documentation. 2015-06-22 17:15:48 +02:00
Enrico Giordani 019d317a10 Use MEM_TOP_DOWN flag to allocate memory for memtest. 2015-06-22 13:58:40 +02:00
NickMRamirez 3b4bd2f84e Added logic to prevent firewall exception from being added if the Windows Firewall Windows service is stopped.
(cherry picked from commit 12383540c65236b2657f74178d6c2e4ec0c4d15a)

Conflicts:
	msvs/msi/RedisMsi/RedisMsi.wixproj
2015-06-22 13:38:36 +02:00
Enrico Giordani 3935ffb302 RejoinCOWPages and background threads should be synchronized (part 2) 2015-06-22 12:35:10 +02:00
Enrico Giordani 87e43c5ce6 Changed error message. 2015-06-22 11:23:04 +02:00
Alexis Campailla af7ca8ca28 RejoinCOWPages and background threads should be synchronized
RejoinCOWPages is copying dirty pages to a new view
of the memory map.
If another thread modifies the heap between when
RejoincCOWPages copies the data and when the view is
remapped, the modification will be lost, leading to a
memory corruption.
In short, when RejoincCOWPages is running, all other
threads must be stopped.

Fixes: https://github.com/MSOpenTech/redis/issues/244
2015-06-19 21:22:48 +02:00
Alexis Campailla 3cd7d92bf3 Build ReleasePackagingTool in Debug for Debug solution configuration 2015-06-19 19:31:22 +02:00
Enrico Giordani 4742811f48 Comment wording. 2015-06-19 12:05:32 +02:00
Enrico Giordani 2c8c937325 Cleaned up a few #ifdef _WIN32. 2015-06-19 00:24:32 +02:00
Enrico Giordani 2772b6388e Indentation. 2015-06-19 00:22:32 +02:00
Enrico Giordani f8cc98586e StackTrace and info report. 2015-06-19 00:20:19 +02:00
Enrico Giordani d6ede8b354 Moved RedisLog.* to Win32_Interop and renamed to Win32_RedisLog.*
Deleted unused file msvs/RedisLog.h
2015-06-11 17:03:08 +02:00
Enrico Giordani 13f36c88e0 Added symbols to MSI.
Also updated the release number to 2.8.21.
2015-06-11 16:05:41 +02:00
Enrico Giordani c68970e268 Enabled dlmalloc DEBUG mode in the debug build. 2015-06-11 15:30:04 +02:00
Enrico Giordani 1cf1db97ae Final portability fixes for 'long' type. 2015-06-10 23:08:53 +02:00
Enrico Giordani 365c4c7559 Merge version 2.8.21 from antirez into 2.8
Changes to be committed:
	modified:   00-RELEASENOTES
	modified:   deps/lua/src/ldo.c
	modified:   deps/lua/src/lua_cmsgpack.c
	modified:   src/scripting.c
	modified:   src/version.h
2015-06-10 12:37:41 +02:00
Enrico Giordani fb63c21f81 Comment.
added a note in case 32bit support will be brought back.
2015-06-10 12:15:57 +02:00
Enrico Giordani bf260ec746 Test portability fix.
the 'redis-sentinel' binary is not currently built on Windows, the quick
workaround is to call 'redis-server --sentinel'
2015-06-10 00:43:46 +02:00
Enrico Giordani 2975545e6a Restored support for the command argument --test-memory
along with -h, --help, -v, --version
2015-06-09 17:21:56 +02:00
Enrico Giordani 64c14409d9 Added back the RealeasePackaingTool project in the RedisServer.sln build
It was removed by mistake in a previous commit.
2015-06-08 20:40:08 +02:00
Enrico Giordani eaf29cc8aa Truncate AOF in case of unexpected EOF.
The Win32 port was not truncating the AOF file.
2015-06-08 20:35:31 +02:00
Enrico Giordani 91d01bf8fb Win32 portability for tests: fix the syntax to invoke 'tail'.
tail -nX file -> tail -X file
2015-06-08 16:23:53 +02:00
antirez fbb9d619f7 Fix 2.8.21 release notes to give full credits. 2015-06-04 12:00:21 +02:00
antirez 7f8b865a65 Redis 2.8.21 2.8.21 2015-06-04 11:32:24 +02:00
Alexis Campailla c59c110e34 More PORT_LONG replacements 2015-06-03 13:39:54 +02:00
Ben Murphy 700b863f13 hide access to debug table 2015-06-03 13:36:02 +02:00
Ben Murphy 5a1b22ad7f disable loading lua bytecode 2015-06-03 13:36:02 +02:00
Enrico Giordani 0aa1c741fc Portability fixes (replaced long with PORT_LONG)
Eliminated 'long' from antirez code, in favor of
PORT_LONG, PORT_LONGLONG, etc.

Portability fixes for LONG_MAX, LONG_MIN.

Replaces some #ifdef _WIN32
2015-06-03 13:15:37 +02:00
Alexis Campailla 3a87d02e1d Fix tabs and indentation 2015-06-03 13:10:35 +02:00
zeliard da310484b0 Fix wrong pointer castings for x64 support 2015-06-03 13:08:33 +02:00