antirez
d29eb68f20
redis-cli --latecy-dist reverted to gray scale.
...
So far not able to find a color palette within the 256 colors which is
not confusing. However I believe it is a possible task, so will try
better later.
2015-02-10 14:55:17 +01:00
antirez
657f719760
redis-cli --latency-dist now uses a color palette.
...
Still not happy with the result but low grays are hard to see in certain
monitors with a non perfect gamma.
2015-02-10 14:55:17 +01:00
antirez
ff13fa787d
redis-cli latency dist: add new top HL.
2015-02-10 14:55:17 +01:00
antirez
f6f3cb9458
Add missing latency-dest legend symbol.
2015-02-10 14:55:17 +01:00
antirez
9d9be0e09d
Initial implementation of redis-cli --latency-dist.
2015-02-10 14:55:17 +01:00
antirez
d4047f7261
Faster memory efficiency test.
...
This test on Linux was extremely slow, since in Tcl we can't enable
easily tcp-nodelay, so the busy loop used to take *a lot* with bigger
writes. Fixed using pipelining.
2015-02-10 14:48:22 +01:00
mattcollier
61290d819d
Update redis-cli.c
...
Code was adding '\n' (line 521) to the end of NIL values exlusively making csv output inconsistent. Removed '\n'
2015-02-02 22:50:53 +01:00
antirez
18dc769104
luaRedisGenericCommand(): log error at WARNING level when re-entered.
...
Rationale is that when re-entering, it is likely due to Lua debugging
hooks. Returning an error will be ignored in most cases, going totally
unnoticed. With the log at least we leave a trace.
Related to issue #2302 .
2015-01-22 10:36:23 +01:00
antirez
1dea8b5a29
luaRedisGenericCommand() recursion: just return an error.
...
Instead of calling redisPanic() to abort the server.
Related to issue #2302 .
2015-01-22 10:36:19 +01:00
antirez
a0ba7b3f00
Panic on recursive calls to luaRedisGenericCommand().
...
Related to issue #2302 .
2015-01-22 10:36:15 +01:00
antirez
e7aa5fb5ef
AOF rewrite: set iterator var to NULL when freed.
...
The cleanup code expects that if 'di' is not NULL, it is a valid
iterator that should be freed.
The result of this bug was a crash of the AOF rewriting process if an
error occurred after the DBs data are written and the iterator is no
longer valid.
2015-01-21 16:42:56 +01:00
antirez
8a41dae49f
Add "-lrt" in Makefile for Solaris.
...
This fix is from @NanXiao, however I was not able to retain authorship
because the Pull Request original repository was removed.
2015-01-09 11:54:52 +01:00
antirez
50cdedd127
Check for __sun macro in solarisfixes.h, not in includers.
2015-01-09 11:22:35 +01:00
antirez
77608ae5ac
README section about make distclean reworded / extended.
2015-01-08 16:35:53 +01:00
Jungtaek Lim
5165fb98af
Explain make distclean which seems not well known
2015-01-08 16:35:49 +01:00
antirez
22a0fe8de6
INFO loading stats: three fixes.
...
1. Server unxtime may remain not updated while loading AOF, so ETA is
not updated correctly.
2. Number of processed byte was not initialized.
3. Possible division by zero condition (likely cause of issue #1932 ).
2014-12-23 14:52:57 +01:00
Alon Diamant
585884da45
Fixed memory leaks in rdbSaveToSlavesSockets()
2014-12-22 11:01:21 +01:00
antirez
ca3dd5e5ed
Fix adjustOpenFilesLimit() logging to match real state.
...
Fixes issue #2225 .
2014-12-19 10:05:09 +01:00
Rhommel Lamas
6f0a7353a6
Add redis-sentinel symlink to a relative path
2014-12-17 12:27:44 +01:00
antirez
902b877dc0
Redis 2.8.19.
2.8.19
2014-12-16 09:18:20 +01:00
antirez
02d465c8fe
Don't log admin commands in MONITOR.
...
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.
2014-12-13 09:00:03 +01:00
antirez
4d8f4262a4
List of commands flagged as admin commands modified.
...
The old list did not made much sense... and the flag is currently not
used at all, so no side effects.
2014-12-13 08:59:43 +01:00
Salvatore Sanfilippo
d4fc65309d
Merge pull request #2092 from rhoml/rhoml-install-sentinel
...
Adds a symlink for redis-sentinel when Make install
2014-12-12 22:58:56 +01:00
antirez
e47e460f1f
Lua cmsgpack lib updated to latest version.
...
It fixes a bad bug that crashes the server in certain conditions
as shown in issue #2210 .
2014-12-12 22:57:09 +01:00
Rhommel Lamas
5509c141f8
Add symlink to redis-sentinel during make install
2014-12-12 20:00:08 +01:00
antirez
7de1ef773e
SORT: Don't sort Set elements if not needed.
...
Related to #2094 .
2014-12-11 16:01:21 +01:00
Matt Stancliff
e945a546af
Fix zero-ordering SORT when called against lists
...
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)
2014-12-11 16:01:09 +01:00
Ben Dowling
d81c38316b
Update redis_init_script.tpl
...
status command currently reports success when redis has crashed and the pid file still exists. Changing to check the actual process is running.
2014-12-11 15:21:53 +01:00
zhanghailei
dba57ea910
FIXED redis-benchmark's idle mode.With idle mode shouldn't create write event
2014-12-11 15:21:53 +01:00
Sun He
888ea17548
zipmap.c: update comments above
2014-12-09 16:01:13 +01:00
Deepak Verma
86ebc139c2
replaced // comments #2150
2014-12-09 15:26:26 +01:00
azure provisioned user
3d73f088e1
redis-benchmark AUTH command to be discarded after the first send #2150
2014-12-09 15:26:26 +01:00
Sun He
76d53a6770
sds.c: Correct two spelling mistakes in comments
2014-12-09 15:14:14 +01:00
Sun He
4848cf9335
sds.c/sdscatvprintf: set va_end to finish va_list cpy
2014-12-09 15:14:14 +01:00
Sun He
d2f584fa53
sds.c: Correct some comments
2014-12-09 15:14:13 +01:00
Serghei Iakovlev
2ed3f09cc3
Update whatisdoing.sh
...
Improved getting pid
2014-12-09 13:01:31 +01:00
antirez
77b997d429
Include stropts only if __sun is defined.
2014-12-09 12:59:43 +01:00
Jan-Erik Rediger
d409371193
Fix implicit declaration of ioctl on Solaris
2014-12-09 12:57:59 +01:00
Johan Bergström
23b96c02a5
Silence _BSD_SOURCE warnings in glibc 2.20 and forward
...
See https://sourceware.org/glibc/wiki/Release/2.20#Packaging_Changes
2014-12-09 12:24:30 +01:00
antirez
a47a042ea6
Mark whatisdoing.sh as deprecated in top-comment.
2014-12-09 12:18:47 +01:00
Serghei Iakovlev
b5737d2d19
getting pid fixes
...
```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
```
2014-12-09 12:09:31 +01:00
Sun He
a598e0894b
sparkline.c: AddSample skip Empty label
2014-12-09 11:28:53 +01:00
Sun He
7d480abab4
sparkline.c: mov label-ini into the AddSample Function
2014-12-09 11:28:53 +01:00
Jan-Erik Rediger
2f3c860979
Only ignore sigpipe in interactive mode
...
This allows shell pipes to correctly end redis-cli.
Ref #2066
2014-12-09 09:01:10 +01:00
antirez
0c211a1953
Simplify lua_cmsgpack macro and fix build on old Linux distros.
...
Thanks to @badboy for the help in checking the build after the fix.
2014-12-05 10:52:56 +01:00
antirez
d6ada4d1a8
Redis 2.8.18.
2.8.18
2014-12-04 11:36:52 +01:00
antirez
7c671c09a1
Check that tcp-backlog is matched by /proc/sys/net/core/somaxconn.
2014-12-04 11:07:55 +01:00
antirez
d56ef62983
Network bandwidth tracking + refactoring.
...
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.
2014-12-03 12:17:18 +01:00
antirez
f60c8c0999
Don't show the ASCII logo if syslog is enabled.
...
Closes issue #1935 .
2014-12-03 10:52:09 +01:00
antirez
04231cb7d7
Regression test for issue #2175 .
2014-12-03 10:41:06 +01:00