antirez
4c0f8c4e5a
Sentinel: parse new INFO replication output correctly.
...
Sentinel was not able to detect slaves when connected to a very recent
version of Redis master since a previos non-backward compatible change
to INFO broken the parsing of the slaves ip:port INFO output.
This fixes issue #1164
2013-06-20 10:23:23 +02:00
antirez
5f770dcc2f
Test: regression test for #1163 .
2013-06-19 18:53:07 +02:00
antirez
b02bb47e67
Test: regression test for #1163 .
2013-06-19 18:53:07 +02:00
antirez
96574ee610
Fix comment typo in integration/aof.tcl.
2013-06-19 18:31:33 +02:00
antirez
f8ba3b5668
Fix comment typo in integration/aof.tcl.
2013-06-19 18:31:33 +02:00
antirez
f352985cc1
Allow writes from scripts called by AOF loading in read-only slaves.
...
This fixes issue #1163
2013-06-19 18:25:03 +02:00
antirez
d363299af3
Allow writes from scripts called by AOF loading in read-only slaves.
...
This fixes issue #1163
2013-06-19 18:25:03 +02:00
antirez
f0861f0116
Fix logStackTrace() when logging to stdout.
...
When the semantics changed from logfile = NULL to logfile = "" to log
into standard output, no proper change was made to logStackTrace() to
make it able to work with the new setup.
This commit fixes the issue.
2013-06-19 14:44:40 +02:00
antirez
338cd4835d
Fix logStackTrace() when logging to stdout.
...
When the semantics changed from logfile = NULL to logfile = "" to log
into standard output, no proper change was made to logStackTrace() to
make it able to work with the new setup.
This commit fixes the issue.
2013-06-19 14:44:40 +02:00
antirez
058541f3be
Lua script errors format more unified.
...
lua_pcall error handler now formats errors in a way more similar to
luaPushError() so that errors generated in different contexts look alike.
2013-06-18 19:30:56 +02:00
antirez
9c2c878e45
Lua script errors format more unified.
...
lua_pcall error handler now formats errors in a way more similar to
luaPushError() so that errors generated in different contexts look alike.
2013-06-18 19:30:56 +02:00
antirez
af2cadc4b7
Lua scripting: improve error reporting.
...
When calling Lua scripts we try to report not just the error but
information about the code line causing the error.
2013-06-18 17:33:35 +02:00
antirez
51adc6e1bc
Lua scripting: improve error reporting.
...
When calling Lua scripts we try to report not just the error but
information about the code line causing the error.
2013-06-18 17:33:35 +02:00
Salvatore Sanfilippo
8cf042f959
Merge pull request #1124 from ioddly/fix-issue-1121
...
Try to report source of bad Lua API calls
2013-06-17 03:14:31 -07:00
Salvatore Sanfilippo
b96ba52cfa
Merge pull request #1124 from ioddly/fix-issue-1121
...
Try to report source of bad Lua API calls
2013-06-17 03:14:31 -07:00
Salvatore Sanfilippo
3acb4acba8
Merge pull request #819 from Keruspe/unstable
...
test-server: only listen to 127.0.0.1
2013-06-17 03:08:14 -07:00
Salvatore Sanfilippo
82d782d3b5
Merge pull request #819 from Keruspe/unstable
...
test-server: only listen to 127.0.0.1
2013-06-17 03:08:14 -07:00
Marc-Antoine Perennou
f9eef102c8
test-server: only listen to 127.0.0.1
...
Signed-off-by: Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
2013-06-12 22:49:32 +02:00
Marc-Antoine Perennou
edd7eb9b7d
test-server: only listen to 127.0.0.1
...
Signed-off-by: Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
2013-06-12 22:49:32 +02:00
antirez
811c5a2cdf
Cluster: detect nodes address change.
2013-06-12 10:50:07 -07:00
antirez
dfc98dccf4
Cluster: detect nodes address change.
2013-06-12 10:50:07 -07:00
antirez
fffc5f809e
clusterProcessPacket() comments improved for correctness.
2013-06-11 21:34:34 +02:00
antirez
d427373f01
clusterProcessPacket() comments improved for correctness.
2013-06-11 21:34:34 +02:00
antirez
f62a4017b5
Binary safe dump of object content in redisLogObjectDebugInfo().
2013-06-04 15:53:53 +02:00
antirez
cf71b82111
Binary safe dump of object content in redisLogObjectDebugInfo().
2013-06-04 15:53:53 +02:00
antirez
9aa989d073
CONFIG SET: accept slave-priority zero, it is valid.
2013-05-31 19:31:36 +02:00
antirez
b6a2878aa5
CONFIG SET: accept slave-priority zero, it is valid.
2013-05-31 19:31:36 +02:00
antirez
650fc5218f
Test: avoid a false positive in min-slaves test.
2013-05-31 11:43:30 +02:00
antirez
ca35de1d1f
Test: avoid a false positive in min-slaves test.
2013-05-31 11:43:30 +02:00
antirez
89ec3e8b22
Tests added for min-slaves feature.
2013-05-30 18:54:28 +02:00
antirez
434a86dbd8
Tests added for min-slaves feature.
2013-05-30 18:54:28 +02:00
antirez
45ff68db75
Refresh good slaves count after CONFIG SET min-slaves-...
...
This way just after the CONFIG SET enabling the min-slaves feature it is
possible to write to the database without delays.
2013-05-30 12:23:41 +02:00
antirez
915c06a96c
Refresh good slaves count after CONFIG SET min-slaves-...
...
This way just after the CONFIG SET enabling the min-slaves feature it is
possible to write to the database without delays.
2013-05-30 12:23:41 +02:00
antirez
57984ee8f2
New INFO field "min_slaves_good_slaves".
...
When min-slaves-to-write feature is active, this field reports the
number of slaves considered good (online state, lag within the specified
range).
2013-05-30 12:18:31 +02:00
antirez
88441bf18f
New INFO field "min_slaves_good_slaves".
...
When min-slaves-to-write feature is active, this field reports the
number of slaves considered good (online state, lag within the specified
range).
2013-05-30 12:18:31 +02:00
antirez
e802b22dfb
Refresh good slaves count when setting slave state as online.
2013-05-30 12:13:25 +02:00
antirez
1a54d5963e
Refresh good slaves count when setting slave state as online.
2013-05-30 12:13:25 +02:00
antirez
376797e1b5
Make tests compatible with new INFO replication output.
2013-05-30 11:43:43 +02:00
antirez
d64d2e21c9
Make tests compatible with new INFO replication output.
2013-05-30 11:43:43 +02:00
antirez
b6e37a61c4
min-replicas-to-write: only deny write commands.
...
I guess I needed another coffee...
2013-05-30 11:30:09 +02:00
antirez
2ec7875cbf
min-replicas-to-write: only deny write commands.
...
I guess I needed another coffee...
2013-05-30 11:30:09 +02:00
antirez
cb76f29230
min-slaves-to-write: don't accept writes with less than N replicas.
...
This feature allows the user to specify the minimum number of
connected replicas having a lag less or equal than the specified
amount of seconds for writes to be accepted.
2013-05-30 11:30:04 +02:00
antirez
ed599d3aca
min-slaves-to-write: don't accept writes with less than N replicas.
...
This feature allows the user to specify the minimum number of
connected replicas having a lag less or equal than the specified
amount of seconds for writes to be accepted.
2013-05-30 11:30:04 +02:00
antirez
78259af9ec
min-slaves-to-write: initial description of the feature in redis.conf
2013-05-30 11:29:58 +02:00
antirez
cbdb2153c5
min-slaves-to-write: initial description of the feature in redis.conf
2013-05-30 11:29:58 +02:00
antirez
564d8c4c0b
repl_offset field in INFO replication is now just offset.
2013-05-29 19:56:33 +02:00
antirez
888400ebd5
repl_offset field in INFO replication is now just offset.
2013-05-29 19:56:33 +02:00
antirez
db72ecccc8
Slaves list in INFO output: lag added, format changed.
...
There is a new 'lag' information in the list of slaves, in the
"replication" section of the INFO output.
Also the format was changed in a backward incompatible way in order to
make it more easy to parse if new fields are added in the future, as the
new format is comma separated but has named fields (no longer positional
fields).
2013-05-29 19:54:44 +02:00
antirez
37c29e037b
Slaves list in INFO output: lag added, format changed.
...
There is a new 'lag' information in the list of slaves, in the
"replication" section of the INFO output.
Also the format was changed in a backward incompatible way in order to
make it more easy to parse if new fields are added in the future, as the
new format is comma separated but has named fields (no longer positional
fields).
2013-05-29 19:54:44 +02:00
antirez
be6182c26a
Accept REPLCONF in any state.
2013-05-28 15:26:20 +02:00