Commit Graph
4717 Commits
Author SHA1 Message Date
Enrico Giordani 08bde3edf6 [Setup] Updated version number in appveyor.yml. win-2.8.2101 2015-07-15 15:30:12 +02:00
Enrico Giordani ee99b82f45 [Fix] Memory was not properly released at the end of the memory test.
[Change] Hard-coded memory test loops changed from 50 to 5.
[Setup] Updated the release notes.
2015-07-15 14:06:31 +02:00
Enrico Giordani 965b6e0311 [Setup] Updated the release notes. 2015-07-15 13:07:28 +02:00
Enrico Giordani 3818822373 [Setup] Nuget/Chocolatey packages update.
[Change] Updated the ReleasePackagingTool to include all .pdb files.
[Change] Updated the nuget/chocolatey templates to conform with the guidelines:
         - Replaced the Redis logo with the Redis icon.
         - Changed the package title.
         - Changed the package description.
         - Removed the package summary to use a short version of the decription
           instead.
 [Change] Updated license.txt to 2015.
2015-07-15 13:07:28 +02:00
Enrico Giordani 97461656ed [Fix] Bug report fixes.
[Fix] If an exception occured while building the server info data, the footer
      was not logged.
[Fix] Uncommented the ServerInfo() call that was commented out by mistake in a
      previous commit.
2015-07-15 13:07:27 +02:00
Enrico Giordani 5e905ce07e [Setup] Updated the release number and the release notes (2.8.2101). 2015-07-15 13:07:27 +02:00
Enrico Giordani 7b920de231 [Fix] Added API mapping for fclose() and fileno().
This fix resolves issue #235 https://github.com/MSOpenTech/redis/issues/235
2015-07-15 13:07:26 +02:00
Enrico Giordani 2b7dc05763 [Fix] Memory corruption. Merged fix from Azure fork (by Mike Montwill).
"in-kernel writes don't always observe cow pages correctly".
https://github.com/Azure/redis/commit/69c780f8a62e6a96c3f64adf23004beac7a90abf
2015-07-15 13:07:26 +02:00
Enrico Giordani f9660d1c72 [Fix] Socket blocking state.
Changed the logic to make sure the returned value is initialized.
2015-07-15 13:07:25 +02:00
Enrico Giordani 24d0115bd6 [Cleanup] Code cleanup: variables initialization and validation. 2015-07-15 13:07:25 +02:00
Enrico Giordani 2b502cfb16 [Change] Rolled back "Workaround for getpeername() issue".
The workaround https://github.com/MSOpenTech/redis/commit/0f79d723965a46e59dfbd239ad66c2d7c4bf5eeb is not anymore required since the root problem has been fixed (in another commit).
2015-07-15 13:07:24 +02:00
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