- 24 11月, 2014 1 次提交
-
-
由 antirez 提交于
-
- 15 11月, 2014 10 次提交
-
-
由 antirez 提交于
-
由 antirez 提交于
-
由 antirez 提交于
-
由 Matt Stancliff 提交于
Basically: test to make sure we can load cmsgpack and do some sanity checks to make sure pack/unpack works properly. We also have a bonus test for circular encoding and decoding because I was curious how it worked.
-
由 Matt Stancliff 提交于
Main reasons for upgrade: - Remove a warning when building Redis - Add multi pack/unpack - Improve memory usage and use Lua allocator properly - Fix some edge case encoding/decoding bugs
-
由 Matt Stancliff 提交于
clang doesn't like "extern inline" when no definition is given right away.
-
由 Matt Stancliff 提交于
cjson calls isinf, but some Solaris versions don't have isinf even with the attempted fix we have in deps/Makefile. We can harmlessly include the Redis solarisfixes.h header to give cjson proper isinf. Note: cjson has a compile-time setting for using their own defined isinf, but the Redis definition in solarisfixes.h is more complete. Fixes antirez#1620
-
由 Matt Stancliff 提交于
The new cjson has some improvements over our current version including increased platform compatability, a new resource limit to restrict decode depth, and better invalid number handling. One minor change was required to deps/Makefile because this version of cjson doesn't export itself globally, so we added a quick little define of -DENABLE_CJSON_GLOBAL. cjson now has an optional higher performing float parsing interface, but we are not including it (g_fmt.c, dtoa.c) because it requires endianness declaration during compile time. This commit is exactly lua_cjson.c from 2.1.0 with one minor change of altering the two Lua includes for local search instead of system-wide importing.
-
由 Matt Stancliff 提交于
Two simple decode tests added mainly to check that the 'cjson' global gets registered and is usable.
-
由 Salvatore Sanfilippo 提交于
Lua: Add bitop
-
- 12 11月, 2014 4 次提交
-
-
由 antirez 提交于
-
由 antirez 提交于
-
由 antirez 提交于
-
由 antirez 提交于
RDB EOF detection was relying on the final part of the RDB transfer to be a magic 40 bytes EOF marker. However as the slave is put online immediately, and because of sockets timeouts, the replication stream is actually contiguous with the RDB file. This means that to detect the EOF correctly we should either: 1) Scan all the stream searching for the mark. Sucks CPU-wise. 2) Start to send the replication stream only after an acknowledge. 3) Implement a proper chunked encoding. For now solution "2" was picked, so the master does not start to send ASAP the stream of commands in the case of diskless replication. We wait for the first REPLCONF ACK command from the slave, that certifies us that the slave correctly loaded the RDB file and is ready to get more data.
-
- 11 11月, 2014 1 次提交
-
-
由 antirez 提交于
-
- 31 10月, 2014 2 次提交
-
-
由 Salvatore Sanfilippo 提交于
Enable Cluster IPv6 Support
-
由 Salvatore Sanfilippo 提交于
Networking: add more outbound IP binding fixes
-
- 30 10月, 2014 5 次提交
-
-
由 Salvatore Sanfilippo 提交于
Fix redis-cli from exiting after idle connection breaks
-
由 Matt Stancliff 提交于
Same as the original bind fixes (we just missed these the first time around). This helps Redis not automatically send connections from the first IP on an interface if we are bound to a specific IP address (e.g. with multiple IP aliases on one interface, you want to send from _your_ IP, not from the first IP on the interface).
-
由 Matt Stancliff 提交于
We need to pick the port based on the _last_ colon, not the first one.
-
由 Matt Stancliff 提交于
IP format is now any of: - 127.0.0.1:6379 - ::1:6379
-
由 Matt Stancliff 提交于
Closes #2066
-
- 29 10月, 2014 2 次提交
- 27 10月, 2014 6 次提交
- 24 10月, 2014 4 次提交
- 22 10月, 2014 3 次提交
-
-
由 antirez 提交于
EWOULDBLOCK with the fdset rio target is returned when we try to write but the send timeout socket option triggered an error. Better to translate the error in something the user can actually recognize as a timeout.
-
由 antirez 提交于
We need to avoid that a child -> slaves transfer can continue forever. We use the same timeout used as global replication timeout, which is documented to also affect I/O operations during bulk transfers.
-
由 antirez 提交于
-
- 17 10月, 2014 2 次提交