Commit Graph
4706 Commits
Author SHA1 Message Date
Enrico Giordani 8746390c28 [Change] Removed the forkedProcessReady event.
The event was used to wait for the child process to map the memory, but it's
not required since the memory is already VirtualProtect(ed).
2015-07-15 13:07:24 +02:00
Enrico Giordani 14d318dfe5 [Fix] aeWinQueueAccept wrong return value.
[Change] Variable name acceptsocket changed to acceptfd.
2015-07-15 13:07:23 +02:00
Enrico Giordani 5a00959c87 [Cleanup] Tabs->spaces, formatting. 2015-07-15 13:07:23 +02:00
Enrico Giordani a37f64953b [Change] Removed extra space allocated at the end of the mmap file.
[Log] Improved error messages.
2015-07-15 13:07:22 +02:00
Enrico Giordani c3495c8f3a [Fix] RFDMap was not thread safe.
[Cleanup] Removed unused/commented out code, tabs->spaces.
2015-07-15 13:07:22 +02:00
Enrico Giordani 7370c06011 [Fix] UnhandledExceptiontHandler internal exception handling. 2015-07-15 13:07:21 +02:00
Enrico Giordani 37a42c8e55 [Cleanup] Removed unused include. 2015-07-15 13:07:21 +02:00
Enrico Giordani b0d93b92e7 [Cleanup] Removed useless platform definition from RedisServer.sln 2015-07-15 13:07:21 +02:00
Enrico Giordani 3506673f9d [Cleanup] Changed variable type to match function return value.
checkForSentinelMode() returns an int, not a bool.
2015-07-15 13:07:20 +02:00
Enrico Giordani 0244fa1e44 [Cleanup] Minor change to method signature.
The method input parameter has been changed to a const.
2015-07-15 13:07:20 +02:00
Enrico Giordani 47e02c0f9d [Cleanup] Removed non-existent file from hiredis project. 2015-07-15 13:07:19 +02:00
Enrico Giordani 69b7cb04ba [WinPort] Explicit cast. 2015-07-15 13:07:19 +02:00
Enrico Giordani 9b7ebf7b78 [Setup] Move ReleasePackagingTool to its own solution.
- Removed unused code in ReleasePackagingTool.
 - Chocolatey package now imports the documentation files from the same folder
   where the binaries files are.
2015-07-15 13:07:18 +02:00
Enrico Giordani 94ae678f6e [Fix] The stack trace was not logged when Redis is running as a service. 2015-07-15 13:07:18 +02:00
Enrico Giordani b67f9d8e9a [Setup] EventLog.dll excluded from NuGet package. 2015-07-15 13:07:17 +02:00
Enrico Giordani 04c770910e [Setup] Updated the scripts to create/push the NuGet/Chocolatey packages.
- [Change] The binaries added to the packages are now downloaded from the
            github release.
 - [Change] Redis.nuspec: don't copy the files from the "documentation" folder
            since the documentation is already included in the source folder
            along with the binaries.
 - [Fix] PullBinaries.ps1: replaced hardcoded Redis version number with input
         parameter.
 - [Fix] Improved error handling.
2015-07-15 13:07:17 +02:00
Enrico Giordani 32aea31d74 [Fix] Fork code for background processing fixes and code refactoring.
- [Fix] BeginForkOperation_Aof()/_Rdb()/_Socket() and BeginForkOperation() code
         refactoring.
 - [Fix] rewriteAppendOnlyFileBackground() code refactoring to minimize the code
         changes for WIN32.
 - [Fix] rewriteAppendOnlyFileBackground() must update the latency monitor, the
         fork stats and replicationScriptCacheFlush().
 - [Fix] rdbSaveBackground() code refactoring to minimize the code changes for
         WIN32.
 - [Fix] rdbSaveBackground() must update the latency monitor and the fork stats.
 - [Fix] memory leak in rdbSaveToSlavesSockets().
 - [Fix] properly releasing resources in rdbSaveToSlavesSockets().
 - [Fix] QForkChildInit() not setting the operationFailed event in case of
         exception.
 - [Fix] QForkChildInit() AV in catch() statement.
2015-07-15 13:07:16 +02:00
Enrico Giordani d82a361542 [Fix] Deleting char** correctly (by @zeliard) 2015-07-15 13:07:02 +02:00
Alexis Campailla b8009c220a Fix 32-bit build win-2.8.21 2015-06-24 23:10:27 +02:00
Alexis Campailla 4f384b9e58 Update appveyor version 2015-06-24 21:36:57 +02:00
Alexis Campailla b84d390111 Fix child process handle closing 2015-06-24 20:53:17 +02:00
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