Commit Graph
4999 Commits
Author SHA1 Message Date
Enrico Giordani 9143f42730 Merged tag 3.0.5 from antirez/3.0 2015-10-27 11:21:01 +01:00
Enrico Giordani cab66d7ef0 [Sample] Removed the maxheap flag from the configuration samples. 2015-10-21 13:15:33 +02:00
Enrico Giordani eb08a1034d [Fix] Reporting the error code if listen() fails. 2015-10-19 22:24:56 +02:00
Enrico Giordani d61c097410 [Tools] Changed the ReleasePackagingTool output folder.
The zip file createdby the ReleasePackagingTool used to be bin/Release,
now it's msvs/BuildRelease/Redis-version_number.
2015-10-19 22:24:11 +02:00
Enrico Giordani b955cbd18f [Setup] Added the max memory dialog.
[Setup] Added a checkbox to choose whether to add the install dir to PATH.
2015-10-19 22:23:37 +02:00
Enrico Giordani c5df73b7d8 [Build] Unified output folders for the jemalloc project. 2015-10-19 22:23:01 +02:00
rpannell 6296a96175 [PR] Updated list of sentinel commands: announce-ip and announce-port. 2015-10-19 22:21:56 +02:00
laurence.evans 638ffe0f10 [PR] Updated x86 debug and release configurations for all projects.
Use the newer v120 platform toolset instead of v120_xp.
This fixes a compilation error for x86 due to a missing define statement.
2015-10-19 22:19:50 +02:00
Enrico Giordani f9d558dec7 [PR] Changed Nuget package structure to support VS 2015 2015-10-19 21:20:08 +02:00
Enrico Giordani 5c13ba28f0 [Seup] Updated nuget and chocolatey setup files. 2015-10-19 20:54:13 +02:00
Enrico Giordani 17ffd80b0d [Setup] Updated the version number and the release notes. win-3.0.300-beta1 2015-10-14 14:07:38 +02:00
Enrico Giordani 1ff98040d1 [Change] Switched from dlmalloc to jemalloc. 2015-10-14 13:51:01 +02:00
Enrico Giordani 2c355ebb27 [Change] Child process can allocate memory from the system heap.
For the child (forked) process there is no need to use the system
pagin file to allocate from.
2015-10-13 20:43:43 +02:00
Enrico Giordani fabdb3e68a [Build] Removed the proprocessor defs: _WIN32IOCP, WIN32_IOCP.
[Build] Removed the duplicated Win32 configuration platform in VS solution.
2015-10-13 18:17:38 +02:00
Enrico Giordani de0965bdf3 [Change] Heap allocation on demand.
This commit removes the support for the maxheap configuration flag since
now the heap memory is allocated on demand and not on startup in one single
large allocation.
2015-10-13 18:15:36 +02:00
Enrico Giordani f679f7217a [Change] Removed the memory mapped file.
Using the system paging file to implement COW.
2015-10-13 00:22:31 +02:00
Enrico Giordani 45c654c6ec [Cleanup] Comments and code formatting/cleanup/consistency.
Moved important comments regarding the QFork architecture at the top of
the file. Formatted comments and code. Changed SIZE_T to size_t for
consitency.
2015-10-12 21:32:53 +02:00
Enrico Giordani f191df96b1 [Code cleanup] Minor code changes preparatory for jemalloc support.
This is part of a set of changes in order to make easier to add support
for jemalloc and remove the memory mapped file.
2015-10-12 21:01:01 +02:00
Enrico Giordani b65c73622f [Change] Sentinel mode doesn't require a memory mapped file. 2015-10-12 19:20:55 +02:00
Enrico Giordani ff43df1585 [Cleanup] Code refactoring, fixed typos, formatting. 2015-09-15 10:40:50 +02:00
Enrico Giordani a3996a9425 [New] Added jemalloc-win project. 2015-09-15 10:37:39 +02:00
Enrico Giordani 3a117784c0 [Cleanup] Code refactoring (some from azure porting). 2015-09-11 12:42:47 +02:00
Enrico Giordani 2f3f9c7245 [Fix] Redis crashes at startup.
A previous commit that fixed a socketstate leak exposed another existing bug:
if FDAPI_AcceptEx() fails the socketstate is accessed after the socket has
already been closed and the socketstate memory has been released, causing
a heap corruption exception .

