antirez
8d617596f1
Implement a function to retrieve the expansive clients mem usage.
2018-07-19 13:58:04 +02:00
antirez
2373eaccf1
Implement a function to retrieve the expansive clients mem usage.
2018-07-19 13:58:04 +02:00
antirez
e88cf71692
clientsCronTrackExpansiveClients() actual implementation.
2018-07-19 13:54:20 +02:00
antirez
85a1b4f807
clientsCronTrackExpansiveClients() actual implementation.
2018-07-19 13:54:20 +02:00
antirez
9c87d5cabe
clientsCronTrackExpansiveClients() actual implementation.
2018-07-19 13:54:20 +02:00
antirez
f34e96cdeb
clientsCronTrackExpansiveClients() skeleton and ideas.
2018-07-19 13:49:00 +02:00
antirez
d4c5fc57db
clientsCronTrackExpansiveClients() skeleton and ideas.
2018-07-19 13:49:00 +02:00
antirez
363edba137
clientsCronTrackExpansiveClients() skeleton and ideas.
2018-07-19 13:49:00 +02:00
antirez
6a3e9a020f
Make vars used only by INFO CLIENTS local to the block.
...
Related to #4727 .
2018-07-19 12:23:05 +02:00
antirez
1c95c07596
Make vars used only by INFO CLIENTS local to the block.
...
Related to #4727 .
2018-07-19 12:23:05 +02:00
antirez
7401f4b7cf
Make vars used only by INFO CLIENTS local to the block.
...
Related to #4727 .
2018-07-19 12:23:05 +02:00
Salvatore Sanfilippo
479882adc4
Merge pull request #4727 from kingpeterpaule/redis-fix-info-cli
...
move getClientsMaxBuffers func into info clients command
2018-07-19 12:21:35 +02:00
Salvatore Sanfilippo
16b8d364cc
Merge pull request #4727 from kingpeterpaule/redis-fix-info-cli
...
move getClientsMaxBuffers func into info clients command
2018-07-19 12:21:35 +02:00
Salvatore Sanfilippo
8b638d90be
Merge pull request #4727 from kingpeterpaule/redis-fix-info-cli
...
move getClientsMaxBuffers func into info clients command
2018-07-19 12:21:35 +02:00
antirez
382e268926
Merge branch 'unstable' of github.com:/antirez/redis into unstable
2018-07-18 17:41:37 +02:00
antirez
0aca977c47
Merge branch 'unstable' of github.com:/antirez/redis into unstable
2018-07-18 17:41:37 +02:00
antirez
be0266ab8d
Merge branch 'unstable' of github.com:/antirez/redis into unstable
2018-07-18 17:41:37 +02:00
antirez
d7631eeb68
In addReplyErrorLength() only panic when replying to slave.
...
See #5135 for more context.
2018-07-18 17:41:16 +02:00
antirez
313b2240ae
In addReplyErrorLength() only panic when replying to slave.
...
See #5135 for more context.
2018-07-18 17:41:16 +02:00
antirez
8f94829fa3
In addReplyErrorLength() only panic when replying to slave.
...
See #5135 for more context.
2018-07-18 17:41:16 +02:00
antirez
2693b42ee4
Refine comment in addReplyErrorLength() about replying to masters/slaves.
...
See #5135 for some context.
2018-07-18 17:40:07 +02:00
antirez
6183f0590d
Refine comment in addReplyErrorLength() about replying to masters/slaves.
...
See #5135 for some context.
2018-07-18 17:40:07 +02:00
antirez
84d17a5f72
Refine comment in addReplyErrorLength() about replying to masters/slaves.
...
See #5135 for some context.
2018-07-18 17:40:07 +02:00
Salvatore Sanfilippo
b7bc15167d
Merge pull request #5138 from oranagra/improve_defrag_test
...
make active defrag test more stable
2018-07-18 11:05:03 +02:00
Salvatore Sanfilippo
22e9321c3e
Merge pull request #5138 from oranagra/improve_defrag_test
...
make active defrag test more stable
2018-07-18 11:05:03 +02:00
Salvatore Sanfilippo
4ff114bcfa
Merge pull request #5138 from oranagra/improve_defrag_test
...
make active defrag test more stable
2018-07-18 11:05:03 +02:00
Oran Agra
f7e8219353
make active defrag test more stable
...
on slower machines, the active defrag test tended to fail.
although the fragmentation ratio was below the treshold, the defragger was
still in the middle of a scan cycle.
this commit changes:
- the defragger uses the current fragmentation state, rather than the cache one
that is updated by server cron every 100ms. this actually fixes a bug of
starting one excess scan cycle
- the test lets the defragger use more CPU cycles, in hope that the defrag
will be faster, but also give it more time before we give up.
2018-07-18 10:16:33 +03:00
Oran Agra
f89c93c8ad
make active defrag test more stable
...
on slower machines, the active defrag test tended to fail.
although the fragmentation ratio was below the treshold, the defragger was
still in the middle of a scan cycle.
this commit changes:
- the defragger uses the current fragmentation state, rather than the cache one
that is updated by server cron every 100ms. this actually fixes a bug of
starting one excess scan cycle
- the test lets the defragger use more CPU cycles, in hope that the defrag
will be faster, but also give it more time before we give up.
2018-07-18 10:16:33 +03:00
Oran Agra
0a4d1f114e
make active defrag test more stable
...
on slower machines, the active defrag test tended to fail.
although the fragmentation ratio was below the treshold, the defragger was
still in the middle of a scan cycle.
this commit changes:
- the defragger uses the current fragmentation state, rather than the cache one
that is updated by server cron every 100ms. this actually fixes a bug of
starting one excess scan cycle
- the test lets the defragger use more CPU cycles, in hope that the defrag
will be faster, but also give it more time before we give up.
2018-07-18 10:16:33 +03:00
Salvatore Sanfilippo
29701759cd
Merge pull request #5122 from trevor211/allowWritesWhenAofDisabled
...
Accept write commands if persisting is disabled
2018-07-17 18:08:46 +02:00
Salvatore Sanfilippo
8213f64d64
Merge pull request #5122 from trevor211/allowWritesWhenAofDisabled
...
Accept write commands if persisting is disabled
2018-07-17 18:08:46 +02:00
Salvatore Sanfilippo
7050029b5d
Merge pull request #5122 from trevor211/allowWritesWhenAofDisabled
...
Accept write commands if persisting is disabled
2018-07-17 18:08:46 +02:00
Salvatore Sanfilippo
e2dcd1cb00
Merge pull request #4237 from aspirewit/update-comment
...
Update the comment
2018-07-17 18:04:55 +02:00
Salvatore Sanfilippo
46fd927800
Merge pull request #4237 from aspirewit/update-comment
...
Update the comment
2018-07-17 18:04:55 +02:00
Salvatore Sanfilippo
b8d6bdf224
Merge pull request #4237 from aspirewit/update-comment
...
Update the comment
2018-07-17 18:04:55 +02:00
antirez
be5487e552
Streams: better error when $ is given with XREADGROUP.
2018-07-17 17:54:10 +02:00
antirez
6201f7b4e0
Streams: better error when $ is given with XREADGROUP.
2018-07-17 17:54:10 +02:00
antirez
cc69607936
Streams: better error when $ is given with XREADGROUP.
2018-07-17 17:54:10 +02:00
Salvatore Sanfilippo
384b4b495d
Merge pull request #5136 from 0xtonyxia/fix-xread-id-parse
...
Fix xreadgroup with '$' ID.
2018-07-17 17:50:31 +02:00
Salvatore Sanfilippo
4bff45c7a6
Merge pull request #5136 from 0xtonyxia/fix-xread-id-parse
...
Fix xreadgroup with '$' ID.
2018-07-17 17:50:31 +02:00
Salvatore Sanfilippo
7fd0720ea1
Merge pull request #5136 from 0xtonyxia/fix-xread-id-parse
...
Fix xreadgroup with '$' ID.
2018-07-17 17:50:31 +02:00
antirez
ace7d17fc7
Panic when we are sending an error to our master/slave.
...
Related to #5135 , see discussion there.
2018-07-17 17:42:30 +02:00
antirez
afc7e08a20
Panic when we are sending an error to our master/slave.
...
Related to #5135 , see discussion there.
2018-07-17 17:42:30 +02:00
antirez
919c89d5ee
Panic when we are sending an error to our master/slave.
...
Related to #5135 , see discussion there.
2018-07-17 17:42:30 +02:00
dejun.xdj
513985d4bc
Streams: remove meaningless if condition.
...
It's already checked if xreadgroup is set and groupname is NULL.
2018-07-17 18:23:47 +08:00
dejun.xdj
846cf12ae5
Streams: remove meaningless if condition.
...
It's already checked if xreadgroup is set and groupname is NULL.
2018-07-17 18:23:47 +08:00
dejun.xdj
5b33aee802
Streams: remove meaningless if condition.
...
It's already checked if xreadgroup is set and groupname is NULL.
2018-07-17 18:23:47 +08:00
dejun.xdj
3cf77c02eb
Streams: return an error message if using xreadgroup with '$' ID.
...
Redis will always return an empty result when '$' ID is specified
with xreadgroup command, it's meaningless.
2018-07-17 18:19:10 +08:00
dejun.xdj
6501b6bb6d
Streams: return an error message if using xreadgroup with '$' ID.
...
Redis will always return an empty result when '$' ID is specified
with xreadgroup command, it's meaningless.
2018-07-17 18:19:10 +08:00
dejun.xdj
6eb1f8add6
Streams: return an error message if using xreadgroup with '$' ID.
...
Redis will always return an empty result when '$' ID is specified
with xreadgroup command, it's meaningless.
2018-07-17 18:19:10 +08:00