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
antirez
091ed386f7
Accept REPLCONF in any state.
2013-05-28 15:26:20 +02:00
antirez
d0a7837797
A comment about BLPOP timeout did not reflected actual behavior.
2013-05-27 19:34:14 +02:00
antirez
a864cae2a5
A comment about BLPOP timeout did not reflected actual behavior.
2013-05-27 19:34:14 +02:00
antirez
25e71b041d
Version bumped to 2.9.11
2013-05-27 11:44:04 +02:00
antirez
1909b8753d
Version bumped to 2.9.11
2013-05-27 11:44:04 +02:00
antirez
b19e3de1d7
redis.conf updated: repl-timeout now uesd by masters as well.
2013-05-27 11:42:45 +02:00
antirez
c9b55a29d6
redis.conf updated: repl-timeout now uesd by masters as well.
2013-05-27 11:42:45 +02:00
antirez
8752adc059
Close connection with timedout slaves.
...
Now masters, using the time at which the last REPLCONF ACK was received,
are able to explicitly disconnect slaves that are no longer responding.
Previously the only chance was to see a very long output buffer, that
was highly suboptimal.
2013-05-27 11:42:42 +02:00
antirez
3c82c85fcf
Close connection with timedout slaves.
...
Now masters, using the time at which the last REPLCONF ACK was received,
are able to explicitly disconnect slaves that are no longer responding.
Previously the only chance was to see a very long output buffer, that
was highly suboptimal.
2013-05-27 11:42:42 +02:00
antirez
8304ed9a06
Send ACK to master once every second.
...
ACKs can be also used as a base for synchronous replication. However in
that case they'll be explicitly requested by the master when the client
sends a request that needs to be replicated synchronously.
2013-05-27 11:42:38 +02:00