[Fix] Improved error handlingin WSIOCP_Listen().
2015-09-03 23:59:54 +02:00
Enrico Giordani 9f55e612ff [Setup] Updated the Windows release notes. win-3.0.300-alpha3 2015-09-02 15:08:01 +02:00
Enrico Giordani ca063b3916 [Setup] Updated version from 3.0.300-alpha2 to 3.0.300-alpha3. 2015-09-02 14:56:39 +02:00
Enrico Giordani 0c992e47ce [Fix] Error handling and cleanup after an AOF rewrite error.
On Windows two temp files are created during an AOF rewrite.
Both files were left behind in some error cases.
There is only one case for which we want to keep one of the temp file since
the user may need it.
2015-09-02 14:56:39 +02:00
Enrico Giordani 2eb561c3ef [Fix] Made stack trace report more robust. 2015-09-02 14:56:38 +02:00
Enrico Giordani abadf4fc0f [Fix] replace_rename infinite loop upon error.
[Fix] Close the file handle after truncating a file.
2015-09-02 14:56:38 +02:00
Enrico Giordani 32800ef719 [Cleanup] Code refactoring, hiredis isolation (work in progress). 2015-09-02 14:56:37 +02:00
Enrico Giordani 9e54d64932 [Cleanup] Code refactoring. 2015-09-02 14:56:36 +02:00
Enrico Giordani 4e54b241c6 [Fix] Ported fixes from 2.8.
[Fix] Windows portability: explicit type casting.
[Cleanup] Code refactoring. Comments. Changed functions prefix to match
the functions type.
2015-09-02 14:56:36 +02:00
Enrico Giordani 328d747f4c [Cleanup] Replaced aeWin prefix with WSIOCP. 2015-09-02 14:56:35 +02:00
Enrico Giordani 0fe2771b08 [Fix] Made getNextRFDAvailable more robust. 2015-09-02 14:56:34 +02:00
Enrico Giordani 72262f9798 [Fix] Removed aeWinCloseSocket. Sockets were not closed properly. 2015-09-02 14:56:34 +02:00
Enrico Giordani 2472313b97 [Fix] Optimized socket flag management. 2015-09-02 14:56:33 +02:00
Enrico Giordani f2884667fd [Debug] Added custom ASSERT macro. 2015-09-02 14:56:14 +02:00
Enrico Giordani 405611b20e [Cleanup] Log message. 2015-08-20 17:48:09 +02:00
Enrico Giordani d3b3c1996b [Setup] Updated the Windows release notes. win-3.0.300-alpha2 2015-08-20 15:06:21 +02:00
Enrico Giordani c0fabdd211 [Cleanup] Code formatting. 2015-08-20 13:21:50 +02:00
Enrico Giordani 09dbecdb74 [Test] Added a Windows-specific regression test.
[Test] Added log.txt to gitignore for sentinel tests.
[Test] Added log.txt to gitignore for cluster tests.
[Test] Speed up creation of redis-server instances.
[Test] Replaced comment with windows-specific "if" condition.
2015-08-20 13:20:59 +02:00
Enrico Giordani da0702a3bc [Test] Increated the waiting time before checking the server status. 2015-08-20 13:20:58 +02:00
Enrico Giordani dacd0c0d4c [Fix] Socket flags not saved. 2015-08-20 13:20:58 +02:00
Enrico Giordani 7bf5ba87e2 [Cleanup] Code refacoring. 2015-08-20 13:20:57 +02:00
Enrico Giordani bc3251aa8a [Test] Increased the waiting time for some conditions.
On Windows the tclsh scripts sometime takes longer to complete, causing some
tests to fail.
2015-08-20 13:20:56 +02:00
Enrico Giordani dafaa71ec2 [Test] Removed Windows specific code.
On Windows, genClientPeerId used to return the hardcoded string "MASTER:0"
instead of the ip:port value, it is now fixed so the windows-only case in
the test is not needed anymore.
2015-08-20 13:20:56 +02:00
Enrico Giordani c4af4d5f24 [Test] Set maxheap to 150mb to run the cluster tests. 2015-08-20 13:20:55 +02:00
Enrico Giordani 224543d6ab [Fix] getpeername fails to retrieve the master ip address.
To workaround the problem, the socket address storage is saved in the RFDMap
socket info structure upon the socket creation.
2015-08-20 13:20:55 +02:00
Enrico Giordani d4e56313c1 [Cleanup] Code refactoring, comments. 2015-08-20 13:20:54 +02:00
Enrico Giordani 33117e668c [Cleanup] Code refactoring to reduce dependencies between projects.
This is only an initial refactoring of the headers, the final goal is to
have hiredis completely independent from the QFork code in order to build
it as a standalone lib that can be used in other projects.
2015-08-20 13:20:54 +02:00
Enrico Giordani 5fca88db67 [Fix] Socket state moved from aeApiState to RFDMap.
[Cleanup] Cleaned up code.
2015-08-20 13:20:53 +02:00