summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Redis 2.8.19.2.8.19antirez2014-12-162-1/+31
|
* Don't log admin commands in MONITOR.antirez2014-12-131-1/+1
| | | | | | Otherwise there are security risks, especially when providing Redis as a service, the user may "sniff" for admin commands renamed to an unguessable string via rename-command in redis.conf.
* List of commands flagged as admin commands modified.antirez2014-12-131-6/+6
| | | | | The old list did not made much sense... and the flag is currently not used at all, so no side effects.
* Merge pull request #2092 from rhoml/rhoml-install-sentinelSalvatore Sanfilippo2014-12-121-0/+1
|\ | | | | Adds a symlink for redis-sentinel when Make install
| * Add symlink to redis-sentinel during make installRhommel Lamas2014-12-121-0/+1
| |
* | Lua cmsgpack lib updated to latest version.antirez2014-12-121-26/+27
| | | | | | | | | | It fixes a bad bug that crashes the server in certain conditions as shown in issue #2210.
* | SORT: Don't sort Set elements if not needed.antirez2014-12-111-1/+3
| | | | | | | | Related to #2094.
* | Fix zero-ordering SORT when called against listsMatt Stancliff2014-12-112-9/+24
| | | | | | | | | | | | | | | | | | | | | | | | People mostly use SORT against lists, but our prior behavior was pretending lists were an unordered bag requiring a forced-sort when no sort was requested. We can just use the native list ordering to ensure consistency across replicaion and scripting calls. Closes #2079 Closes #545 (again)
* | Update redis_init_script.tplBen Dowling2014-12-111-2/+3
| | | | | | | | status command currently reports success when redis has crashed and the pid file still exists. Changing to check the actual process is running.
* | FIXED redis-benchmark's idle mode.With idle mode shouldn't create write eventzhanghailei2014-12-111-3/+8
| |
* | zipmap.c: update comments aboveSun He2014-12-091-3/+2
| |
* | replaced // comments #2150Deepak Verma2014-12-091-2/+2
| |
* | redis-benchmark AUTH command to be discarded after the first send #2150azure provisioned user2014-12-091-28/+30
| |
* | sds.c: Correct two spelling mistakes in commentsSun He2014-12-091-2/+2
| |
* | sds.c/sdscatvprintf: set va_end to finish va_list cpySun He2014-12-091-1/+1
| |
* | sds.c: Correct some commentsSun He2014-12-091-4/+4
| |
* | Update whatisdoing.shSerghei Iakovlev2014-12-091-1/+1
| | | | | | | | Improved getting pid
* | Include stropts only if __sun is defined.antirez2014-12-091-0/+2
| |
* | Fix implicit declaration of ioctl on SolarisJan-Erik Rediger2014-12-091-0/+1
| |
* | Silence _BSD_SOURCE warnings in glibc 2.20 and forwardJohan Bergström2014-12-091-0/+1
| | | | | | | | See https://sourceware.org/glibc/wiki/Release/2.20#Packaging_Changes
* | Mark whatisdoing.sh as deprecated in top-comment.antirez2014-12-091-0/+6
| |
* | getting pid fixesSerghei Iakovlev2014-12-091-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | ```sh $ ~ pidof redis-server # nothing $ ~ ps aux | grep [r]edis redis 593 0.0 0.0 36900 5564 ? Ssl Dec02 1:37 /usr/bin/redis-server 127.0.0.1:6379 klay 15927 0.0 0.0 16772 6068 pts/6 S+ 13:58 0:00 redis-cli $ ~ uname -a Linux edge 3.17.4-1-ARCH #1 SMP PREEMPT Fri Nov 21 21:14:42 CET 2014 x86_64 GNU/Linux ```
* | sparkline.c: AddSample skip Empty labelSun He2014-12-091-1/+1
| |
* | sparkline.c: mov label-ini into the AddSample FunctionSun He2014-12-092-4/+3
| |
* | Only ignore sigpipe in interactive modeJan-Erik Rediger2014-12-091-2/+3
| | | | | | | | | | | | This allows shell pipes to correctly end redis-cli. Ref #2066
* | Simplify lua_cmsgpack macro and fix build on old Linux distros.antirez2014-12-051-7/+1
| | | | | | | | Thanks to @badboy for the help in checking the build after the fix.
* | Redis 2.8.18.2.8.18antirez2014-12-042-1/+31
| |
* | Check that tcp-backlog is matched by /proc/sys/net/core/somaxconn.antirez2014-12-042-0/+19
| |
* | Network bandwidth tracking + refactoring.antirez2014-12-034-24/+63
| | | | | | | | | | | | | | | | | | Track bandwidth used by clients and replication (but diskless replication is not tracked since the actual transfer happens in the child process). This includes a refactoring that makes tracking new instantaneous metrics simpler.
* | Don't show the ASCII logo if syslog is enabled.antirez2014-12-031-9/+21
| | | | | | | | Closes issue #1935.
* | Regression test for issue #2175.antirez2014-12-031-0/+10
| |
* | Handle infinite explicitly in createStringObjectFromLongLong().antirez2014-12-031-8/+20
| |
* | Use exp format and more precision output for ZSCAN.antirez2014-12-035-15/+21
| | | | | | | | Ref: issue #2175
* | Over 80 chars comment trimmed in pfcountCommand().antirez2014-12-021-1/+1
| |
* | Mark PFCOUNT as read-only, even if not true.antirez2014-12-021-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | PFCOUNT is technically speaking a write command, since the cached value of the HLL is exposed in the data structure (design error, mea culpa), and can be modified by PFCOUNT. However if we flag PFCOUNT as "w", read only slaves can't execute the command, which is a problem since there are environments where slaves are used to scale PFCOUNT reads. Nor it is possible to just prevent PFCOUNT to modify the data structure in slaves, since without the cache we lose too much efficiency. So while this commit allows slaves to create a temporary inconsistency (the strings representing the HLLs in the master and slave can be different in certain moments) it is actually harmless. In the long run this should be probably fixed by turning the HLL into a more opaque representation, for example by storing the cached value in the part of the string which is not exposed (this should be possible with SDS strings).
* | Mark diskless replication as experimental in redis.conf.antirez2014-12-021-0/+4
| |
* | Test: wait for actual startup in start_server.antirez2014-11-281-0/+6
| | | | | | | | | | | | | | | | | | start_server now uses return value from Tcl exec to get the server pid, however this introduces errors that depend from timing: a lot of the testing code base assumed the server to be actually up and running when server_start returns. So the old code that waits to see the pid in the log file was restored.
* | Test: try to cleanup still running Redis instances on exit.antirez2014-11-282-9/+27
| | | | | | | | | | It's hard to run the Redis test continuously if it leaks processes on exceptions / errors.
* | Test framework: exit on timeout with report.antirez2014-11-281-18/+35
| | | | | | | | | | There was no sane way to detect tests that may never end because of Redis bugs or tests bugs.
* | redis-benchmark: default num of requests is now 100000.antirez2014-11-281-2/+2
| | | | | | | | | | 10000 completes in a too short time and may easily provide unreliable figures because of tiny duration.
* | fix benchmark memleak in loop modeMatthias Petschick2014-11-281-1/+1
| |
* | Document redis-cli --stat in --help output.antirez2014-11-251-0/+1
| |
* | Fix lua-cmsgpack 64 bit integer on 32 bit platformMatt Stancliff2014-11-251-14/+32
| | | | | | | | | | | | This syncs lua-cmsgpack with the mattsta/lua-cmsgpack upstream. Fixes #2161
* | Avoid valgrind memory leak false positive in processInlineBuffer().antirez2014-11-251-2/+4
| | | | | | | | | | | | | | | | | | | | | | zmalloc(0) cauesd to actually trigger a non-zero allocation since with standard libc malloc we have our own zmalloc header for memory tracking, but at the same time the returned pointer is at the end of the block and not in the middle. This triggers a false positive when testing with valgrind. When the inline protocol args count is 0, we now avoid reallocating c->argv, preventing the issue to happen.
* | Attempt to prevent false positives in replication test.antirez2014-11-241-11/+15
| |
* | scripting.tcl tests order fixed to match unstable branch.antirez2014-11-141-19/+19
| |
* | lua_cjson.c Lua includes: angled -> quoted.antirez2014-11-141-2/+2
| |
* | Fix non-linux builds error introduced with THP checks.antirez2014-11-142-2/+2
| |
* | Lua: add cmsgpack scripting testsMatt Stancliff2014-11-141-0/+52
| | | | | | | | | | | | | | 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.
* | Lua: upgrade cmsgpack to 0.4.0Matt Stancliff2014-11-141-90/+305
| | | | | | | | | | | | | | | | 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