00-RELEASENOTES 162.1 KB
Newer Older
A
antirez 已提交
1 2
Redis 4.0 release notes
=======================
3

A
antirez 已提交
4 5
--------------------------------------------------------------------------------
Upgrade urgency levels:
6

A
antirez 已提交
7 8 9 10 11
LOW:      No need to upgrade unless there are new features you want to use.
MODERATE: Program an upgrade of the server, but it's not urgent.
HIGH:     There is a critical bug that may affect a subset of users. Upgrade!
CRITICAL: There is a critical bug affecting MOST USERS. Upgrade ASAP.
--------------------------------------------------------------------------------
12

A
antirez 已提交
13 14 15 16 17 18 19 20 21
================================================================================
Redis 4.0.13     Released Wed Feb 20 17:25:31 CEST 2019
================================================================================

This release just backports a few fixes from Redis 5:

60b2537f rewrite BRPOPLPUSH as RPOPLPUSH to propagate
afc4b36c Don't treat unsupported protocols as fatal errors

A
antirez 已提交
22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45
================================================================================
Redis 4.0.12     Released Tue Dec 11 18:06:12 CEST 2018
================================================================================

This backports the following Redis 5 fixes back into Redis 4.
Please check the Redis 5 changelog or see the full commit messages
for more information. Note that there are important fixes to the AOF
implementation so Redis 4.0.12 should be considered as a worthwhile
upgrade in production environments where AOF is used and there is the
idea of sticking with Redis 4 for some time.

b6cd3b3c asyncCloseClientOnOutputBufferLimitReached(): don't free fake clients.
e16402b0 Don't call sdscmp() with shared.maxstring or shared.minstring
49d9f411 Fix stringmatchlen() read past buffer bug.
97192e2d Merge pull request #5569 from maximebedard/backport-4497
1908aba7 add linkClient(): adds the client and caches the list node.
239b0857 networking: optimize unlinkClient() in freeClient()
54b17f98 When replica kills a pending RDB save during SYNC, log it.
b31c08db Move child termination to readSyncBulkPayload
21971ac8 Prevent RDB autosave from overwriting full resync results
3a91fcbc aof.c: improve indentation and change warning message.
e6f287d5 AOF: discard if we lost EXEC when loading aof
e0d4c66a Fix AOF comment to report the current behavior.

A
antirez 已提交
46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95
================================================================================
Redis 4.0.11     Released Fri Aug 03 17:09:24 CEST 2018
================================================================================

Upgrade urgency HIGH: not critical but very important bugs fixed.

Dear users, this is just a bugfix release of Redis 4. All new work
is now focused on Redis 5, however we backported a number of bug fixes here:

* The disconnection time between the master and slave was reset in an
  incorrect place, sometimes a good slave will not be able to failover
  because it claims it was disconnected for too much time from the master.
* A replication bug, rare to trigger but non impossible, is in Redis for
  years. It was lately discovered at Redis Labs and fixed by Oran Agra.
  It may cause disconnections, desynchronizations and other issues.
* RANDOMKEY may go in infinite loop on rare situations. Now fixed.
* EXISTS now works in a more consistent way on slaves.
* Sentinel: backport of an option to deny a potential security problem
  when the SENTINEL command is used to configure an arbitrary script
  to execute.

Many of these issues are there for a very long time, however upgrading
is a good idea.

This is the full list of commits:

antirez in commit 677f7585:
 Set repl_down_since to zero on state change.
 1 file changed, 2 insertions(+), 1 deletion(-)

WuYunlong in commit 8c6223f9:
 fix server.repl_down_since resetting, so that slaves could failover automatically as expected.
 1 file changed, 1 insertion(+), 1 deletion(-)

Oran Agra in commit 9535c215:
 fix rare replication stream corruption with disk-based replication
 3 files changed, 19 insertions(+), 9 deletions(-)

zhaozhao.zz in commit 5f1fcc59:
 fix exists command on slave
 1 file changed, 1 insertion(+), 2 deletions(-)

antirez in commit ab145a9f:
 Fix infinite loop in dbRandomKey().
 1 file changed, 13 insertions(+)

antirez in commit 2fa43ece:
 Sentinel: add an option to deny online script reconfiguration.
 2 files changed, 41 insertions(+)

A
antirez 已提交
96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218
================================================================================
Redis 4.0.10     Released Wed Jun 13 12:49:13 CEST 2018
================================================================================

Upgrade urgency CRITICAL: This release fixes important security issues.
                    HIGH: This release fixes a SCAN commands family bug.
                MODERATE: This release fixes a PSYNC2 edge case with expires.
                MODERATE: Sentinel related fixes.
                     LOW: All the other issues

Redis 4.0.10 fixes a number of important issues:

* Important security issues related to the Lua scripting engine.
  Please check https://github.com/antirez/redis/issues/5017
  for more information.

* A bug with SCAN, SSCAN, HSCAN and ZSCAN, that may not return all the elements.
  We also add a regression test that can trigger the issue often when present, and
  may in theory be able to find unrelated regressions.

* A PSYNC2 bug is fixed: Redis should not expire keys when saving RDB files
  because otherwise it is no longer possible to use such RDB file as a base
  for partial resynchronization. It no longer represents the right state.

* Compatibility of AOF with RDB preamble when the RDB checksum is disabled.

* Sentinel bug that in some cases prevented Sentinel to detect that the master
  was down immediately. A delay was added to the detection.

* Other minor issues.

The following is the list of commits composing the release, please check
the commit messages and authors for credits.

antirez in commit 9fdcc159:
 Security: fix redis-cli buffer overflow.
 1 file changed, 16 insertions(+), 11 deletions(-)

antirez in commit cf760071:
 Security: fix Lua struct package offset handling.
 1 file changed, 6 insertions(+), 2 deletions(-)

antirez in commit a57595ca:
 Security: more cmsgpack fixes by @soloestoy.
 1 file changed, 7 insertions(+)

antirez in commit 8783fb94:
 Security: update Lua struct package for security.
 1 file changed, 23 insertions(+), 23 deletions(-)

antirez in commit 8cb9344b:
 Security: fix Lua cmsgpack library stack overflow.
 1 file changed, 3 insertions(+)

赵磊 in commit 59080f60:
 Fix dictScan(): It can't scan all buckets when dict is shrinking.
 1 file changed, 14 insertions(+), 11 deletions(-)

dejun.xdj in commit ac2a824a:
 Fix redis-cli memory leak when sending set preference command.
 1 file changed, 2 insertions(+)

dejun.xdj in commit c7197ff5:
 Check if the repeat value is positive in while loop of cliSendCommand().
 1 file changed, 1 insertion(+), 1 deletion(-)

dejun.xdj in commit 3f77777f:
 Change the type of repeat argument to long for function cliSendCommand.
 1 file changed, 1 insertion(+), 1 deletion(-)

dejun.xdj in commit 7a565d72:
 Fix negtive repeat command value issue.
 1 file changed, 11 insertions(+), 3 deletions(-)

dejun.xdj in commit 64bf60fb:
 Detect and stop saving history for auth command with repeat option.
 1 file changed, 17 insertions(+), 10 deletions(-)

dejun.xdj in commit 5bed12aa:
 Change the warning message a little bit to avoid trademark issuses.
 1 file changed, 1 insertion(+), 1 deletion(-)

dejun.xdj in commit d71c4961:
 Stop saving auth command in redis-cli history.
 1 file changed, 4 insertions(+), 2 deletions(-)

dejun.xdj in commit fca99e41:
 Add warning message when using password on command line
 1 file changed, 1 insertion(+)

antirez in commit 01407a3a:
 Don't expire keys while loading RDB from AOF preamble.
 3 files changed, 5 insertions(+), 5 deletions(-)

WuYunlong in commit fb5408cf:
 Fix rdb save by allowing dumping of expire keys, so that when we add a new slave, and do a failover, eighter by manual or not, other local slaves will delete the expired keys properly.
 2 files changed, 3 insertions(+), 7 deletions(-)

antirez in commit 0b8b6df4:
 Backport hiredis issue 525 fix to compile on FreeBSD.
 1 file changed, 1 insertion(+), 1 deletion(-)

antirez in commit e98627c5:
 Add INIT INFO to the provided init script.
 1 file changed, 8 insertions(+)

antirez in commit 17f5de89:
 Fix ae.c when a timer finalizerProc adds an event.
 2 files changed, 10 insertions(+), 6 deletions(-)

antirez in commit 266e6423:
 Sentinel: fix delay in detecting ODOWN.
 1 file changed, 9 insertions(+), 5 deletions(-)

zhaozhao.zz in commit eafaf172:
 AOF & RDB: be compatible with rdbchecksum no
 1 file changed, 9 insertions(+), 7 deletions(-)

huijing.whj in commit 4630da37:
 fix int overflow problem in freeMemoryIfNeeded
 1 file changed, 1 insertion(+), 1 deletion(-)


A
antirez 已提交
219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411
================================================================================
Redis 4.0.9     Released Mon Mar 26 17:52:32 CEST 2018
================================================================================

Upgrade urgency CRITICAL: Critical upgrade for users using AOF with the
                          fsync policy set to "always".

Dear Redis users,

Redis version 4.0.9 adds a few interesting new features and fixes a very
critical bug regarding the Append Only File. Let's start with the bad news
(the critical bug), explaining what happens and in what conditions:

Critical AOF bug explained
--------------------------

When AOF is enabled with the fsync policy set to "always", we have a
(rarely used) setup where Redis fsyncs every new write on disk. On this
setup Redis MUST reply to the client with an OK code to the write, only
after the write is already persisted on disk.

Because of a bug, in particular conditions, it sometimes happens (verified
experimentally that the condition can be actually created) that in the
same event loop cycle the command is both processed and the reply sent, before
the beforeSleep() function has the ability to fsync the write on disk.

The redis 4.0.9 release fixes this problem introducing the concept of
write barriers in the Redis event loop (ae.c). If you are using a different
AOF setup, like fsync everysec, you are not affected because such guarantee
is not provided anyway. Similarly if you have fsync set to always but you
do not semantically use the fact that the reply is only sent after the
successful fsync, you may avoid upgrading.

Other bugfixes
--------------

Other things that we fixed in this release include:

* Latency monitor could report wrong latencies under certain conditions.
* AOF rewriting could fail when a backgronud rewrite is triggered and
  at the same time the AOF is switched on/off.
* Redis Cluster crash-recovery safety improved.
* Other smaller fixes (check commnits).

New features
------------

* Redis Cluster has now the ability to configure certain slaves so that
  they'll never attempt a failover.
* Keyspace notifications API in modules.
* RM_Call() is now faster by reusing the same client.
* Tracking of the percentage of keys already logically expired but yet
  not evicted.
* Other smaller improvements (check commits)

This is the list of commits composing this release:

zhaozhao.zz in commit 5b722bd7:
 fix missed call on freeaddrinfo
 1 file changed, 1 insertion(+), 1 deletion(-)

zhaozhao.zz in commit 2551b0f6:
 anet: avoid double close
 1 file changed, 1 insertion(+), 1 deletion(-)

antirez in commit 8d92885b:
 Cluster: add test for the nofailover flag.
 2 files changed, 71 insertions(+)

antirez in commit 70597a30:
 Cluster: ability to prevent slaves from failing over their masters.
 6 files changed, 70 insertions(+), 2 deletions(-)

antirez in commit 16cad10a:
 redis-cli: fix missed unit in array. Change define name.
 1 file changed, 5 insertions(+), 5 deletions(-)

charsyam in commit 640fa434:
 fix-out-of-index-range-for-redis-cli-findbigkey
 1 file changed, 6 insertions(+), 4 deletions(-)

antirez in commit 83390f55:
 expireIfNeeded() needed a top comment documenting the behavior.
 1 file changed, 19 insertions(+)

antirez in commit 888039ca:
 expireIfNeeded() comment: claim -> pretend.
 1 file changed, 1 insertion(+), 1 deletion(-)

antirez in commit e09c8c10:
 Actually use ae_flags to add AE_BARRIER if needed.
 1 file changed, 1 insertion(+), 1 deletion(-)

charsyam in commit fb7560bc:
 refactoring-make-condition-clear-for-rdb
 1 file changed, 2 insertions(+), 2 deletions(-)

antirez in commit 1e2f0d69:
 ae.c: insetad of not firing, on AE_BARRIER invert the sequence.
 1 file changed, 38 insertions(+), 22 deletions(-)

antirez in commit b2e4aad9:
 AOF: fix a bug that may prevent proper fsyncing when fsync=always.
 1 file changed, 18 insertions(+), 6 deletions(-)

antirez in commit 93bad8ae:
 Cluster: improve crash-recovery safety after failover auth vote.
 1 file changed, 3 insertions(+), 2 deletions(-)

antirez in commit e32752e8:
 ae.c: introduce the concept of read->write barrier.
 2 files changed, 29 insertions(+), 6 deletions(-)

antirez in commit 262f4039:
 Fix ziplist prevlen encoding description. See #4705.
 1 file changed, 6 insertions(+), 6 deletions(-)

antirez in commit 83923afa:
 Track number of logically expired keys still in memory.
 3 files changed, 28 insertions(+), 1 deletion(-)

antirez in commit 256ddbf6:
 Remove non semantical spaces from module.c.
 1 file changed, 36 insertions(+), 41 deletions(-)

antirez in commit 280c3e39:
 Fix typo in notifyKeyspaceEvent() comment.
 1 file changed, 1 insertion(+), 1 deletion(-)

Dvir Volk in commit 7c4623b0:
 Add doc comment about notification flags
 1 file changed, 1 insertion(+)

Dvir Volk in commit f4e7502e:
 Fix indentation and comment style in testmodule
 1 file changed, 92 insertions(+), 98 deletions(-)

Dvir Volk in commit 3c8456c6:
 Use one static client for all keyspace notification callbacks
 1 file changed, 11 insertions(+), 7 deletions(-)

Dvir Volk in commit aaaff8bd:
 Remove the NOTIFY_MODULE flag and simplify the module notification flow if there aren't subscribers
 3 files changed, 5 insertions(+), 9 deletions(-)

Dvir Volk in commit 0be51b8f:
 Document flags for notifications
 1 file changed, 17 insertions(+), 1 deletion(-)

Dvir Volk in commit 3b95c89c:
 removed some trailing whitespaces
 1 file changed, 2 deletions(-)

Dvir Volk in commit 84c6f1e3:
 removed hellonotify.c
 3 files changed, 1 insertion(+), 87 deletions(-)

Dvir Volk in commit 53b85e53:
 fixed test
 1 file changed, 7 insertions(+), 1 deletion(-)

Dvir Volk in commit b43f66c9:
 finished implementation of notifications. Tests unfinished
 7 files changed, 339 insertions(+), 3 deletions(-)

antirez in commit eddf5deb:
 More verbose logging when slave sends errors to master.
 1 file changed, 6 insertions(+), 2 deletions(-)

oranagra in commit c09cc0a9:
 when a slave experiances an error on commands that come from master, print to the log
 1 file changed, 2 insertions(+)

charsyam in commit 5c374f94:
 getting rid of duplicated code
 1 file changed, 2 insertions(+), 2 deletions(-)

Guy Benoish in commit a64f36e5:
 enlarged buffer given to ld2string
 3 files changed, 7 insertions(+), 2 deletions(-)

antirez in commit f1705801:
 Make it explicit with a comment why we kill the old AOF rewrite.
 1 file changed, 3 insertions(+)

Guy Benoish in commit 0c030dea:
 rewriteAppendOnlyFileBackground() failure fix
 1 file changed, 31 insertions(+), 21 deletions(-)

Oran Agra in commit 58073974:
 fix to latency monitor reporting wrong max latency
 1 file changed, 1 insertion(+)

A
antirez 已提交
412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436
================================================================================
Redis 4.0.8     Released Fri Feb 2 11:17:40 CET 2018
================================================================================

Upgrade urgency CRITICAL ONLY for Redis Cluster users. Otherwise no reason
to upgrade at all.

Redis 4.0.8 fixes a single critical bug in the radix tree data structure
used for Redis Cluster keys slot tracking. The problem was actually fixed
10 months ago into unstable, but it was fixed in a commit related to Streams
so it was never backported (for error) into the 4.0 branch.

The problem will crash Redis Cluster instances during deletions, but it is
very hard to trigger: only when the node removed is in the edge of a memory
mapped area there are the conditions to create an issue, because otherwise
the code just accesses an out of range word in read-only way in an allocated
structure: this is almost always harmless.

The single commit in this release:

f603940f Rax updated to latest antirez/rax commit. (Salvatore Sanfilippo)

Cheers,
Salvatore

A
antirez 已提交
437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660
================================================================================
Redis 4.0.7     Released Wed Jan 24 11:01:40 CET 2018
================================================================================

Upgrade urgency MODERATE: Several bugs fixed, but none of critical level.

Dear Redis Users,

Redis 4.0.7 addresses a number of problems and adds a few things that are
very useful to have and was worth to backport into a patchlevel release.
Here is a list of the most important things, but you can find the full list
of commits below as usually:

* Many 32 bit overflows were addressed in order to allow to use Redis with
  a very significant amount of data, memory size permitting. (zhaozhao.zz,
  Oran Agra)

* MEMORY USAGE fixed for the list type. (gnuhpc)

* Allow read-only scripts in Redis Cluster. (Salvatore Sanfilippo)

* Fix AOF pipes setup in edge case. (heqin)

* AUTH option for MIGRATE. (AlexStocks, Salvatore Sanfilippo, Fabio Nicotra)

* HyperLogLogs are no longer converted from sparse to dense in order
  to be merged. (Salvatore Sanfilippo)

* Fix AOF rewrite dead loop under edge cases. (heqin)

* Fix processing of large bulk strings (>= 2GB). (Oran Agra)

* Added RM_UnlinkKey in modules API. (Dvir Volk)

* Fix Redis Cluster crashes when certain commands with a variable number
  of arguments are called in an improper way. (Salvatore Sanfilippo)

* Fix memory leak in lazyfree engine. (zhaozhao.zz)

* Fix many potentially successful partial synchronizations that end
  doing a full SYNC, because of a bug destroying the replication
  backlog on the slave. So after a failover the slave was often not able
  to PSYNC with masters, and a full SYNC was triggered. The bug only
  happened after 1 hour of uptime so escaped the unit tests. (Oran Agra)

* Improve anti-affinity in master/slave allocation for Redis Cluster
  when the cluster is created. (Salvatore Sanfilippo)

* Improve output buffer handling for slaves, by not limiting the amount
  of writes a slave could receive. (Guy Benoish)

The full list of commits follow.

Enjoy,
Salvatore

jianqingdu in commit 2b99d77a:
 fix not call va_end when syncWrite() failed
 1 file changed, 2 insertions(+), 2 deletions(-)

Yusaku Kaneta in commit 5f9b9e11:
 Fix the firstkey, lastkey, and keystep of moduleCommand
 1 file changed, 1 insertion(+), 1 deletion(-)

Mark Nunberg in commit ba2d3e8e:
 redismodule.h: Check ModuleNameBusy before calling it
 1 file changed, 1 insertion(+), 1 deletion(-)

antirez in commit 05c1f18d:
 Fix integration test NOREPLICAS error time dependent false positive.
 1 file changed, 6 insertions(+), 3 deletions(-)

antirez in commit 4acd6973:
 Fix migrateCommand() access of not initialized byte.
 1 file changed, 5 insertions(+), 2 deletions(-)

Guy Benoish in commit 548e4fe0:
 Replication buffer fills up on high rate traffic.
 1 file changed, 7 insertions(+), 2 deletions(-)

antirez in commit efa7063c:
 Cluster: improve anti-affinity algo in redis-trib.rb.
 1 file changed, 131 insertions(+), 1 deletion(-)

antirez in commit 48568ab6:
 Remove useless comment from serverCron().
 1 file changed, 2 insertions(+), 3 deletions(-)

heqin in commit 0201dea5:
 fixbug for #4545 dead loop aof rewrite
 1 file changed, 1 insertion(+), 1 deletion(-)

antirez in commit 926beaa3:
 Hopefully more clear comment to explain the change in #4607.
 1 file changed, 4 insertions(+), 3 deletions(-)

qinchao in commit 019ad3e2:
 fix assert problem in ZIP_DECODE_PREVLENSIZE , see issue: https://github.com/antirez/redis/issues/4587
 1 file changed, 1 insertion(+), 1 deletion(-)

Oran Agra in commit 8d9dff84:
 PSYNC2 fix - promoted slave should hold on to it's backlog
 1 file changed, 5 insertions(+)

zhaozhao.zz in commit fba2e169:
 aof: format code and comment
 1 file changed, 5 insertions(+), 5 deletions(-)

antirez in commit 7777be7b:
 Put more details in the comment introduced by #4601.
 1 file changed, 8 insertions(+), 3 deletions(-)

zhaozhao.zz in commit 91c1568b:
 lazyfree: fix memory leak for lazyfree-lazy-server-del
 1 file changed, 4 insertions(+), 3 deletions(-)

antirez in commit f9c2c1ac:
 Fix getKeysUsingCommandTable() in the case of nagative arity.
 1 file changed, 7 insertions(+), 5 deletions(-)

antirez in commit 61135f18:
 Document new protocol options in #4568 into redis.conf.
 1 file changed, 14 insertions(+)

antirez in commit e77fba4d:
 proto-max-querybuf-len -> client-query-buffer-limit.
 1 file changed, 4 insertions(+), 4 deletions(-)

antirez in commit 87fe813b:
 New config options about protocol prefixed with "proto".
 4 files changed, 13 insertions(+), 13 deletions(-)

gnuhpc in commit 2e0d2414:
 Fix a typo(maybe instruction?) in crash log
 1 file changed, 1 insertion(+), 1 deletion(-)

Dvir Volk in commit 9f7e214e:
 Added RM_UnlinkKey - a low level analog to UNLINK command
 3 files changed, 56 insertions(+)

zhaozhao.zz in commit 947077bb:
 redis-benchmark: bugfix - handle zero liveclients in right way
 1 file changed, 1 insertion(+), 1 deletion(-)

Oran Agra in commit ff2e628f:
 Add config options for max-bulk-len and max-querybuf-len mainly to support RESTORE of large keys
 4 files changed, 16 insertions(+), 1 deletion(-)

Oran Agra in commit aefa9caa:
 fix processing of large bulks (above 2GB)
 8 files changed, 39 insertions(+), 33 deletions(-)

heqin in commit 896cf1a9:
 fixbug for #4545 dead loop aof rewrite
 1 file changed, 3 insertions(+), 1 deletion(-)

antirez in commit 5abb12e0:
 Hyperloglog: refresh hdr variable correctly.
 1 file changed, 3 insertions(+), 1 deletion(-)

antirez in commit c39a0f7c:
 Hyperloglog: Support for PFMERGE sparse encoding as target.
 1 file changed, 14 insertions(+), 3 deletions(-)

antirez in commit 8a012df9:
 Hyperloglog: refactoring of sparse/dense add function.
 1 file changed, 38 insertions(+), 20 deletions(-)

antirez in commit 549409ff:
 Test: MIGRATE AUTH test added.
 1 file changed, 24 insertions(+)

antirez in commit 47717222:
 Rewrite MIGRATE AUTH option.
 1 file changed, 38 insertions(+), 12 deletions(-)

heqin in commit d8da89ea:
 fixbug for #4538 Error opening /setting AOF rewrite IPC pipes: No such file or directory
 1 file changed, 6 insertions(+), 4 deletions(-)

antirez in commit 4fcc564a:
 safe_write -> aofWrite. Function commented.
 1 file changed, 9 insertions(+), 2 deletions(-)

zhaozhao.zz in commit 27d9c729:
 aof: cast sdslen to ssize_t
 1 file changed, 1 insertion(+), 1 deletion(-)

zhaozhao.zz in commit de4fb877:
 aof: fix the short write
 1 file changed, 22 insertions(+), 1 deletion(-)

Tomasz Poradowski in commit 1fade3d3:
 always enable command history in redis-cli
 1 file changed, 2 insertions(+), 1 deletion(-)

antirez in commit 9f4d4eef:
 Cluster: allow read-only EVAL/EVALSHA in slaves.
 1 file changed, 2 insertions(+), 1 deletion(-)

nashe in commit 8eeceabd:
 Prevent off-by-one read in stringmatchlen() (fixes #4527)
 1 file changed, 1 insertion(+), 1 deletion(-)

gnuhpc in commit 733af148:
 Fix memory usage list bug
 1 file changed, 1 insertion(+), 1 deletion(-)

zhaozhao.zz in commit c9cb699b:
 dict: fix the int problem for defrag
 3 files changed, 5 insertions(+), 5 deletions(-)

zhaozhao.zz in commit b37099a1:
 dict: fix the int problem
 1 file changed, 9 insertions(+), 9 deletions(-)

zhaozhao.zz in commit 8fe586d3:
 set: fix the int problem for qsort
 1 file changed, 8 insertions(+), 2 deletions(-)

zhaozhao.zz in commit 219e29af:
 set: fix the int problem for SPOP & SRANDMEMBER
 1 file changed, 2 insertions(+), 2 deletions(-)

A
antirez 已提交
661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713
================================================================================
Redis 4.0.6     Released Thu Dec 4 17:54:10 CET 2017
================================================================================

Upgrade urgency CRITICAL: More errors in the fixes for PSYNC2 in Redis 4.0.5
                          were identified.

This release fixes yet more errors present in the 4.0.5 fixes, that could
affect slaves. Moreover another critical issue in quicklists, when they are
used at a massive memory scale, was fixed in this release. Upgrading from
any 4.0.x release, especially if you are running 4.0.4 or 4.0.5, is highly
recommended.

Note that while this fix for 4.0.6 was written in an hurry as well, this
time we took extra precautions in order to avoid writing a broken patch:

1. The code was reviewed by two developers independently.
2. A regression test about the problem introduced in 4.0.4/5 was added.
3. Resisting to duplicated Lua scripts loading into the Lua engine is now
   the default action of the loading function, thus it's simpler to stress
   its behavior.
4. The code section was tested with Valgrind.

The following is the list of commits included in this release:

zhaozhao.zz in commit 57786b14:
 quicklist: change the len of quicklist to unsigned long
 2 files changed, 4 insertions(+), 4 deletions(-)

zhaozhao.zz in commit 2211540d:
 quicklist: fix the return value of quicklistCount
 2 files changed, 2 insertions(+), 2 deletions(-)

antirez in commit c85c84be:
 Refactoring: improve luaCreateFunction() API.
 3 files changed, 38 insertions(+), 58 deletions(-)

antirez in commit 85b24770:
 Remove useless variable check from luaCreateFunction().
 1 file changed, 1 insertion(+), 1 deletion(-)

antirez in commit a945e5c0:
 Fix issue #4505, Lua RDB AUX field loading of existing scripts.
 1 file changed, 9 insertions(+), 3 deletions(-)

antirez in commit 65a2e40a:
 Regression test for #4505 (Lua AUX field loading).
 1 file changed, 22 insertions(+), 1 deletion(-)

antirez in commit d6c70f22:
 DEBUG change-repl-id implemented.
 1 file changed, 7 insertions(+)

A
antirez 已提交
714 715 716 717 718 719 720 721 722 723 724
================================================================================
Redis 4.0.5     Released Thu Dec 1 16:03:32 CET 2017
================================================================================

Upgrade urgency CRITICAL: Redis 4.0.4 fix for PSYNC2 was broken, causing the
                          slave to crash when receiving an RDB file from the
                          master that contained a duplicated Lua script.

Please upgrade ASAP if you are with 4.0.4 and you use any form of Lua scripting
because this problem will easily crash Redis.

A
antirez 已提交
725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751
================================================================================
Redis 4.0.4     Released Thu Nov 30 18:42:12 CET 2017
================================================================================

Upgrade urgency CRITICAL: Several PSYNC2 bugs can corrupt the slave data set
                          after a restart and a successful PSYNC2 handshake.

This is a quick followup to Redis 4.0.3 since I forgot to add a few fixes...
that are actually described in the 4.0.3 changelog (but not in the list of
commits). Basically it's the following commits, implementing the ability
to persist scripts into RDB files for a successful PSYNC, otherwise a corruption
could happen when a slave is restarted and receives EVALSHA from the master
about scripts it does not know:

8449227f PSYNC2: Fix off by one buffer size in luaCreateFunction().
eeac1d35 PSYNC2: just store script bodies into RDB.
fb0441a8 PSYNC2: luaCreateFunction() should handle NULL client parameter.
0429db3c PSYNC2: Save Lua scripts state into RDB file.
d06fbbdd Regression test: Slave restart with EVALSHA in backlog issue #4483.
ab3d3aca Prevent corruption of server.executable after DEBUG RESTART.
b7c7edf9 Be more verbose when DEBUG RESTART fails.

Please upgrade ASAP to 4.0.4 becuase 4.0.3 had an incomplete set of fixes.

Cheers and sorry for the 4.0.3 fiasco ;-)
Salvatore

A
antirez 已提交
752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 897 898 899 900 901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 919 920 921 922 923 924 925 926 927 928 929 930 931 932 933 934 935 936 937 938 939 940 941 942 943 944 945 946 947 948 949 950 951 952 953
================================================================================
Redis 4.0.3     Released Thu Nov 30 13:14:50 CET 2017
================================================================================

Upgrade urgency CRITICAL: Several PSYNC2 bugs can corrupt the slave data set
                          after a restart and a successful PSYNC2 handshake.

Hi all, Redis 4.0.3 contains several bug fixes to different parts of Redis 4.0,
but the highlight is definitely in the "PSYNC after restart" that the new
RDB format, containing replication metadata information, was able to provide
to Redis 4.0. There were several bugs that are addressed in this release.
Moreover several LFU fixes improve the ability of Redis to correctly estimate
the popularity of keys. This release also fixes important bugs in Redis modules,
including bugs related to replication of modules commands, reloading the same
module multiple times, and other related things. Finally there is even a
security fix related to loading a corrupted Cluster state from a corrupted
file. We advice to upgrade ASAP. Check the list of commits for credits, several
people helped a lot in this release. I'm grateful to each of them.

Cheers,
Salvatore

antirez in commit d766322e:
 LFU: Fix LFUDecrAndReturn() to just decrement.
 1 file changed, 3 insertions(+), 13 deletions(-)

zhaozhao.zz in commit 6544796a:
 LFU: add hotkeys option to redis-cli
 1 file changed, 135 insertions(+)

zhaozhao.zz in commit e2355c19:
 LFU: do some changes about LFU to find hotkeys
 4 files changed, 39 insertions(+), 19 deletions(-)

zhaozhao.zz in commit 22969a13:
 LFU: change lfu* parameters to int
 2 files changed, 3 insertions(+), 3 deletions(-)

zhaozhao.zz in commit 6b71f714:
 LFU: fix the missing of config get and rewrite
 1 file changed, 6 insertions(+), 2 deletions(-)

Felix Krause in commit 2090052e:
 Update link to https and use inline link
 1 file changed, 1 insertion(+), 1 deletion(-)

Bo Cai in commit a75f2025:
 redis-cli.c typo: Requets -> Requests.
 1 file changed, 1 insertion(+), 1 deletion(-)

Bo Cai in commit 76aab08f:
 redis-cli.c typo: helpe -> helper.
 1 file changed, 1 insertion(+), 1 deletion(-)

Sébastien Fievet in commit b6fe5074:
 Fix some typos
 1 file changed, 3 insertions(+), 3 deletions(-)

antirez in commit eda5cb0a:
 t_hash.c: clarify calling two times the same function.
 1 file changed, 2 insertions(+), 2 deletions(-)

antirez in commit 4a60fbd8:
 adlist: fix listJoin() in the case the second list is empty.
 1 file changed, 1 insertion(+), 1 deletion(-)

Chris Lamb in commit 060eb3b2:
 Correct spelling of "faield".
 1 file changed, 1 insertion(+), 1 deletion(-)

antirez in commit 3c942b12:
 Improve OBJECT HELP descriptions.
 1 file changed, 2 insertions(+), 2 deletions(-)

antirez in commit 6b6a83c7:
 Fix entry command table entry for OBJECT for HELP option.
 1 file changed, 1 insertion(+), 1 deletion(-)

Itamar Haber in commit 048097ad:
 Adds `OBJECT help`
 1 file changed, 18 insertions(+), 3 deletions(-)

David Carlier in commit 906134fe:
 Fix undefined behavior constant defined.
 2 files changed, 10 insertions(+), 2 deletions(-)

rouzier in commit 03657e88:
 Fix file descriptor leak and error handling
 1 file changed, 6 insertions(+), 3 deletions(-)

Itamar Haber in commit 52fda013:
 Prevents `OBJECT freq` with `noeviction`
 1 file changed, 2 insertions(+), 2 deletions(-)

Itamar Haber in commit 15bc8e97:
 Adds -u <uri> option to redis-cli.
 1 file changed, 89 insertions(+)

antirez in commit f30454c1:
 Test: regression test for latency expire events logging bug.
 1 file changed, 14 insertions(+)

zhaozhao.zz in commit 1e7227f4:
 expire & latency: fix the missing latency records generated by expire
 1 file changed, 11 insertions(+), 8 deletions(-)

antirez in commit 9524fce0:
 Modules: fix memory leak in RM_IsModuleNameBusy().
 1 file changed, 3 insertions(+), 7 deletions(-)

antirez in commit 2a27da1c:
 PSYNC2: reorganize comments related to recent fixes.
 2 files changed, 24 insertions(+), 26 deletions(-)

zhaozhao.zz in commit e0c2a0ec:
 PSYNC2: persist cached_master's dbid inside the RDB
 1 file changed, 16 insertions(+), 2 deletions(-)

zhaozhao.zz in commit 2eca8aed:
 PSYNC2: make repl_stream_db never be -1
 1 file changed, 6 insertions(+), 9 deletions(-)

zhaozhao.zz in commit 35942383:
 PSYNC2: clarify the scenario when repl_stream_db can be -1
 2 files changed, 21 insertions(+), 9 deletions(-)

zhaozhao.zz in commit be1b9ee0:
 PSYNC2 & RDB: fix the missing rdbSaveInfo for BGSAVE
 1 file changed, 4 insertions(+), 1 deletion(-)

zhaozhao.zz in commit 9f69e179:
 PSYNC2: safe free backlog when reach the time limit
 1 file changed, 12 insertions(+)

zhaozhao.zz in commit 0205dd01:
 Modules: handle the busy module name
 2 files changed, 19 insertions(+), 2 deletions(-)

zhaozhao.zz in commit 3cce566e:
 Modules: handle the conflict of registering commands
 1 file changed, 28 insertions(+), 21 deletions(-)

Oran Agra in commit d01f163c:
 fix string to double conversion, stopped parsing on \0 even if the string has more data.
 2 files changed, 9 insertions(+), 2 deletions(-)

antirez in commit 9a3e15c6:
 Modules: fix for scripting replication of modules commands.
 2 files changed, 9 insertions(+), 7 deletions(-)

Yossi Gottlieb in commit fa87879b:
 Nested MULTI/EXEC may replicate in different cases.
 2 files changed, 10 insertions(+)

zhaozhao.zz in commit bc7076b0:
 rehash: handle one db until finished
 1 file changed, 5 insertions(+), 2 deletions(-)

kmiku7 in commit 7675b00a:
 fix boundary case for _dictNextPower
 1 file changed, 1 insertion(+), 1 deletion(-)

Itamar Haber in commit f31d9b12:
 Fixes an off-by-one in argument handling of `MEMORY USAGE`
 1 file changed, 1 insertion(+), 1 deletion(-)

antirez in commit 897d8571:
 SDS: improve sdsRemoveFreeSpace() to avoid useless data copy.
 1 file changed, 12 insertions(+), 5 deletions(-)

antirez in commit 1ee6af4d:
 Fix saving of zero-length lists.
 1 file changed, 3 insertions(+), 2 deletions(-)

antirez in commit 1740300f:
 Fix buffer overflows occurring reading redis.conf.
 1 file changed, 3 insertions(+)

antirez in commit b25c2451:
 Regression test for issue #4391.
 1 file changed, 4 insertions(+)

antirez in commit 1847b987:
 More robust object -> double conversion.
 1 file changed, 8 insertions(+), 4 deletions(-)

antirez in commit c94cd1d8:
 Limit statement in RM_BlockClient() to 80 cols.
 1 file changed, 5 insertions(+), 4 deletions(-)

Dvir Volk in commit 193e4acc:
 Added safety net preventing redis from crashing if a module decide to block in MULTI
 1 file changed, 8 insertions(+), 5 deletions(-)

Dvir Volk in commit d131921c:
 Renamed GetCtxFlags to GetContextFlags
 3 files changed, 11 insertions(+), 11 deletions(-)

Dvir Volk in commit 2e71edcc:
 Added support for module context flags with RM_GetCtxFlags
 3 files changed, 177 insertions(+)

A
antirez 已提交
954 955 956 957 958 959 960 961 962 963 964 965 966 967 968 969 970 971 972 973 974 975 976 977 978 979 980 981 982 983 984 985 986 987 988 989 990 991 992 993 994 995 996 997 998 999 1000 1001 1002 1003 1004 1005 1006 1007 1008 1009 1010 1011 1012 1013 1014 1015 1016 1017 1018 1019 1020 1021 1022 1023 1024 1025 1026 1027 1028 1029 1030 1031 1032 1033 1034 1035 1036
================================================================================
Redis 4.0.2     Released Thu Sep 21 15:47:53 CEST 2017
================================================================================

Upgrade urgency HIGH: Several potentially critical bugs fixed.

Hello, this release addresses several significant bugs in Redis 4.0:

1. A number of bugs were fixed in the area of PSYNC2 replication in the
specific area of restarting an instance with an RDB file having the
repliacation meta-data to continue without a full resynchronization. The
old code allowed several inconsistencies under certain conditions, like
starting a master with an RDB file generated by a slave, and later using
such master to connect previous slaves having the same replication history.
Because of other bugs, sometimes the replication resulted in a full
synchronization even if actually a partial resynchronization was possible
and so forth. Several commits by different authors fix different bugs here.

2. AOF flush on SHUTDOWN did not cared to really write the AOF buffers
(not in the kernel but in the Redis process memory) to disk before exiting.
Calling SHUTDOWN during traffic resulted into not every operation to be
persisted on disk.

3. The SLOWLOG could reference values inside string objects stored at keys,
creating a race condition during FLUSHALL ASYNC while the DB is reclaimed
in another thread.

There are other smaller bugs addessed in this relase, see the full commit
history below for more information.

A big thank you to all the contributors of this release. Without the
help I received, Redis 4.0 would take a much longer time to mature. It's
a real pleasure to work together with people around the world, while making
Redis better.

antirez in commit 1c60b7a6:
 Clarify comment in change fixing #4323.
 1 file changed, 6 insertions(+), 2 deletions(-)

zhaozhao.zz in commit 368124e8:
 Lazyfree: avoid memory leak when free slowlog entry
 1 file changed, 5 insertions(+), 2 deletions(-)

antirez in commit 79567b6e:
 PSYNC2: More refinements related to #4316.
 2 files changed, 14 insertions(+), 11 deletions(-)

zhaozhao.zz in commit f1194649:
 PSYNC2: make persisiting replication info more solid
 4 files changed, 33 insertions(+), 9 deletions(-)

antirez in commit 097a5556:
 PSYNC2: Fix the way replication info is saved/loaded from RDB.
 4 files changed, 49 insertions(+), 23 deletions(-)

antirez in commit f1a2cbfd:
 PSYNC2: Create backlog on slave partial sync as well.
 1 file changed, 5 insertions(+)

antirez in commit 0c0b77d1:
 Add MEMORY DOCTOR to MEMORY HELP.
 1 file changed, 3 insertions(+), 1 deletion(-)

Mota in commit fa6bd1b2:
 redis-benchmark: default value size usage update.
 1 file changed, 2 insertions(+), 2 deletions(-)

jybaek in commit ad0ddcf3:
 Remove Duplicate Processing
 1 file changed, 1 deletion(-)

Oran Agra (and also Buğra Gedik) in commit 8651e5d5:
 Flush append only buffers before existing.
 1 file changed, 2 insertions(+), 1 deletion(-)

antirez in commit f2b2897f:
 Changelog: note that 4.0 CLUSTER NODES output changed.
 1 file changed, 6 insertions(+)

Itamar Haber in commit 363be783:
 Changes command stats iteration to being dict-based
 1 file changed, 17 insertions(+), 10 deletions(-)

A
antirez 已提交
1037 1038 1039 1040 1041 1042 1043 1044 1045 1046 1047 1048 1049 1050 1051 1052 1053 1054 1055 1056 1057 1058 1059 1060 1061 1062 1063 1064 1065 1066 1067 1068 1069 1070 1071 1072 1073 1074 1075 1076 1077 1078 1079 1080 1081 1082 1083 1084 1085 1086 1087 1088 1089 1090 1091 1092 1093 1094 1095 1096 1097 1098 1099 1100 1101 1102 1103 1104 1105 1106 1107 1108 1109 1110 1111 1112 1113 1114 1115 1116 1117 1118
================================================================================
Redis 4.0.1     Released Mon Jul 24 15:51:31 CEST 2017
================================================================================

Upgrade urgency MODERATE: A few serious but non critical bugs in the modules
                          subsystem. A rare Redis Cluster crash fixed.
                          Many other minor fixes.

Hi everybody. This is the first patch level release of Redis 4.0, fixing the
obvious last minute issues discovered just after the 4.0.0 GA release, plus
a few other things that were no-brainers. The highlights here in terms
of bug fixing are:

1. Loading two or more modules exporting native data types resulted into the
   inability to reload the RDB file.
2. Crash in modules when calling from Lua scripts module commands that would
   block.
3. A Redis Cluster crash due to mis-handling of the "migrate-to" internal
   flag.
4. Other smaller fixes not worth of a release per se, but nice to add here.

If you upgraded to 4.0 to use modules, definitely a required upgrade.
If you are using Redis Cluster, also a good idea to upgrade.
Otherwise... You can definitely wait for the next one :-)

Cheers,
Salvatore

Here is the commits in detail:

Jan-Erik Rediger in commit a8c2ef76:
 Check that the whole first argument is a number
 1 file changed, 3 insertions(+), 2 deletions(-)

WuYunlong in commit bfe5008b:
 fix rewrite config: auto-aof-rewrite-min-size
 1 file changed, 2 insertions(+), 2 deletions(-)

Chris Lamb in commit a6abc216:
 Correct proceding -> proceeding typo.
 1 file changed, 1 insertion(+), 1 deletion(-)

Byron Grobe in commit 1d901b02:
 Fixed issue #1996 (Missing '-' in help message for redis-benchmark)
 1 file changed, 1 insertion(+), 1 deletion(-)

Jan-Erik Rediger in commit 19e5e5ea:
 Don't use extended Regexp Syntax
 1 file changed, 6 insertions(+), 6 deletions(-)

Leon Chen in commit 62474219:
 fix return wrong value of clusterDelNodeSlots
 1 file changed, 4 insertions(+), 2 deletions(-)

Leon Chen in commit dc782ceb:
 fix mismatch argument
 1 file changed, 1 insertion(+), 1 deletion(-)

liangsijian in commit 07631ff1:
 Fix lua ldb command log
 1 file changed, 1 insertion(+)

antirez in commit 41e3617d:
 Modules: don't crash when Lua calls a module blocking command.
 1 file changed, 12 insertions(+), 2 deletions(-)

antirez in commit 10370b20:
 Fix typo in unblockClientFromModule() top comment.
 1 file changed, 1 insertion(+), 1 deletion(-)

antirez in commit b6c55a89:
 Make representClusterNodeFlags() more robust.
 1 file changed, 18 insertions(+), 17 deletions(-)

antirez in commit 9a4f3d72:
 Fix two bugs in moduleTypeLookupModuleByID().
 1 file changed, 7 insertions(+), 4 deletions(-)

antirez in commit 7302e186:
 Allow certain modules APIs only defining REDISMODULE_EXPERIMENTAL_API.
 2 files changed, 20 insertions(+), 12 deletions(-)

A
antirez 已提交
1119 1120 1121 1122 1123 1124 1125 1126 1127 1128 1129 1130 1131 1132 1133 1134 1135 1136 1137 1138 1139 1140 1141 1142 1143 1144 1145 1146 1147 1148 1149 1150 1151 1152 1153 1154 1155 1156 1157 1158 1159 1160 1161 1162 1163 1164 1165 1166 1167 1168 1169 1170 1171 1172 1173 1174 1175 1176 1177 1178 1179 1180 1181 1182 1183 1184 1185 1186 1187 1188 1189 1190 1191 1192 1193 1194 1195 1196 1197 1198 1199 1200 1201 1202 1203 1204 1205 1206 1207 1208 1209 1210 1211 1212 1213 1214 1215 1216 1217 1218 1219 1220 1221 1222 1223 1224 1225 1226 1227 1228 1229 1230 1231 1232 1233 1234 1235 1236 1237 1238 1239 1240 1241 1242 1243 1244 1245 1246 1247 1248 1249 1250 1251 1252 1253 1254 1255 1256 1257 1258 1259 1260 1261 1262 1263 1264 1265 1266 1267 1268 1269 1270 1271 1272 1273 1274 1275 1276 1277 1278 1279 1280 1281 1282 1283 1284 1285 1286 1287 1288 1289 1290 1291 1292 1293 1294 1295 1296 1297 1298 1299 1300 1301 1302 1303 1304 1305 1306 1307 1308 1309 1310 1311 1312 1313 1314 1315 1316 1317 1318 1319 1320 1321 1322 1323 1324 1325 1326 1327 1328 1329 1330 1331 1332 1333 1334 1335 1336 1337 1338 1339 1340 1341 1342 1343 1344 1345 1346 1347 1348 1349 1350 1351 1352 1353 1354 1355 1356 1357 1358 1359 1360 1361 1362 1363 1364 1365 1366 1367 1368 1369 1370 1371 1372 1373 1374 1375 1376 1377 1378 1379 1380 1381 1382 1383 1384 1385 1386 1387 1388 1389 1390 1391 1392 1393 1394 1395 1396 1397 1398 1399 1400 1401 1402 1403 1404 1405 1406 1407 1408 1409 1410 1411 1412 1413 1414 1415 1416 1417 1418 1419 1420 1421 1422 1423 1424 1425 1426 1427 1428 1429 1430 1431 1432 1433 1434 1435 1436 1437 1438 1439 1440 1441 1442 1443 1444 1445 1446 1447 1448 1449 1450 1451 1452 1453 1454 1455 1456 1457 1458 1459
================================================================================
Redis 4.0.0     Released Fri Jul 14 13:04:44 CEST 2017
================================================================================

Upgrade urgency CRITICAL: 4.0.0 GA fixes many important bugs.

Dear Redis users,

this is the first stable version of Redis 4.0. There are a number
of bug fixes and improvements compared to the previous RC, mainly:

* Different replication fixes to PSYNC2, the new 4.0 replication engine.
* Modules thread safe contexts were introduced. They are an experimental API right now, but the API is considered to be stable and usable when needed.
* SLOWLOG now logs the offending client name and address. Note that this is a backward compatibility breakage in case old code assumes that the slowlog entry is composed of exactly three entries.
* The modules native data types RDB format changed.
* The AOF check utility is now able to deal with RDB preambles.
* GEORADIUS_RO and GEORADIUSBYMEMBER_RO variants, not supporting the STORE option, were added in order to allow read-only scaling of such queries.
* HSET is now variadic, and HMSET is considered deprecated (but will be supported for years to come). Please use HSET in new code.
* GEORADIUS huge radius (>= ~6000 km) corner cases fixed, certain elements near the edges were not returned.
* DEBUG DIGEST modules API added.
* HyperLogLog commands no longer crash on certain input (non HLL) strings.
* Fixed SLAVEOF inside MULTI/EXEC blocks.
* Many other minor bug fixes and improvements.

Note that 4.0 is probably one of the most extreme releases of Redis ever
made in terms of changes inside the internals: all the aggregated data types
no longer use Redis Objects structures but directly SDS objects, certain
deletion operations are now threaded, the replication engine was modified
in many ways. So please handle this release with care. A few patch-level 
releases will follow in the next weeks and months fixing the important issues
discovered by the users.

You can read the new set of features below in this file, there are a lot
of improvements that can make a real difference in real world use cases.
Also note that Redis 4.0 is, as usually, almost a perfect superset of Redis
3.2, so it is very rare that compatibility with the past is broken in terms
of exported commands.

IMPORTANT: Redis Cluster users, please note that, as specified in the list
of incompatibilities, Redis 4.0 cluster bus protocol is not compatible with
Redis 3.2, so in order to upgrade, a mass reboot of the instances is needed
and rolling upgrades are not possible. This change was needed in order to
add compatibility for Containers/NAT, where the bus port at a fixed offset
was not an acceptable design, so we had to change many things, resulting
in the incompatible protocol.

Have fun with Redis 4.0!
Salvatore

antirez in commit c29852ff:
 Modules: fix thread safe context DB selection.
 1 file changed, 3 insertions(+)

antirez in commit b73f186a:
 Modules documentation removed from source.
 4 files changed, 2830 deletions(-)

antirez in commit 09d93ec9:
 Markdown generation of Redis Modules API reference improved.
 2 files changed, 83 insertions(+), 74 deletions(-)

antirez in commit 87aabb1a:
 Fix replication of SLAVEOF inside transaction.
 2 files changed, 19 insertions(+), 3 deletions(-)

antirez in commit 44f89d1d:
 CLUSTER GETKEYSINSLOT: avoid overallocating.
 1 file changed, 5 insertions(+)

antirez in commit 0df24b68:
 Fix isHLLObjectOrReply() to handle integer encoded strings.
 1 file changed, 1 insertion(+)

antirez in commit 884ceb69:
 Clients blocked in modules: free argv/argc later.
 2 files changed, 15 insertions(+), 3 deletions(-)

antirez in commit ccbdd762:
 Event loop: call after sleep() only from top level.
 2 files changed, 4 insertions(+), 2 deletions(-)

antirez in commit 10925e46:
 redis-check-aof: tell users there is a --fix option.
 1 file changed, 2 insertions(+), 1 deletion(-)

Guy Benoish in commit 99bb1c74:
 Modules: Fix io->bytes calculation in RDB save
 1 file changed, 55 insertions(+), 30 deletions(-)

antirez in commit cfdcd440:
 AOF check utility: ability to check files with RDB preamble.
 6 files changed, 61 insertions(+), 35 deletions(-)

sunweinan in commit 1cefb1c5:
 minor fix in listJoin().
 1 file changed, 1 insertion(+), 1 deletion(-)

antirez in commit db791a1e:
 Free IO context if any in RDB loading code.
 1 file changed, 4 insertions(+)

antirez in commit 419dacfe:
 Modules: DEBUG DIGEST interface.
 5 files changed, 108 insertions(+), 1 deletion(-)

spinlock in commit 5d03b831:
 update Makefile for test-sds
 1 file changed, 1 insertion(+), 1 deletion(-)

spinlock in commit ed437b82:
 Optimize addReplyBulkSds for better performance
 1 file changed, 1 insertion(+), 2 deletions(-)

antirez in commit 4ebfe265:
 Avoid closing invalid FDs to make Valgrind happier.
 1 file changed, 5 insertions(+), 1 deletion(-)

antirez in commit b6cab88c:
 Modules: no MULTI/EXEC for commands replicated from async contexts.
 1 file changed, 5 insertions(+)

antirez in commit 5c5e8a50:
 Add symmetrical assertion to track c->reply_buffer infinite growth.
 1 file changed, 4 insertions(+)

Dvir Volk in commit c63a97f8:
 fixed #4100
 1 file changed, 1 insertion(+)

antirez in commit eeb90571:
 Fix GEORADIUS edge case with huge radius.
 2 files changed, 39 insertions(+), 20 deletions(-)

antirez in commit 670456a7:
 redis-cli --latency: ability to run non interactively.
 1 file changed, 39 insertions(+), 3 deletions(-)

antirez in commit 64db8044:
 HMSET and MSET implementations unified. HSET now variadic.
 2 files changed, 18 insertions(+), 22 deletions(-)

antirez in commit e43c890e:
 Aesthetic changes to #4068 PR to conform to Redis coding standard.
 1 file changed, 6 insertions(+), 7 deletions(-)

itamar in commit 3f3dc3b8:
 Sets up fake client to select current db in RM_Call()
 1 file changed, 1 insertion(+)

antirez in commit ba773724:
 Fix abort typo in Lua debugger help screen.
 1 file changed, 1 insertion(+), 1 deletion(-)

antirez in commit bdd6de96:
 Added GEORADIUS(BYMEMBER)_RO variants for read-only operations.
 3 files changed, 32 insertions(+), 11 deletions(-)

Suraj Narkhede in commit de391ff1:
 Fix brpop command table entry and redirect blocked clients.
 2 files changed, 3 insertions(+), 2 deletions(-)

antirez in commit 5af0fc0c:
 RDB modules values serialization format version 2.
 4 files changed, 127 insertions(+), 28 deletions(-)

antirez in commit 6516958e:
 ARM: Fix stack trace generation on crash.
 1 file changed, 5 insertions(+)

antirez in commit 3669f96e:
 Issue #4027: unify comment and modify return value in freeMemoryIfNeeded().
 2 files changed, 7 insertions(+), 7 deletions(-)

Suraj Narkhede in commit 896c4690:
 Fix following issues in blocking commands: 1. brpop last key index, thus checking all keys for slots. 2. Memory leak in clusterRedirectBlockedClientIfNeeded. 3. Remove while loop in clusterRedirectBlockedClientIfNeeded.
 1 file changed, 1 insertion(+)

Zachary Marquez in commit deeb795a:
 Prevent expirations and evictions while paused
 2 files changed, 10 insertions(+)

antirez in commit a6615423:
 Upgrade 4.0 changelog with more backward incompatibilities.
 1 file changed, 8 insertions(+)

xuzhou in commit 0b367871:
 Optimize set command with ex/px when updating aof.
 1 file changed, 3 insertions(+), 3 deletions(-)

antirez in commit 2ae733d9:
 redis-benchmark: add -t hset target.
 1 file changed, 7 insertions(+)

xuzhou in commit 63e1c9f2:
 Fix set with ex/px option when propagated to aof
 4 files changed, 36 insertions(+), 1 deletion(-)

minghang.zmh in commit 0231156f:
 fix server.stat_net_output_bytes calc bug
 1 file changed, 1 insertion(+), 1 deletion(-)

xuchengxuan in commit e99954e4:
 Fixed comments of slowlog duration
 1 file changed, 1 insertion(+), 1 deletion(-)

cbgbt in commit d048f972:
 cli: Only print elapsed time on OUTPUT_STANDARD
 1 file changed, 3 insertions(+), 1 deletion(-)

Aric Huang in commit b5f22939:
 (fix) Update create-cluster README
 1 file changed, 4 insertions(+), 4 deletions(-)

antirez in commit 0b7ba621:
 SLOWLOG: log offending client address and name.
 4 files changed, 27 insertions(+), 7 deletions(-)

Antonio Mallia in commit 1fbc90fe:
 Removed duplicate 'sys/socket.h'  include
 1 file changed, 1 deletion(-)

Antonio Mallia in commit c7a6b711:
 Fixed comment in clusterMsg version field
 1 file changed, 1 insertion(+), 1 deletion(-)

Qu Chen in commit 73d358f7:
 Implement getKeys procedure for georadius and georadiusbymember commands.
 3 files changed, 41 insertions(+), 2 deletions(-)

antirez in commit c782d189:
 Fix PERSIST expired key resuscitation issue #4048.
 2 files changed, 4 insertions(+), 7 deletions(-)

antirez in commit cb548bf3:
 More informative -MISCONF error message.
 1 file changed, 1 insertion(+), 1 deletion(-)

antirez in commit 8cd6a2bd:
 Collect fork() timing info only if fork succeeded.
 1 file changed, 4 insertions(+), 3 deletions(-)

antirez in commit a3941aa5:
 redis-cli --bigkeys: show error when TYPE fails.
 1 file changed, 7 insertions(+), 2 deletions(-)

antirez in commit 6b21cebd:
 Modules TSC: use atomic var for server.unixtime.
 3 files changed, 15 insertions(+), 5 deletions(-)

antirez in commit 54bd224f:
 atomicvar.h: show used API in INFO. Add macro to force __sync builtin.
 2 files changed, 13 insertions(+), 6 deletions(-)

antirez in commit a864d25c:
 zmalloc.c: remove thread safe mode, it's the default way.
 3 files changed, 3 insertions(+), 23 deletions(-)

antirez in commit b338f2b9:
 Modules TSC: Add mutex for server.lruclock.
 2 files changed, 2 insertions(+)

antirez in commit 7e9c658d:
 Modules TSC: Improve inter-thread synchronization.
 5 files changed, 75 insertions(+), 20 deletions(-)

antirez in commit e69af32f:
 Simplify atomicvar.h usage by having the mutex name implicit.
 3 files changed, 25 insertions(+), 27 deletions(-)

antirez in commit 26e57f17:
 Lazyfree: fix lazyfreeGetPendingObjectsCount() race reading counter.
 1 file changed, 3 insertions(+), 1 deletion(-)

antirez in commit 2acf003c:
 Modules TSC: HELLO.KEYS reply format fixed.
 1 file changed, 15 insertions(+), 13 deletions(-)

antirez in commit 12fd298f:
 Modules TSC: put the client in the pending write list.
 1 file changed, 13 insertions(+), 1 deletion(-)

antirez in commit 5b1afa4a:
 adlist: fix final list count in listJoin().
 1 file changed, 1 insertion(+)

antirez in commit 717b2eea:
 adlist: fix listJoin() to handle empty lists.
 1 file changed, 8 insertions(+), 2 deletions(-)

antirez in commit a839036a:
 Modules: remove unused var in example module.
 1 file changed, 2 insertions(+), 3 deletions(-)

antirez in commit eda5ee5e:
 Modules TSC: HELLO.KEYS example draft finished.
 1 file changed, 35 insertions(+), 6 deletions(-)

antirez in commit fb8734fe:
 Module: fix RedisModule_Call() "l" specifier to create a raw string.
 1 file changed, 1 insertion(+), 1 deletion(-)

antirez in commit c4b88495:
 Modules TSC: Release the GIL for all the time we are blocked.
 6 files changed, 100 insertions(+), 22 deletions(-)

antirez in commit fcd9a07d:
 Modules TSC: Export symbols of the new API.
 2 files changed, 12 insertions(+)

antirez in commit 8affa3e7:
 Modules TSC: Handling of RM_Reply* functions.
 3 files changed, 82 insertions(+), 14 deletions(-)

antirez in commit 31b1f3c1:
 Modules TSC: Basic TS context creeation and handling.
 1 file changed, 60 insertions(+), 1 deletion(-)

antirez in commit 74f3a843:
 Modules TSC: GIL and cooperative multi tasking setup.
 3 files changed, 31 insertions(+), 1 deletion(-)

antirez in commit 5021fda2:
 Regression test for #3899 fixed.
 1 file changed, 36 insertions(+), 19 deletions(-)

antirez in commit 166bdbda:
 Regression test for PSYNC2 issue #3899 added.
 2 files changed, 62 insertions(+)

antirez in commit b506eb74:
 Check event loop creation return value. Fix #3951.
 1 file changed, 6 insertions(+)

antirez in commit 80690562:
 PSYNC2: fix master cleanup when caching it.
 3 files changed, 20 insertions(+), 7 deletions(-)

antirez in commit 8c4b0f41:
 Defrag: test currently disabled, too many false positives.
 1 file changed, 40 insertions(+), 38 deletions(-)

A
antirez 已提交
1460
================================================================================
A
antirez 已提交
1461 1462 1463 1464 1465 1466 1467 1468 1469 1470 1471 1472 1473 1474 1475 1476 1477 1478 1479 1480 1481 1482 1483 1484 1485 1486 1487
Redis 4.0-RC3     Released Sat Apr 22 11:19:56 CEST 2017
================================================================================

Upgrade urgency HIGH: Many bugs fixed and many improvements operated, so who
                      is using 4.0 RC2 should upgrade if possible, or at least
                      should carefully read this release notes to understand if
                      it may be affected by some bug.

Redis 3.9.103 (4.0 RC3 for the friends) is finally out, and the list of commits
is pretty long, so here is a synopsis of all the major changes operated in this
release.

Major things:

* Finally the infamous leakage of keys with an expire, in slaves that are
  configured as writable, is fixed. (Salvatore Sanfilippo)
* A serious MIGRATE issue forgetting to store the TTL of the key under
  certain conditions is fixed. (reported by Jinbei Wang, fixed by Jan-Erik
  Rediger).
* An in-depth investigation of the ziplist implementation was performed.
  The final result was:
  1. An in depth auditing (Salvatore Sanfilippo and Oran Agra).
  2. The discovery of a bug and its fix (Salvatore Sanfilippo).
  3. The creation of a new specification to replace ziplists with something
     better, listpacks: https://gist.github.com/antirez/66ffab20190ece8a7485bd9accfbc175 (Yuval Inbar, Salvatore Sanfilippo, Oran Agra).
  4. Refactoring and function to dump a ziplist for debugging purposes
     (Salvatore Sanfilippo).
A
antirez 已提交
1488 1489 1490 1491 1492 1493 1494 1495 1496 1497 1498 1499 1500 1501
* New major feature: Memory de-fragmentation. This feature, contributed by
  Oran Agra, allows Redis to perform "online defragmentation" of memory
  if the Jemalloc allocator is used. There is some documentation in the
  example `redis.conf` file. (Oran Agra)
* Support for ARM. (Salvatore Sanfilippo)
* Fix a very important "family of bugs" about PSYNC2, thanks to the help
  of Kevin McGehee, Siran Yang and Oran Agra.
* Hash function moved to SipHash 1-2 variant. (Salvatore Sanfilippo)
* Redis Cluster failure detection improved in different ways, the most
  important result is to exchange a lot less messages among nodes. (Salvatore
  Sanfilippo)

All the rest:

A
antirez 已提交
1502 1503 1504 1505 1506 1507 1508 1509 1510 1511 1512 1513 1514 1515 1516 1517 1518 1519 1520 1521 1522 1523 1524 1525 1526 1527 1528 1529 1530 1531 1532 1533 1534 1535 1536 1537 1538 1539 1540 1541 1542 1543 1544 1545 1546 1547 1548 1549 1550 1551 1552 1553 1554 1555 1556 1557 1558 1559 1560 1561 1562 1563 1564 1565 1566 1567 1568 1569 1570 1571 1572 1573 1574 1575 1576 1577 1578 1579 1580 1581 1582 1583 1584 1585 1586 1587 1588 1589 1590 1591 1592 1593 1594 1595 1596 1597 1598 1599 1600 1601 1602 1603 1604 1605 1606 1607 1608 1609 1610 1611 1612 1613 1614 1615 1616 1617 1618 1619 1620 1621 1622 1623 1624 1625 1626 1627 1628 1629 1630 1631 1632 1633 1634 1635 1636 1637 1638 1639 1640 1641 1642 1643 1644 1645 1646 1647 1648 1649 1650 1651 1652 1653 1654 1655 1656 1657 1658 1659 1660 1661 1662 1663 1664 1665 1666 1667 1668 1669 1670 1671 1672 1673 1674 1675 1676 1677 1678 1679 1680 1681 1682 1683 1684 1685 1686 1687 1688 1689 1690 1691 1692 1693 1694 1695 1696 1697 1698 1699 1700 1701 1702 1703 1704 1705 1706 1707 1708 1709 1710 1711 1712 1713 1714 1715 1716 1717 1718 1719 1720 1721 1722 1723 1724 1725 1726 1727 1728 1729 1730 1731 1732 1733 1734 1735 1736 1737 1738 1739 1740 1741 1742 1743 1744 1745 1746 1747 1748 1749 1750 1751 1752 1753 1754 1755 1756 1757 1758 1759 1760 1761 1762 1763 1764 1765 1766 1767 1768 1769 1770 1771 1772 1773 1774 1775 1776 1777 1778 1779 1780 1781 1782 1783 1784 1785 1786 1787 1788 1789 1790 1791 1792 1793 1794 1795 1796 1797 1798 1799 1800 1801 1802 1803 1804 1805 1806 1807 1808 1809 1810 1811 1812 1813 1814 1815 1816 1817 1818 1819 1820 1821 1822 1823 1824 1825 1826 1827 1828 1829 1830 1831 1832 1833 1834 1835 1836 1837 1838 1839 1840 1841 1842 1843 1844 1845 1846 1847 1848 1849 1850 1851 1852 1853 1854 1855 1856 1857 1858 1859 1860 1861 1862 1863 1864 1865 1866 1867 1868 1869 1870 1871 1872 1873 1874 1875 1876 1877 1878 1879 1880 1881 1882 1883 1884 1885 1886 1887 1888 1889 1890 1891 1892 1893 1894 1895 1896 1897 1898 1899 1900 1901 1902 1903 1904 1905 1906 1907 1908 1909 1910 1911 1912 1913 1914 1915 1916 1917 1918 1919 1920 1921 1922 1923 1924 1925 1926 1927 1928 1929 1930 1931 1932 1933 1934 1935 1936 1937 1938 1939 1940 1941 1942 1943 1944 1945 1946 1947 1948
* A bug in the modules API ziplist iterator was fixed. (Dvir Volk).
* The HyperLogLog implementation final cardinality approximation function
  was improved to use the LogLog-Beta algorithm. (Harish Murthy and
  Salvatore Sanfilippo).
* Edge case copy-on-write disaster fix (Oran Agra).
* Now the Redis ASCII art logo is shown only if logging to stdout and if the
  stdout is a tty. (Salvatore Sanfilippo because of users request).
* A new GEO bug fixed (and there is another pending when huge radiuses are
  used, where elements at the edge may be miss-reported). (Salvatore
  Sanfilippo). ***IMPORTANT*** See the list of incompatibilities below
  since the GEO API has some potentially backward incompatible change.
* ZADD crash on syntax error fixed. (Itamar Haber)
* Fixed a division by zero but in MEMORY DOCTOR. (Jan-Erik Rediger)
* More MIGRATE bugs fixed. (Salvatore Sanfilippo)
* Different file descriptors potential lakes fixed. (multiple authors)
* Support for Solaris improved. (Salvatore Sanfilippo)
* Improve memory reclaiming in freeMemoryIfNeeded(). (Oran Agra and
  Salvatore Sanfilippo)
* Fixes multiple bugs in the test suite. (Salvatore Sanfilippo)
* Fix asynchronous commands in modules API. (Dvir Volk and Salvatore Sanfilippo)
* A new data structure, the radix tree (rax.c) was introduced into Redis in
  order to fix a major Redis Cluster slowdown. (Salvatore Sanfilippo)
* Fix `lua-time-limit` config ignored in `redis.conf`. (Salvatore Sanfilippo)
* Jemalloc downgraded to an apparently safe version, given that recent
  releases apparently hang under certain conditions. See Redis issue #3799.

For details and full credits, see the list of commits here. However note that
many information is inside the full commit message, while here only the first
line is shown.

antirez in commit 6bc6bd4c:
 PSYNC2: discard pending transactions from cached master.
 1 file changed, 3 insertions(+), 1 deletion(-)

antirez in commit a91cc5bc:
 Fix PSYNC2 incomplete command bug as described in #3899.
 3 files changed, 47 insertions(+), 8 deletions(-)

antirez in commit 278972ce:
 Fix getKeysUsingCommandTable() in cluster mode.
 1 file changed, 14 insertions(+), 1 deletion(-)

张文康 in commit 20285017:
 update block->free after some diff data are written to the child process
 1 file changed, 1 insertion(+)

Jan-Erik Rediger in commit 05ac217f:
 Reorder to make dict-benchmark compile on Linux
 1 file changed, 2 insertions(+), 2 deletions(-)

antirez in commit 8d44c52a:
 Fix #3848 by closing the descriptor on error.
 1 file changed, 2 insertions(+), 1 deletion(-)

antirez in commit 5c107c62:
 Clarify why we save ziplist elements in revserse order.
 1 file changed, 13 insertions(+), 7 deletions(-)

spinlock in commit 22996414:
 rdb: saving skiplist in reversed order to accelerate the deserialisation process
 1 file changed, 8 insertions(+), 7 deletions(-)

antirez in commit d98ef35a:
 Cluster: discard pong times in the future.
 1 file changed, 8 insertions(+), 1 deletion(-)

antirez in commit e47c8e3f:
 Test: fix, hopefully, false PSYNC failure like in issue #2715.
 1 file changed, 1 insertion(+), 1 deletion(-)

antirez in commit 1e659a04:
 Cluster: always add PFAIL nodes at end of gossip section.
 2 files changed, 71 insertions(+), 23 deletions(-)

antirez in commit 39d34487:
 Cluster: fix gossip section ping/pong times encoding.
 1 file changed, 4 insertions(+), 3 deletions(-)

antirez in commit 78148d0e:
 Cluster: add clean-logs command to create-cluster script.
 2 files changed, 9 insertions(+), 1 deletion(-)

antirez in commit a5c1c77e:
 Cluster: decrease ping/pong traffic by trusting other nodes reports.
 1 file changed, 13 insertions(+)

antirez in commit 51901396:
 Cluster: collect more specific bus messages stats.
 2 files changed, 82 insertions(+), 31 deletions(-)

antirez in commit f7b91b6c:
 Add a top comment in crucial functions inside networking.c.
 1 file changed, 23 insertions(+), 1 deletion(-)

antirez in commit 6e1489ae:
 Set lua-time-limit default value at safe place.
 2 files changed, 1 insertion(+), 1 deletion(-)

antirez in commit 5fd841c0:
 Fix preprocessor if/else chain broken in order to fix #3927.
 1 file changed, 3 insertions(+)

antirez in commit 185b361a:
 Fix typo in feedReplicationBacklog() top comment.
 1 file changed, 1 insertion(+), 1 deletion(-)

lorneli in commit b740fc1e:
 Expire: Update comment of activeExpireCycle function
 1 file changed, 1 insertion(+), 1 deletion(-)

antirez in commit 56cafcce:
 Fix zmalloc_get_memory_size() ifdefs to actually use the else branch.
 1 file changed, 2 deletions(-)

antirez in commit a5b66da8:
 Make more obvious why there was issue #3843.
 1 file changed, 3 insertions(+)

antirez in commit f60d6f09:
 Fix modules blocking commands awake delay.
 3 files changed, 42 insertions(+)

antirez in commit c56668c8:
 Rax library updated.
 3 files changed, 152 insertions(+), 265 deletions(-)

antirez in commit c4716d33:
 Cluster: hash slots tracking using a radix tree.
 9 files changed, 2115 insertions(+), 65 deletions(-)

vienna in commit a9fefbce:
 fix #3847: add close socket before return ANET_ERR.
 1 file changed, 3 insertions(+), 1 deletion(-)

Dvir Volk in commit 17250409:
 fixed free of blocked client before refering to it
 1 file changed, 1 insertion(+), 1 deletion(-)

Oran Agra in commit 8aced9e9:
 add LFU policies to the test suite, just for coverage
 1 file changed, 2 insertions(+), 2 deletions(-)

antirez in commit 3aa656ab:
 Use sha256 instead of sha1 to generate tarball hashes.
 1 file changed, 2 insertions(+), 2 deletions(-)

Salvatore Sanfilippo in commit 42d6a6c3:
 Makefile: fix building with Solaris C compiler, 64 bit.
 1 file changed, 7 insertions(+)

Salvatore Sanfilippo in commit e082d056:
 Use ARM unaligned accesses ifdefs for SPARC as well.
 3 files changed, 11 insertions(+), 2 deletions(-)

Salvatore Sanfilippo in commit 7269d547:
 Fix BITPOS unaligned memory access.
 1 file changed, 14 insertions(+), 7 deletions(-)

antirez in commit 15520588:
 Solaris fixes about tail usage and atomic vars.
 4 files changed, 7 insertions(+), 7 deletions(-)

antirez in commit 9faeed04:
 Test: replication-psync, wait more to detect write load.
 1 file changed, 1 insertion(+), 1 deletion(-)

antirez in commit b3440b35:
 Test: fix conditional execution of HINCRBYFLOAT representation test.
 1 file changed, 1 insertion(+), 1 deletion(-)

antirez in commit 5a413303:
 SipHash 2-4 -> SipHash 1-2.
 1 file changed, 15 insertions(+), 14 deletions(-)

antirez in commit a8cbc3ec:
 freeMemoryIfNeeded(): improve code and lazyfree handling.
 1 file changed, 42 insertions(+), 19 deletions(-)

antirez in commit 857e6d56:
 Use locale agnostic tolower() in dict.c hash function.
 3 files changed, 27 insertions(+), 17 deletions(-)

antirez in commit 34387cea:
 SipHash x86 optimizations.
 1 file changed, 23 insertions(+), 2 deletions(-)

antirez in commit ba647598:
 Use SipHash hash function to mitigate HashDos attempts.
 12 files changed, 361 insertions(+), 82 deletions(-)

Salvatore Sanfilippo in commit 2ee19d98:
 ARM: Avoid fast path for BITOP.
 1 file changed, 5 insertions(+), 1 deletion(-)

Salvatore Sanfilippo in commit eb62cfea:
 ARM: Use libc malloc by default.
 1 file changed, 6 insertions(+), 3 deletions(-)

Salvatore Sanfilippo in commit 620e48b1:
 ARM: Avoid memcpy() in MurmurHash64A() if we are using 64 bit ARM.
 3 files changed, 5 insertions(+), 1 deletion(-)

Salvatore Sanfilippo in commit 980d8805:
 ARM: Fix 64 bit unaligned access in MurmurHash64A().
 2 files changed, 10 insertions(+)

John.Koepi in commit 522b10e4:
 fix #2883, #2857 pipe fds leak when fork() failed on bg aof rw
 1 file changed, 1 insertion(+)

antirez in commit 03f55722:
 Don't leak file descriptor on syncWithMaster().
 1 file changed, 2 insertions(+), 1 deletion(-)

antirez in commit 8d55aeb5:
 Fix MIGRATE closing of cached socket on error.
 1 file changed, 23 insertions(+), 6 deletions(-)

antirez in commit 7c22d768:
 Fix ziplist fix...
 1 file changed, 2 insertions(+), 2 deletions(-)

antirez in commit 8327b813:
 Ziplist: insertion bug under particular conditions fixed.
 1 file changed, 9 insertions(+), 1 deletion(-)

antirez in commit 1688ccff:
 ziplist: better comments, some refactoring.
 1 file changed, 250 insertions(+), 100 deletions(-)

antirez in commit 36c1acc2:
 Jemalloc updated to 4.4.0.
 150 files changed, 17242 insertions(+), 6359 deletions(-)

Jan-Erik Rediger in commit 37b4c954:
 Don't divide by zero
 1 file changed, 1 insertion(+), 1 deletion(-)

miter in commit aee1ddca:
 Change switch statment to if statment
 1 file changed, 2 insertions(+), 4 deletions(-)

oranagra in commit af292b54:
 fix rare assertion in DEBUG DIGEST
 1 file changed, 1 insertion(+), 1 deletion(-)

Itamar Haber in commit c3c2aa3b:
 Verify pairs are provided after subcommands
 1 file changed, 1 insertion(+), 1 deletion(-)

antirez in commit 7c2153da:
 Add panic() into redisassert.h.
 1 file changed, 2 insertions(+)

antirez in commit dc83ddf0:
 serverPanic(): allow printf() alike formatting.
 2 files changed, 14 insertions(+), 4 deletions(-)

antirez in commit 3ef81eb3:
 Ziplist: remove static from functions, they prevent good crash reports.
 1 file changed, 14 insertions(+), 14 deletions(-)

Jan-Erik Rediger in commit 96f75faa:
 Initialize help only in repl mode
 1 file changed, 5 insertions(+), 5 deletions(-)

antirez in commit bcd51a6a:
 Use const in modules types mem_usage method.
 3 files changed, 4 insertions(+), 4 deletions(-)

antirez in commit 354ccf0c:
 Add memory defragmenting capability in 4.0 release notes.
 1 file changed, 3 insertions(+)

antirez in commit 57c81853:
 Defrag: don't crash when a module value is encountered.
 1 file changed, 3 insertions(+)

antirez in commit e36d5222:
 MEMORY USAGE: support for modules data types.
 3 files changed, 16 insertions(+), 5 deletions(-)

antirez in commit 82ec0fe6:
 Defrag: document the feature in redis.conf.
 1 file changed, 49 insertions(+), 6 deletions(-)

antirez in commit 19bf0249:
 Defrag: not enabled by default. Error on CONFIG SET if not available.
 2 files changed, 11 insertions(+), 1 deletion(-)

antirez in commit fa0d8b62:
 Defrag: fix function name typo defarg -> defrag.
 1 file changed, 2 insertions(+), 2 deletions(-)

antirez in commit ebb9a7e7:
 Defrag: do not crash on empty quicklist.
 1 file changed, 3 insertions(+), 2 deletions(-)

antirez in commit da84b9c4:
 Defrag: fix comments & code to conform to the Redis code base.
 1 file changed, 84 insertions(+), 54 deletions(-)

antirez in commit a18f3cf3:
 Defrag: activate it only if running modified version of Jemalloc.
 4 files changed, 40 insertions(+), 26 deletions(-)

oranagra in commit 1ad48837:
 active defrag improvements
 4 files changed, 63 insertions(+), 44 deletions(-)

oranagra in commit 67def261:
 active memory defragmentation
 13 files changed, 755 insertions(+), 8 deletions(-)

antirez in commit b4f3c5a4:
 deps/hiredis updated to latest version.
 34 files changed, 2393 insertions(+), 817 deletions(-)

antirez in commit 6549c6cf:
 Fix test "server is up" detection after logging changes.
 2 files changed, 2 insertions(+), 1 deletion(-)

Alexander Zhukov in commit b87fd120:
 Fix an article usage
 1 file changed, 1 insertion(+), 1 deletion(-)

whatacold in commit bd845493:
 fix the wrong description of intsetGet().
 1 file changed, 1 insertion(+), 1 deletion(-)

antirez in commit 952e8706:
 4.0 release notes updated with API incompatibility notice about GEO.
 1 file changed, 12 insertions(+)

antirez in commit f3add069:
 Geo: fuzzy test inconsistency report fixed to show all points.
 1 file changed, 3 insertions(+), 2 deletions(-)

antirez in commit 056c81e4:
 Geo: fix GEOHASH return value for consistency.
 1 file changed, 3 insertions(+), 4 deletions(-)

antirez in commit d5036018:
 Geo: fix edge case return values for uniformity.
 1 file changed, 5 insertions(+), 6 deletions(-)

Justin Carvalho in commit 47b46253:
 Fix missing brackets around encoding variable in ZIP_DECODE_LENGTH macro
 1 file changed, 1 insertion(+), 1 deletion(-)

antirez in commit a0e95118:
 Remove first version of ASCII wave, later discarded.
 1 file changed, 2 deletions(-)

antirez in commit 3334a409:
 Only show Redis logo if logging to stdout / TTY.
 4 files changed, 44 insertions(+), 11 deletions(-)

antirez in commit db53c230:
 adjustOpenFilesLimit() comment made hopefully more clear.
 1 file changed, 4 insertions(+), 1 deletion(-)

antirez in commit bc00ef45:
 Hopefully improve code comments for issue #3616.
 1 file changed, 8 insertions(+), 7 deletions(-)

itamar in commit 075a3381:
 Corrects a couple of omissions in the modules docs
 2 files changed, 3 insertions(+), 2 deletions(-)

andyli in commit 8d82b3b1:
 Modify MIN->MAX
 1 file changed, 1 insertion(+), 1 deletion(-)

oranagra in commit 69282df8:
 when a slave loads an RDB, stop an AOFRW fork before flusing db and parsing rdb file, to avoid a CoW disaster.
 1 file changed, 19 insertions(+), 13 deletions(-)

hylepo in commit 869dda84:
 Update redis-benchmark.c
 1 file changed, 1 insertion(+), 1 deletion(-)

oranagra in commit 7f870fad:
 fix unsigned int overflow in adjustOpenFilesLimit
 1 file changed, 3 insertions(+), 3 deletions(-)

antirez in commit 2e375d4f:
 Switch PFCOUNT to LogLog-Beta algorithm.
 4 files changed, 16 insertions(+), 57 deletions(-)

antirez in commit 735b928b:
 Use llroundl() before converting loglog-beta output to integer.
 1 file changed, 4 insertions(+), 4 deletions(-)

antirez in commit 6cae609e:
 Fix HLL gnuplot graph generator script for new redis-rb versions.
 1 file changed, 1 insertion(+), 1 deletion(-)

Harish Murthy in commit 4d475e0f:
 LogLog-Beta Algorithm support within HLL Config option to use LogLog-Beta Algorithm for Cardinality
 4 files changed, 57 insertions(+), 27 deletions(-)

Dvir Volk in commit 90d918bd:
 fixed stop condition in RM_ZsetRangeNext and RM_ZsetRangePrev
 1 file changed, 3 insertions(+), 3 deletions(-)

antirez in commit 3b19580a:
 ziplist.c explanation of format improved a bit.
 1 file changed, 18 insertions(+), 11 deletions(-)

antirez in commit 457c6878:
 DEBUG: new "ziplist" subcommand added. Dumps a ziplist on stdout.
 4 files changed, 35 insertions(+), 13 deletions(-)

antirez in commit 17cda261:
 MIGRATE: Remove upfront ttl initialization.
 1 file changed, 3 insertions(+), 4 deletions(-)

Jan-Erik Rediger in commit 9515648d:
 Reset the ttl for additional keys
 1 file changed, 1 insertion(+)

antirez in commit 1eec780e:
 Writable slaves expires: unit test.
 1 file changed, 12 insertions(+)

antirez in commit 9a8bc6d2:
 Writable slaves expires: fix leak in key tracking.
 2 files changed, 16 insertions(+), 2 deletions(-)

antirez in commit 746d70b0:
 INFO: show num of slave-expires keys tracked.
 3 files changed, 11 insertions(+), 2 deletions(-)

antirez in commit 1469c4ed:
 Fix created->created typo in expire.c
 1 file changed, 1 insertion(+), 1 deletion(-)

antirez in commit c65dfb43:
 Replication: fix the infamous key leakage of writable slaves + EXPIRE.
 8 files changed, 161 insertions(+), 11 deletions(-)

Yossi Gottlieb in commit 80944aac:
 Fix redis-cli rare crash.
 1 file changed, 4 insertions(+)

================================================================================
A
antirez 已提交
1949 1950 1951 1952 1953 1954 1955 1956 1957 1958 1959 1960 1961 1962 1963 1964 1965 1966 1967 1968 1969 1970 1971 1972 1973 1974 1975 1976 1977 1978 1979 1980 1981 1982 1983 1984 1985 1986 1987 1988 1989
Redis 4.0.0-RC2     Released Tue Dec 06 09:25:35 CET 2016
================================================================================

Upgrade urgency LOW: This release mainly fixes a rare GEO API bug and a crash
                     related to the modules subsystem.

Redis 4.0.0-RC2 (version number 3.9.102) just fixes two bugs:

1. GEORADIUS could fail reporting items with very big radius lengths because
   of a bug in the bounding box computation function. This was fixed and tests
   with large radius sizes were added.

2. There was a crash in the modules subsystem that was not merged into RC1 for
   an error, while it was already fixed into the "unstable" branch.

The list of commits follows:

wangshaonan in commit 77241e8:
 Add '\n' to MEMORY DOCTOR command output message when num_reports is 0 or empty is 1
 1 file changed, 2 insertions(+), 2 deletions(-)

Chris Lamb in commit 0ee6a23:
 src/rdb.c: Correct "whenver" -> "whenever" typo.
 1 file changed, 1 insertion(+), 1 deletion(-)

Yossi Gottlieb in commit 2d0d2c8:
 Fix typo in RedisModuleTypeMethods declaration.
 1 file changed, 1 insertion(+), 1 deletion(-)

Dvir Volk in commit 0fb9f34:
 fix memory corruption on RM_FreeCallReply
 1 file changed, 3 insertions(+), 1 deletion(-)

antirez in commit 41994f2:
 Geo: improve fuzz test.
 1 file changed, 11 insertions(+), 3 deletions(-)

antirez in commit ef9b4cf:
 Geo: fix computation of bounding box.
 2 files changed, 33 insertions(+), 44 deletions(-)

A
antirez 已提交
1990 1991 1992
================================================================================
Redis 4.0.0-RC1   Released Fri Dec 2 10:40:01 CEST 2016
================================================================================
1993

A
antirez 已提交
1994 1995 1996 1997
Redis 4.0.0-RC1 (version number 3.9.101) is the first release candidate of
Redis 4.0. It is not a production quality release but all the major features
received some testing at this point, the release in feature freeze excluding
things that are considered in the middle ground between fixes and improvements.
1998

A
antirez 已提交
1999 2000 2001 2002 2003 2004 2005 2006 2007 2008 2009 2010 2011 2012 2013 2014 2015 2016 2017 2018 2019 2020 2021 2022 2023 2024 2025 2026 2027 2028 2029 2030 2031 2032
Redis 4.0 is not called 3.4 because it is a major release that adds a number
of important and non trivial features. Many core functionalities of Redis were
seriously reworked. In the next release candidates, with your help, we'll gain
informations about the stability level of this release and will produce a new
RC every 2-4 weeks. When the entity and frequency of bug reports will slow down
under a certain level, Redis 4.0 final will be released.

As usually, certain changes to Cluster and Sentinel may not follow the Redis
release cycle and could be incorporated into Redis 4.0 at RC stage or even
after the final version, every time the changes are considered to benefit
the user base enough to be worth incorporating them ASAP without waiting
for Redis 4.2.

So, what's new in Redis 4.0?

Major features
---

* Redis modules system. Redis now allows developers to write modules that can extend the Redis functionalities and implement new data types. The module API implements a complete abstraction layer that separates the Redis core from the module implementation, allowing the same module to be loaded by different versions of Redis without modifications. See the modules documentation here for more info: https://github.com/antirez/redis/blob/unstable/src/modules/INTRO.md

* Partial Replication (PSYNC) version 2. The replication protocol was enhanced (in a backward compatible way, so that 4.0 can still act as a slave of older instances) in order to be able to partially resynchronize slaves and masters in conditions where it was impossible in the past: after a master switch because of a failover and when a slave instance is restared. Even masters turned into slaves will usually be able to partially resynchronize with the new master, if the new master was a former slave of the old master instance. The way the replication work for chained slaves (sub-slaves) is now very different, and each slave receives the same replication stream generated by the top-level master.

* Cache eviction improvements. Redis 4.0 implements LFU (Least Frequently Used) as a new eviction algorithm, and improves the functionality, performances and precision of the existing algorithms. This blog post contains info about the changes: http://antirez.com/news/109

* Lazy freeing of keys. Redis is now able to delete keys in the background in a different thread without blocking the server. The new `UNLINK` command is the same as `DEL` but working in a non blocking way. Similarly an `ASYNC` option was added to `FLUSHALL` and `FLUSHDB` in order to let the entire dataset or a single database to be freed asynchronously.

* Mixed RDB-AOF format. If enabled the new format is used when rewriting the AOF file: the rewrite uses the more compact and faster to generate RDB format, and an AOF stream is appended to the file. This allows faster rewrites and reloads when using the AOF persistence.

* A new MEMORY command, able to perform memory analysis of different kinds: troubleshooting of memory issues (with MEMORY DOCTOR, similar to LATENCY DOCTOR), reporting of the amount of memory used by a single key, more in-depth reporting of Redis memory usage compared to what the INFO command offers.

* Redis Cluster support for NAT / Docker. There are new functionalities in order to force cluster instances to announce specific sets of IP address, client and bus ports, to the rest of the cluster, regardless of the auto detected IP. This required a bus protocol change that will force users to mass-restart all the nodes of a Redis 3.2 installation in order to upgrade to 4.0.

* Redis uses now less memory in order to store the same amount of data. The gain depends a lot on the kind of dataset stored.

2033 2034 2035
* Redis is now able to defragment the used memory and reclaim space incrementally
while running. See the example `redis.conf` for more information.

A
antirez 已提交
2036 2037 2038 2039 2040 2041 2042 2043 2044 2045 2046 2047 2048 2049 2050 2051 2052 2053 2054 2055 2056 2057 2058 2059 2060 2061 2062 2063 2064 2065 2066 2067 2068 2069 2070 2071 2072 2073 2074 2075 2076 2077 2078 2079 2080 2081 2082 2083 2084 2085 2086 2087 2088 2089 2090 2091 2092 2093 2094 2095 2096 2097 2098 2099 2100 2101 2102 2103 2104 2105 2106 2107 2108 2109 2110 2111 2112 2113 2114 2115 2116 2117 2118 2119 2120 2121 2122 2123 2124 2125 2126 2127 2128 2129 2130 2131 2132 2133 2134 2135 2136 2137 2138 2139 2140 2141 2142 2143 2144 2145 2146 2147 2148 2149 2150 2151 2152 2153 2154 2155 2156 2157 2158 2159 2160 2161 2162 2163 2164 2165 2166 2167 2168 2169 2170 2171 2172 2173 2174 2175 2176 2177 2178 2179 2180 2181 2182 2183 2184 2185 2186 2187 2188 2189 2190 2191 2192 2193 2194 2195 2196 2197 2198 2199 2200 2201 2202 2203 2204 2205 2206 2207 2208 2209 2210 2211 2212 2213 2214 2215 2216 2217 2218 2219 2220 2221 2222 2223 2224 2225 2226 2227 2228 2229 2230 2231 2232 2233 2234 2235 2236 2237 2238 2239 2240 2241 2242 2243 2244 2245 2246 2247 2248 2249 2250 2251 2252 2253 2254 2255 2256 2257 2258 2259 2260 2261 2262 2263 2264 2265 2266 2267 2268 2269 2270 2271 2272 2273 2274 2275 2276 2277 2278 2279 2280 2281 2282 2283 2284 2285 2286 2287 2288 2289 2290 2291 2292 2293 2294 2295 2296 2297 2298 2299 2300 2301 2302 2303 2304 2305 2306 2307 2308 2309 2310 2311 2312 2313 2314 2315 2316 2317 2318 2319 2320 2321 2322 2323 2324 2325 2326 2327 2328 2329 2330 2331 2332 2333 2334 2335 2336 2337 2338 2339 2340 2341 2342 2343 2344 2345 2346 2347 2348 2349 2350 2351 2352 2353 2354 2355 2356 2357 2358 2359 2360 2361 2362 2363 2364 2365 2366 2367 2368 2369 2370 2371 2372 2373 2374 2375 2376 2377 2378 2379 2380 2381 2382 2383 2384 2385 2386 2387 2388 2389 2390 2391 2392 2393 2394 2395 2396 2397 2398 2399 2400 2401 2402 2403 2404 2405 2406 2407 2408 2409 2410 2411 2412 2413 2414 2415 2416 2417 2418 2419 2420 2421 2422 2423 2424 2425 2426 2427 2428 2429 2430 2431 2432 2433 2434 2435 2436 2437 2438 2439 2440 2441 2442 2443 2444 2445 2446 2447 2448 2449 2450 2451 2452 2453 2454 2455 2456 2457 2458 2459 2460 2461 2462 2463 2464 2465 2466 2467 2468 2469 2470 2471 2472 2473 2474 2475 2476 2477 2478 2479 2480 2481 2482 2483 2484 2485 2486 2487 2488 2489 2490 2491 2492 2493 2494 2495 2496 2497 2498 2499 2500 2501 2502 2503 2504 2505 2506 2507 2508 2509 2510 2511 2512 2513 2514 2515 2516 2517 2518 2519 2520 2521 2522 2523 2524 2525 2526 2527 2528 2529 2530 2531 2532 2533 2534 2535 2536 2537 2538 2539 2540 2541 2542 2543 2544 2545 2546 2547 2548 2549 2550 2551 2552 2553 2554 2555 2556 2557 2558 2559 2560 2561 2562 2563 2564 2565 2566 2567 2568 2569 2570 2571 2572 2573 2574 2575 2576 2577 2578 2579 2580 2581 2582 2583 2584 2585 2586 2587 2588 2589 2590 2591 2592 2593 2594 2595 2596 2597 2598 2599 2600 2601 2602 2603 2604 2605 2606 2607 2608 2609 2610 2611 2612 2613 2614 2615 2616 2617 2618 2619 2620 2621 2622 2623 2624 2625 2626 2627 2628 2629 2630 2631 2632 2633 2634 2635 2636 2637 2638 2639 2640 2641 2642 2643 2644 2645 2646 2647 2648 2649 2650 2651 2652 2653 2654 2655 2656 2657 2658 2659 2660 2661 2662 2663 2664 2665 2666 2667 2668 2669 2670 2671 2672 2673 2674 2675 2676 2677 2678 2679 2680 2681 2682 2683 2684 2685 2686 2687 2688 2689 2690 2691 2692 2693 2694 2695 2696 2697 2698 2699 2700 2701 2702 2703 2704 2705 2706 2707 2708 2709 2710 2711 2712 2713 2714 2715 2716 2717 2718 2719 2720 2721 2722 2723 2724 2725 2726 2727 2728 2729 2730 2731 2732 2733 2734 2735 2736 2737 2738 2739 2740 2741 2742 2743 2744 2745 2746 2747 2748 2749 2750 2751 2752 2753 2754 2755 2756 2757 2758 2759 2760 2761 2762 2763 2764 2765 2766 2767 2768 2769 2770 2771 2772 2773 2774 2775 2776 2777 2778 2779 2780 2781 2782 2783 2784 2785 2786 2787 2788 2789 2790 2791 2792 2793 2794 2795 2796 2797 2798 2799 2800 2801 2802 2803 2804 2805 2806 2807 2808 2809 2810 2811 2812 2813 2814 2815 2816 2817 2818 2819 2820 2821 2822 2823 2824 2825 2826 2827 2828 2829 2830 2831 2832 2833 2834 2835 2836 2837 2838 2839 2840 2841 2842 2843 2844 2845 2846 2847 2848 2849 2850 2851 2852 2853 2854 2855 2856 2857 2858 2859 2860 2861 2862 2863 2864 2865 2866 2867 2868 2869 2870 2871 2872 2873 2874 2875 2876 2877 2878 2879 2880 2881 2882 2883 2884 2885 2886 2887 2888 2889 2890 2891 2892 2893 2894 2895 2896 2897 2898 2899 2900 2901 2902 2903 2904 2905 2906 2907 2908 2909 2910 2911 2912 2913 2914 2915 2916 2917 2918 2919 2920 2921 2922 2923 2924 2925 2926 2927 2928 2929 2930 2931 2932 2933 2934 2935 2936 2937 2938 2939 2940 2941 2942 2943 2944 2945 2946 2947 2948 2949 2950 2951 2952 2953 2954 2955 2956 2957 2958 2959 2960 2961 2962 2963 2964 2965 2966 2967 2968 2969 2970 2971 2972 2973 2974 2975 2976 2977 2978 2979 2980 2981 2982 2983 2984 2985 2986 2987 2988 2989 2990 2991 2992 2993 2994 2995 2996 2997 2998 2999 3000 3001 3002 3003 3004 3005 3006 3007 3008 3009 3010 3011 3012 3013 3014 3015 3016 3017 3018 3019 3020 3021 3022 3023 3024 3025 3026 3027 3028 3029 3030 3031 3032 3033 3034 3035 3036 3037 3038 3039 3040 3041 3042 3043 3044 3045 3046 3047 3048 3049 3050 3051 3052 3053 3054 3055 3056 3057 3058 3059 3060 3061 3062 3063 3064 3065 3066 3067 3068 3069 3070 3071 3072 3073 3074 3075 3076 3077 3078 3079 3080 3081 3082 3083 3084 3085 3086 3087 3088 3089 3090 3091 3092 3093 3094 3095 3096 3097 3098 3099 3100 3101 3102 3103 3104 3105 3106 3107 3108 3109 3110 3111 3112 3113 3114 3115 3116 3117 3118 3119 3120 3121 3122 3123 3124 3125 3126 3127 3128 3129 3130 3131 3132 3133 3134 3135 3136 3137 3138 3139 3140 3141 3142 3143 3144 3145 3146 3147 3148 3149 3150 3151 3152 3153 3154 3155 3156 3157 3158 3159 3160 3161 3162 3163 3164 3165 3166 3167 3168 3169 3170 3171 3172 3173 3174 3175 3176 3177 3178 3179 3180 3181 3182 3183 3184 3185 3186 3187 3188 3189 3190 3191 3192 3193 3194 3195 3196 3197 3198 3199 3200 3201 3202 3203 3204 3205 3206 3207 3208 3209 3210 3211 3212 3213 3214 3215 3216 3217 3218 3219 3220 3221 3222 3223 3224 3225 3226 3227 3228 3229 3230 3231 3232 3233 3234 3235 3236 3237 3238 3239 3240 3241 3242 3243 3244 3245 3246 3247 3248 3249 3250 3251 3252 3253 3254 3255 3256 3257 3258 3259 3260 3261 3262 3263 3264 3265 3266 3267 3268 3269 3270 3271 3272 3273 3274 3275 3276 3277 3278 3279 3280 3281 3282 3283 3284 3285 3286 3287 3288 3289 3290 3291 3292 3293 3294 3295 3296 3297 3298 3299 3300 3301 3302 3303 3304 3305 3306 3307 3308 3309 3310 3311 3312 3313 3314 3315 3316 3317 3318 3319 3320 3321 3322 3323 3324 3325 3326 3327 3328 3329 3330 3331 3332 3333 3334 3335 3336 3337 3338 3339 3340 3341 3342 3343 3344 3345 3346 3347 3348 3349 3350 3351 3352 3353 3354 3355 3356 3357 3358 3359 3360 3361 3362 3363 3364 3365 3366 3367 3368 3369 3370 3371 3372 3373 3374 3375 3376 3377 3378 3379 3380 3381 3382 3383 3384 3385 3386 3387 3388 3389 3390 3391 3392 3393 3394 3395 3396 3397 3398 3399 3400 3401 3402 3403 3404 3405 3406 3407 3408 3409 3410 3411 3412 3413 3414 3415 3416 3417 3418 3419 3420 3421 3422 3423 3424 3425 3426 3427 3428 3429 3430 3431 3432 3433 3434 3435 3436 3437 3438 3439 3440 3441 3442 3443 3444 3445 3446 3447 3448 3449 3450 3451 3452 3453 3454 3455 3456 3457 3458 3459 3460 3461 3462 3463 3464 3465 3466 3467 3468 3469 3470 3471 3472 3473 3474 3475 3476 3477 3478 3479 3480 3481 3482 3483 3484 3485 3486 3487 3488 3489 3490 3491 3492 3493 3494 3495 3496 3497 3498 3499 3500 3501 3502 3503 3504 3505 3506 3507 3508 3509 3510 3511 3512 3513 3514 3515 3516 3517 3518 3519 3520 3521 3522 3523 3524 3525 3526 3527 3528 3529 3530 3531 3532 3533 3534 3535 3536 3537 3538 3539 3540 3541 3542 3543 3544 3545 3546 3547 3548 3549 3550 3551 3552 3553 3554 3555 3556 3557 3558 3559 3560 3561 3562 3563 3564 3565 3566 3567 3568 3569 3570 3571 3572 3573 3574 3575 3576 3577 3578 3579 3580 3581 3582 3583 3584 3585 3586 3587 3588 3589 3590 3591 3592 3593 3594 3595 3596 3597 3598 3599 3600 3601 3602 3603 3604 3605 3606 3607 3608 3609 3610 3611 3612 3613 3614 3615 3616 3617 3618 3619 3620 3621 3622 3623 3624 3625 3626 3627 3628 3629 3630 3631 3632 3633 3634 3635 3636 3637 3638 3639 3640 3641 3642 3643 3644 3645 3646 3647 3648 3649 3650 3651 3652 3653 3654 3655 3656 3657 3658 3659 3660 3661 3662 3663 3664 3665 3666 3667 3668 3669 3670 3671 3672 3673 3674 3675 3676 3677 3678 3679 3680 3681 3682 3683 3684 3685 3686 3687 3688 3689 3690 3691 3692 3693 3694 3695 3696 3697 3698 3699 3700 3701 3702 3703 3704 3705 3706 3707 3708 3709 3710 3711 3712 3713 3714 3715 3716 3717 3718 3719 3720 3721 3722 3723 3724 3725 3726 3727 3728 3729 3730 3731 3732 3733 3734 3735 3736 3737 3738 3739 3740 3741 3742 3743 3744 3745 3746 3747 3748 3749 3750 3751 3752 3753 3754 3755 3756 3757 3758 3759 3760 3761 3762 3763 3764 3765 3766 3767 3768 3769 3770 3771 3772 3773 3774 3775 3776 3777 3778 3779 3780 3781 3782 3783 3784 3785 3786 3787 3788 3789 3790 3791 3792 3793 3794 3795 3796 3797 3798 3799 3800 3801 3802 3803 3804 3805 3806 3807 3808 3809 3810 3811 3812 3813 3814 3815 3816 3817 3818 3819 3820 3821 3822 3823 3824 3825 3826 3827 3828 3829 3830 3831 3832 3833 3834 3835 3836 3837 3838 3839 3840 3841 3842 3843 3844 3845 3846 3847 3848 3849 3850 3851 3852 3853 3854 3855 3856 3857 3858 3859 3860 3861 3862 3863 3864 3865 3866 3867 3868 3869 3870 3871 3872 3873 3874 3875 3876 3877 3878 3879 3880 3881 3882 3883 3884 3885 3886 3887 3888 3889 3890 3891 3892 3893 3894 3895 3896 3897 3898 3899 3900 3901 3902 3903 3904 3905 3906 3907 3908 3909 3910 3911 3912 3913 3914 3915 3916 3917 3918 3919 3920 3921 3922 3923 3924 3925 3926 3927 3928 3929 3930 3931 3932 3933 3934 3935 3936 3937 3938 3939 3940 3941 3942 3943 3944 3945 3946 3947 3948 3949 3950 3951 3952 3953 3954 3955 3956 3957 3958 3959 3960 3961 3962 3963 3964 3965 3966 3967 3968 3969 3970 3971 3972 3973 3974 3975 3976 3977 3978 3979 3980 3981 3982 3983 3984 3985 3986 3987 3988 3989 3990 3991 3992 3993 3994 3995 3996 3997 3998 3999 4000 4001 4002 4003 4004 4005 4006 4007 4008 4009 4010 4011 4012 4013 4014 4015 4016 4017 4018 4019 4020 4021 4022 4023 4024 4025 4026 4027 4028 4029 4030 4031 4032 4033 4034 4035 4036 4037 4038 4039 4040 4041 4042 4043 4044 4045 4046 4047 4048 4049 4050 4051 4052 4053 4054 4055 4056 4057 4058 4059 4060 4061 4062 4063 4064 4065 4066 4067 4068 4069 4070 4071 4072 4073 4074 4075 4076 4077 4078 4079 4080 4081 4082 4083 4084 4085 4086 4087 4088 4089 4090 4091 4092 4093 4094 4095 4096 4097 4098 4099 4100 4101 4102 4103 4104 4105 4106 4107 4108 4109 4110 4111 4112 4113 4114 4115 4116 4117 4118 4119 4120 4121 4122 4123 4124 4125 4126 4127 4128 4129 4130 4131 4132 4133 4134 4135 4136 4137 4138 4139 4140 4141 4142 4143 4144 4145 4146 4147 4148 4149 4150 4151 4152 4153 4154 4155 4156 4157 4158 4159 4160 4161 4162 4163 4164 4165 4166 4167 4168 4169 4170 4171 4172 4173 4174 4175 4176 4177 4178 4179 4180 4181 4182 4183 4184 4185 4186 4187 4188 4189 4190 4191 4192 4193 4194 4195 4196 4197 4198 4199 4200 4201 4202 4203 4204 4205 4206 4207 4208 4209 4210 4211 4212 4213 4214 4215 4216 4217 4218 4219 4220 4221 4222 4223 4224 4225 4226 4227 4228 4229 4230 4231 4232 4233 4234 4235 4236 4237 4238 4239 4240 4241 4242 4243 4244 4245 4246 4247 4248 4249 4250 4251 4252 4253 4254 4255 4256 4257 4258 4259 4260 4261 4262 4263 4264 4265 4266 4267 4268 4269 4270 4271 4272 4273 4274 4275 4276 4277 4278 4279 4280 4281 4282 4283 4284 4285 4286 4287 4288 4289 4290 4291 4292 4293 4294 4295 4296 4297 4298 4299 4300 4301 4302 4303 4304 4305 4306 4307 4308 4309 4310 4311 4312 4313 4314 4315 4316 4317 4318 4319 4320 4321 4322 4323 4324 4325 4326 4327 4328 4329 4330 4331 4332 4333 4334 4335 4336 4337 4338 4339 4340 4341 4342 4343 4344 4345 4346 4347 4348 4349 4350 4351 4352 4353 4354 4355 4356 4357 4358 4359 4360 4361 4362 4363 4364 4365 4366 4367 4368 4369 4370 4371 4372 4373 4374 4375 4376 4377 4378 4379 4380 4381 4382 4383 4384 4385 4386 4387 4388 4389 4390 4391 4392 4393 4394 4395 4396 4397 4398 4399 4400 4401 4402 4403 4404 4405 4406 4407 4408 4409 4410 4411 4412 4413 4414 4415 4416 4417 4418 4419 4420 4421 4422 4423 4424 4425 4426 4427 4428 4429 4430 4431 4432 4433 4434 4435 4436 4437 4438 4439 4440 4441 4442 4443 4444 4445 4446 4447 4448 4449 4450 4451 4452 4453 4454 4455 4456 4457 4458 4459 4460 4461 4462 4463 4464 4465 4466 4467 4468 4469 4470 4471 4472 4473 4474 4475 4476 4477 4478 4479 4480 4481 4482 4483 4484 4485 4486 4487 4488 4489 4490 4491 4492 4493 4494 4495 4496 4497 4498 4499 4500 4501 4502 4503 4504 4505 4506 4507 4508 4509 4510 4511 4512 4513 4514 4515 4516 4517 4518 4519 4520 4521 4522 4523 4524 4525 4526 4527 4528 4529 4530 4531 4532 4533 4534 4535 4536 4537 4538 4539 4540 4541 4542 4543 4544 4545 4546 4547 4548 4549 4550 4551 4552 4553 4554 4555 4556 4557 4558 4559 4560 4561 4562 4563 4564 4565 4566 4567 4568 4569 4570 4571 4572 4573 4574 4575 4576 4577 4578 4579 4580 4581 4582 4583 4584 4585 4586 4587 4588 4589 4590 4591 4592 4593 4594 4595 4596 4597 4598 4599 4600 4601 4602 4603 4604 4605 4606 4607 4608 4609 4610 4611 4612 4613 4614 4615 4616 4617 4618 4619 4620 4621 4622 4623 4624 4625 4626 4627 4628 4629 4630 4631 4632 4633 4634 4635 4636 4637 4638 4639 4640 4641 4642 4643 4644 4645 4646 4647 4648 4649 4650 4651 4652 4653 4654 4655 4656 4657 4658 4659 4660 4661 4662 4663 4664 4665 4666 4667 4668 4669 4670 4671 4672 4673 4674 4675 4676 4677 4678 4679 4680 4681 4682 4683 4684 4685 4686 4687 4688 4689 4690 4691 4692 4693 4694 4695 4696 4697 4698 4699 4700 4701 4702 4703 4704 4705 4706 4707 4708 4709 4710 4711 4712 4713 4714 4715 4716 4717 4718 4719 4720 4721 4722 4723 4724 4725 4726 4727 4728 4729 4730 4731 4732 4733 4734 4735 4736 4737 4738 4739 4740
Smaller features
---

* Improvements to the RDB format to support 64 bit lengths, binary sorted set scores, and more. The RDB file check utility now uses the same code base of the one used by Redis itself in order to load the RDB file in memory.

* SWAPDB command: ability to completely and immediately (no latency) replace two Redis databases.

* Improvements to `dict.c`, the Redis hash table implementation.

* Security improvements mapping POST and Host: commands to QUIT in order to prevent cross protocol scripting attacks.

* RPUSHX and LPUSHX now accept a variable number of elements.

* Reporting of additional memory used by copy on write in the INFO output.

* Serious refactoring of many core parts of Redis.

List of commits
---

antirez in commit 434e6b2:
 PSYNC2: Do not accept WAIT in slave instances.
 1 file changed, 5 insertions(+)

antirez in commit 71e8d15:
 Modules: change type registration API to use a struct of methods.
 4 files changed, 65 insertions(+), 10 deletions(-)

antirez in commit ce1f9cf:
 PSYNC2 test: check ability to resync after restart.
 1 file changed, 35 insertions(+), 1 deletion(-)

antirez in commit 93c5198:
 PSYNC2 test: 20 seconds are enough...
 1 file changed, 5 insertions(+), 1 deletion(-)

antirez in commit f6e42f0:
 PSYNC2 test: test added to the default tests.
 1 file changed, 1 insertion(+)

antirez in commit 6eb720f:
 PSYNC2: Minor memory leak reading -NOMASTERLINK master reply fixed.
 1 file changed, 1 insertion(+)

antirez in commit c8f0690:
 PSYNC2 test: modify the test for production.
 1 file changed, 33 insertions(+), 17 deletions(-)

antirez in commit eab865a:
 PSYNC2: stop sending newlines to sub-slaves when master is down.
 3 files changed, 6 insertions(+), 30 deletions(-)

antirez in commit 16559a0:
 PSYNC2: Test (WIP).
 1 file changed, 127 insertions(+)

antirez in commit 790310d:
 Better protocol errors logging.
 1 file changed, 29 insertions(+), 10 deletions(-)

antirez in commit e09e31b:
 PSYNC2: on transient error jump to error, not write_error.
 1 file changed, 1 insertion(+), 1 deletion(-)

antirez in commit 1f55170:
 Modules: fix client blocking calls access to invalid struct field.
 1 file changed, 1 insertion(+), 1 deletion(-)

antirez in commit 5b7d42f:
 PSYNC2: bugfixing pre release.
 2 files changed, 39 insertions(+), 11 deletions(-)

antirez in commit 73dd51c:
 Merge branch 'unstable' of github.com:/antirez/redis into unstable
antirez in commit f115461:
 Test: WAIT tests added in wait.tcl unit.
 2 files changed, 43 insertions(+)

Salvatore Sanfilippo in commit 5b83fa4:
 Merge pull request #3612 from deep011/unstable
antirez in commit 8fb3ad2:
 Merge branch 'psync2' into unstable
antirez in commit 59f2e7c:
 Merge branch 'unstable' of github.com:/antirez/redis into unstable
antirez in commit cfdb3a2:
 Cluster: handle zero bytes at the end of nodes.conf.
 1 file changed, 1 insertion(+), 1 deletion(-)

deep011 in commit 13a92a5:
 fix a possible bug for 'replconf getack'
 1 file changed, 1 insertion(+), 1 deletion(-)

antirez in commit 28c96d7:
 PSYNC2: Save replication ID/offset on RDB file.
 4 files changed, 29 insertions(+), 3 deletions(-)

antirez in commit 4e5e366:
 PSYNC2: Wrap debugging code with if(0)
 1 file changed, 3 insertions(+), 1 deletion(-)

antirez in commit 2669fb8:
 PSYNC2: different improvements to Redis replication.
 10 files changed, 440 insertions(+), 143 deletions(-)

Salvatore Sanfilippo in commit b399288:
 Merge pull request #3568 from MichaelTSS/patch-1
antirez in commit 18d32c7:
 redis-cli typo fixed: perferences -> preferences.
 1 file changed, 2 insertions(+), 2 deletions(-)

Salvatore Sanfilippo in commit fa2dc4b:
 Merge pull request #3514 from charsyam/feature/simple-refactoring
Salvatore Sanfilippo in commit 25811bc:
 Merge pull request #3547 from yyoshiki41/refactor/redis-trib
Salvatore Sanfilippo in commit b3e7073:
 Merge pull request #3575 from deep011/unstable
Salvatore Sanfilippo in commit c17fc39:
 Merge pull request #3581 from dvirsky/fix_io_ctx_sizeof
Dvir Volk in commit ec8fd6e:
 fixed sizeof in allocating io RedisModuleCtx*
 1 file changed, 1 insertion(+), 1 deletion(-)

antirez in commit 9749e96:
 Test: regression test for #3564 added.
 1 file changed, 9 insertions(+)

Salvatore Sanfilippo in commit 77b1abf:
 Merge pull request #3565 from sunheehnus/bitfield-fix-highest_write_offset
Salvatore Sanfilippo in commit f48ca55:
 Merge pull request #3573 from jybaek/module-io-context
Salvatore Sanfilippo in commit fbfa0a1:
 Merge pull request #3579 from guybe7/unstable
Guy Benoish in commit 8b070b5:
 Fixed wrong sizeof(client) in object.c
 1 file changed, 7 insertions(+), 7 deletions(-)

deep in commit 7f1bb22:
 fix a bug for quicklistDup() function
 1 file changed, 3 insertions(+), 3 deletions(-)

jybaek in commit a06d59b:
 Add missing fclose()
 1 file changed, 1 insertion(+)

Michel Tresseras in commit 20feafd:
 Typo
 1 file changed, 1 insertion(+), 1 deletion(-)

sunhe in commit 949a274:
 bitops.c/bitfieldCommand: update higest_write_offset with check
 1 file changed, 3 insertions(+), 2 deletions(-)

antirez in commit f39e7d4:
 Remove "Hey!" warning...
 1 file changed, 1 deletion(-)

antirez in commit a9f50a3:
 Better target MacOS on __atomic macros conditional compilation.
 1 file changed, 2 insertions(+), 1 deletion(-)

Salvatore Sanfilippo in commit ea95262:
 Merge pull request #3560 from melo/fix-macos-10-8-compile
Pedro Melo in commit 2000abc:
 Fixes compilation on MacOS 10.8.5, Clang tags/Apple/clang-421.0.57
 1 file changed, 1 insertion(+), 1 deletion(-)

antirez in commit f633212:
 Fix SELECT test, broken cause change in error msg.
 1 file changed, 1 insertion(+), 1 deletion(-)

antirez in commit c7a4e69:
 SWAPDB command.
 3 files changed, 88 insertions(+), 1 deletion(-)

antirez in commit a3b3ca7:
 Modules: use RedisModule_AbortBlock() in the example.
 1 file changed, 1 insertion(+), 1 deletion(-)

antirez in commit 95c17c0:
 Modules: AbortBlock() API implemented.
 3 files changed, 12 insertions(+), 1 deletion(-)

antirez in commit 58601c8:
 Modules: blocking API documented.
 1 file changed, 265 insertions(+)

antirez in commit 553aa0e:
 module.c: trim comment to 80 cols.
 1 file changed, 4 insertions(+), 4 deletions(-)

antirez in commit 870274b:
 Example modules: remove warnings about types and not used args.
 2 files changed, 13 insertions(+), 2 deletions(-)

yyoshiki41 in commit 16f6506:
 Refactor redis-trib.rb
 1 file changed, 1 insertion(+), 2 deletions(-)

antirez in commit 7dde8bf:
 Modules: blocking command example added.
 1 file changed, 115 insertions(+)

antirez in commit 3459969:
 Modules: fixes to the blocking commands API: examples now works.
 1 file changed, 10 insertions(+), 2 deletions(-)

antirez in commit f156038:
 Modules: RM_Milliseconds() API added.
 2 files changed, 8 insertions(+)

antirez in commit ffb00fb:
 Modules: blocking commands WIP: API exported, a first example.
 3 files changed, 38 insertions(+), 3 deletions(-)

antirez in commit 3aa816e:
 Modules: introduce warning suppression macro for unused args.
 3 files changed, 22 insertions(+)

antirez in commit 3879923:
 Enable warning in example modules Makefile.
 1 file changed, 2 insertions(+), 2 deletions(-)

antirez in commit 8fadfe5:
 Module: API to block clients with threading support.
 4 files changed, 185 insertions(+), 11 deletions(-)

antirez in commit a5998d1:
 Fix typos in GetContextFromIO API declaration.
 1 file changed, 2 insertions(+), 3 deletions(-)

antirez in commit 799208d:
 Fix name of mispelled function.
 1 file changed, 1 insertion(+), 1 deletion(-)

antirez in commit 152c1b6:
 Module: Ability to get context from IO context.
 5 files changed, 30 insertions(+)

antirez in commit 72279e3:
 Copyright notice added to module.c.
 2 files changed, 30 insertions(+), 1 deletion(-)

antirez in commit 3dc84c5:
 Modules: API to save/load single precision floating point numbers.
 4 files changed, 48 insertions(+), 2 deletions(-)

antirez in commit a1b1fd4:
 Modules: API to log from module I/O callbacks.
 2 files changed, 40 insertions(+), 16 deletions(-)

antirez in commit 4674efd:
 Merge branch 'unstable' of github.com:/antirez/redis into unstable
antirez in commit 0d9febf:
 Add compiler optimizations to example module makefile.
 1 file changed, 2 insertions(+), 2 deletions(-)

antirez in commit 6782e77:
 debug.c: include dlfcn.h regardless of BACKTRACE support.
 1 file changed, 1 insertion(+), 1 deletion(-)

antirez in commit 2564031:
 Merge branch 'unstable' of github.com:/antirez/redis into unstable
antirez in commit 6d9f8e2:
 Security: CONFIG SET client-output-buffer-limit overflow fixed.
 1 file changed, 5 insertions(+), 3 deletions(-)

charsyam in commit ca6fc4f:
 Simple change just using slaves instead of server.slaves
 1 file changed, 1 insertion(+), 1 deletion(-)

Salvatore Sanfilippo in commit 6e866ee:
 Merge pull request #3511 from dvirsky/create_string_printf
Dvir Volk in commit a91650f:
 added RM_CreateStringPrintf
 4 files changed, 52 insertions(+), 3 deletions(-)

antirez in commit 6705867:
 dict.c: fix dictGenericDelete() return ASAP condition.
 1 file changed, 2 insertions(+), 1 deletion(-)

antirez in commit e9d861e:
 Clear child data when opening the pipes.
 1 file changed, 2 insertions(+)

antirez in commit e565632:
 Child -> Parent pipe for COW info transferring.
 6 files changed, 132 insertions(+), 3 deletions(-)

antirez in commit e1eccf9:
 zmalloc: Make fp var non local to fix build.
 1 file changed, 3 insertions(+), 2 deletions(-)

antirez in commit 945a2f9:
 zmalloc: zmalloc_get_smap_bytes_by_field() modified to work for any PID.
 5 files changed, 24 insertions(+), 12 deletions(-)

antirez in commit b13759e:
 redis-cli: "allocator-stats" -> "malloc-stats".
 1 file changed, 1 insertion(+), 1 deletion(-)

antirez in commit 4263b12:
 Typo fixed from MEMORY DOCTOR output.
 1 file changed, 1 insertion(+), 1 deletion(-)

antirez in commit 8a00ffc:
 Surround allocator name with quotes in MEMORY DOCTOR output.
 1 file changed, 1 insertion(+), 1 deletion(-)

antirez in commit 44e714a:
 MEMORY DOCTOR initial implementation.
 4 files changed, 104 insertions(+), 8 deletions(-)

antirez in commit d9325ac:
 Provide percentage of memory peak used info.
 3 files changed, 13 insertions(+), 1 deletion(-)

oranagra in commit 309c2bc:
 add zmalloc used mem to DEBUG SDSLEN
 2 files changed, 7 insertions(+), 3 deletions(-)

antirez in commit 78f35f8:
 Memory related subcommands of DEBUG moved to MEMORY.
 3 files changed, 43 insertions(+), 41 deletions(-)

antirez in commit 123891d:
 Group MEMORY command related APIs together in the source code.
 1 file changed, 53 insertions(+), 53 deletions(-)

antirez in commit adcfb77:
 objectComputeSize(): skiplist nodes have different sizes.
 1 file changed, 6 insertions(+), 6 deletions(-)

antirez in commit e9629e1:
 MEMORY command: HELP + dataset percentage (like in INFO).
 3 files changed, 20 insertions(+), 8 deletions(-)

antirez in commit 5443726:
 MEMORY USAGE: SAMPLES option added + fixes to size computation.
 1 file changed, 27 insertions(+), 18 deletions(-)

antirez in commit 7229af3:
 INFO: new memory reporting fields added.
 1 file changed, 15 insertions(+), 1 deletion(-)

antirez in commit bf2624e:
 C struct memoh renamed redisMemOverhead. API prototypes added.
 2 files changed, 28 insertions(+), 26 deletions(-)

antirez in commit be5439b:
 MEMORY OVERHEAD refactored into a generic API.
 1 file changed, 130 insertions(+), 73 deletions(-)

antirez in commit 09a50d3:
 dict.c: dictReplaceRaw() -> dictAddOrFind().
 3 files changed, 4 insertions(+), 4 deletions(-)

antirez in commit 041ab04:
 Trim comment to 80 cols.
 1 file changed, 1 insertion(+), 1 deletion(-)

antirez in commit a636aea:
 Apply the new dictUnlink() where possible.
 3 files changed, 9 insertions(+), 8 deletions(-)

oranagra in commit afcbcc0:
 dict.c: introduce dictUnlink().
 3 files changed, 45 insertions(+), 11 deletions(-)

antirez in commit 8c84c96:
 MEMORY OVERHEAD implemented (using Oran Agra initial implementation).
 3 files changed, 104 insertions(+), 2 deletions(-)

antirez in commit 89dec69:
 objectComputeSize(): estimate collections sampling N elements.
 3 files changed, 51 insertions(+), 31 deletions(-)

oranagra in commit 8c24325:
 Adding objectComputeSize() function.
 1 file changed, 113 insertions(+)

oranagra in commit 68bf45f:
 Optimize repeated keyname hashing.
 5 files changed, 56 insertions(+), 59 deletions(-)

Salvatore Sanfilippo in commit d680eb6:
 Merge pull request #3492 from wyxustcsa09/fix-memory
antirez in commit c6dc8d5:
 Merge branch 'unstable' of github.com:antirez/redis into unstable
antirez in commit 56dba3a:
 Example modules: Add C99 standard to cflags.
 1 file changed, 2 insertions(+), 2 deletions(-)

antirez in commit 3793afa:
 Merge branch 'aofrdb' into unstable
antirez in commit f962481:
 fix the fix for the TCP binding.
 1 file changed, 15 insertions(+), 10 deletions(-)

oranagra in commit 9203828:
 fix tcp binding when IPv6 is unsupported
 2 files changed, 14 insertions(+), 10 deletions(-)

antirez in commit d35deb2:
 debug.c: no need to define _GNU_SOURCE, is defined in fmacros.h.
 1 file changed, 1 deletion(-)

antirez in commit 6211e77:
 crash log - improve code dump with more info and called symbols.
 1 file changed, 59 insertions(+), 20 deletions(-)

wyx in commit f9c9b4b:
 fix memory error on module unload
 1 file changed, 1 insertion(+), 1 deletion(-)

oranagra in commit 24811fc:
 crash log - add hex dump of function code
 1 file changed, 22 insertions(+)

antirez in commit 0d179d1:
 dict.c benchmark minor improvements.
 1 file changed, 19 insertions(+), 1 deletion(-)

antirez in commit bd6c4ca:
 dict.c benchmark: mixed del/insert benchmark.
 1 file changed, 11 insertions(+)

antirez in commit 0f708ab:
 dict.c benchmark: finish rehashing before testing lookups.
 1 file changed, 5 insertions(+)

antirez in commit ed6a451:
 dict.c benchmark improvements.
 1 file changed, 27 insertions(+), 4 deletions(-)

antirez in commit 1074f73:
 dict.c benchmark: take optional count argument.
 1 file changed, 11 insertions(+), 3 deletions(-)

antirez in commit 91a59e0:
 dict.c benchmark.
 2 files changed, 60 insertions(+), 1 deletion(-)

antirez in commit 57a0db9:
 Fix rdb.c var types when calling rdbLoadLen().
 1 file changed, 3 insertions(+), 3 deletions(-)

antirez in commit 9f76d82:
 sds: don't check for impossible string size in 32 bit systems.
 1 file changed, 3 insertions(+)

antirez in commit dacb69e:
 RDB AOF preamble: test it in the aofrw unit.
 1 file changed, 52 insertions(+), 49 deletions(-)

antirez in commit 764cc69:
 Document RDB preamble in AOF rewrites in redis.conf.
 1 file changed, 14 insertions(+)

antirez in commit e0d4146:
 Sentinel example config: warn about protected mode.
 1 file changed, 16 insertions(+), 1 deletion(-)

antirez in commit 543e25e:
 RDB AOF preamble: WIP 4 (Mixed RDB/AOF loading).
 2 files changed, 33 insertions(+), 6 deletions(-)

antirez in commit f1c32f0:
 RDB AOF preamble: WIP 3 (RDB loading refactoring).
 1 file changed, 38 insertions(+), 29 deletions(-)

antirez in commit feda523:
 RDB AOF preamble: WIP 2.
 5 files changed, 37 insertions(+), 28 deletions(-)

antirez in commit 4426cb1:
 RDB AOF preamble: WIP 1.
 4 files changed, 72 insertions(+), 35 deletions(-)

Salvatore Sanfilippo in commit 9f779b3:
 Merge pull request #3340 from rojingeorge/unstable
Salvatore Sanfilippo in commit c5414ce:
 Merge pull request #3429 from guoxiao/warning
Guo Xiao in commit 4bd72ab:
 Use the standard predefined identifier __func__ (since C99)
 1 file changed, 1 insertion(+), 1 deletion(-)

antirez in commit e7f1798:
 Modules: basic call/reply tests in test module.
 1 file changed, 71 insertions(+)

antirez in commit 13f18d2:
 Modules: handle NULL replies more gracefully.
 1 file changed, 6 insertions(+)

antirez in commit a81a92c:
 Security: Cross Protocol Scripting protection.
 3 files changed, 27 insertions(+), 2 deletions(-)

antirez in commit ede6e22:
 Fix comment over 80 cols.
 1 file changed, 1 insertion(+), 1 deletion(-)

antirez in commit 04340e1:
 Modules: initial draft for a testing module.
 3 files changed, 235 insertions(+), 93 deletions(-)

antirez in commit 7829e4e:
 Modules: StringAppendBuffer() and ability to retain strings.
 3 files changed, 91 insertions(+), 5 deletions(-)

Qu Chen in commit d982f44:
 Fix a bug to delay bgsave while AOF rewrite in progress for replication
 1 file changed, 1 insertion(+), 1 deletion(-)

antirez in commit 9424fe4:
 Remove extra "-" from ASCII horizontal bar in comment.
 2 files changed, 2 insertions(+), 2 deletions(-)

antirez in commit 9d52411:
 Update linenoise to fix insecure redis-cli history file creation.
 1 file changed, 6 insertions(+), 1 deletion(-)

antirez in commit 8966d4c:
 Changelog format modified to be less verbose.
 1 file changed, 5 insertions(+), 1 deletion(-)

antirez in commit 55385f9:
 Ability of slave to announce arbitrary ip/port to master.
 6 files changed, 129 insertions(+), 17 deletions(-)

antirez in commit 356a630:
 Multiple GEORADIUS bugs fixed.
 6 files changed, 199 insertions(+), 21 deletions(-)

antirez in commit 03f5b50:
 Replication: when possible start RDB saving ASAP.
 1 file changed, 8 insertions(+), 2 deletions(-)

antirez in commit 8b76d55:
 Sentinel: new test unit 07 that tests master down conditions.
 1 file changed, 68 insertions(+)

antirez in commit 3e9ce38:
 Sentinel: check Slave INFO state more often when disconnected.
 2 files changed, 10 insertions(+), 3 deletions(-)

antirez in commit 0a628e5:
 Avoid simultaneous RDB and AOF child process.
 4 files changed, 51 insertions(+), 8 deletions(-)

antirez in commit 780a8b1:
 Replication: start BGSAVE for replication always in replicationCron().
 1 file changed, 15 insertions(+), 12 deletions(-)

antirez in commit e0582b3:
 Fix maxmemory shared integer check bug introduced with LFU.
 1 file changed, 1 insertion(+), 1 deletion(-)

antirez in commit 2d5eb1f:
 Volatile-ttl eviction policy implemented in terms of the pool.
 2 files changed, 25 insertions(+), 48 deletions(-)

antirez in commit 9f1b7ab:
 test-lru.rb: support for testing volatile-ttl policy.
 1 file changed, 49 insertions(+), 14 deletions(-)

antirez in commit 6854c7b:
 LFU: make counter log factor and decay time configurable.
 5 files changed, 95 insertions(+), 14 deletions(-)

antirez in commit 6416ab1:
 LFU: Use the LRU pool for the LFU algorithm.
 1 file changed, 25 insertions(+), 36 deletions(-)

antirez in commit dbce190:
 LFU: Fix bugs in frequency decay code.
 1 file changed, 2 insertions(+), 2 deletions(-)

antirez in commit a8e2d08:
 LFU: Initial naive eviction cycle.
 3 files changed, 49 insertions(+), 4 deletions(-)

antirez in commit 24dd4a8:
 redis-cli LRU test mode: randomize value of key when setting.
 1 file changed, 4 insertions(+), 1 deletion(-)

antirez in commit b8450d7:
 redis-cli LRU test mode: remove newline from key names.
 1 file changed, 1 insertion(+), 1 deletion(-)

antirez in commit 5d07984:
 LFU: Redis object level implementation.
 5 files changed, 142 insertions(+), 15 deletions(-)

antirez in commit ada70c7:
 LFU simulator: remove dead code.
 1 file changed, 5 deletions(-)

antirez in commit fc92c66:
 LRU simulator: fix new entry creation decr time.
 1 file changed, 1 insertion(+), 1 deletion(-)

antirez in commit f50dc38:
 LRU simulator: fix new entry creation.
 1 file changed, 2 insertions(+), 2 deletions(-)

antirez in commit 09fcb00:
 LFU: Simulation of the algorithm planned for Redis.
 1 file changed, 163 insertions(+)

antirez in commit e423f76:
 LRU: Make cross-database choices for eviction.
 3 files changed, 161 insertions(+), 110 deletions(-)

antirez in commit e64bf05:
 LRU: cache SDS strings in the eviction pool.
 1 file changed, 29 insertions(+), 13 deletions(-)

antirez in commit 965905c:
 Move the struct evictionPoolEntry() into only file using it.
 2 files changed, 22 insertions(+), 12 deletions(-)

antirez in commit d8e92a8:
 Move prototype of evictionPoolAlloc() in server.h.
 2 files changed, 3 insertions(+), 2 deletions(-)

antirez in commit 3b9495d:
 LRU: use C99 variable len stack array in evictionPoolPopulate().
 1 file changed, 1 insertion(+), 11 deletions(-)

antirez in commit 2a12473:
 redis-benchmark: new option to show server errors on stdout.
 1 file changed, 17 insertions(+), 1 deletion(-)

antirez in commit 382991f:
 Remove useless memmove() from freeMemoryIfNeeded().
 1 file changed, 2 insertions(+), 7 deletions(-)

antirez in commit b19b2df:
 LRU: Fix output fixes to new test-lru.rb.
 1 file changed, 6 insertions(+), 6 deletions(-)

antirez in commit 6a1c00c:
 Merge branch 'unstable' of github.com:/antirez/redis into unstable
antirez in commit 32a5494:
 LRU: test-lru.rb improved in different ways.
 2 files changed, 180 insertions(+), 98 deletions(-)

antirez in commit 51c1d40:
 redis_check_rdb(): the rio structure must be global.
 1 file changed, 1 insertion(+), 1 deletion(-)

antirez in commit eee878c:
 redis_check_rdb_main(): create shared objects only if needed.
 1 file changed, 5 insertions(+), 1 deletion(-)

antirez in commit 24882e3:
 Fix redis_check_rdb() return value.
 1 file changed, 3 insertions(+), 2 deletions(-)

antirez in commit 1e6bb9e:
 Remove dead code from geohash_helper.c.
 1 file changed, 6 deletions(-)

antirez in commit 3961071:
 Fix signess issue in geohashEstimateStepsByRadius().
 1 file changed, 2 insertions(+), 1 deletion(-)

antirez in commit 504ccad:
 Fix definition of M_PI in geohash_helper.c.
 2 files changed, 2 insertions(+), 1 deletion(-)

antirez in commit eaa713e:
 geohash.c and geohash_helper.c are part of Redis.
 11 files changed, 686 insertions(+), 717 deletions(-)

antirez in commit 4a140d3:
 Add expire.c and evict.c.
 2 files changed, 718 insertions(+)

antirez in commit b46239e:
 Expire and LRU related code moved into different files.
 5 files changed, 4 insertions(+), 633 deletions(-)

antirez in commit 0610683:
 Makefile: don't build dependencies file for clean, distclean.
 1 file changed, 3 insertions(+)

antirez in commit 1036182:
 Generate Makefile.dep at every build.
 3 files changed, 6 insertions(+), 194 deletions(-)

antirez in commit abb3385:
 Regression test for issue #3333.
 1 file changed, 6 insertions(+)

antirez in commit 2379182:
 getLongLongFromObject: use string2ll() instead of strict_strtoll().
 1 file changed, 1 insertion(+), 15 deletions(-)

antirez in commit ef6a4df:
 redis-cli: check SELECT reply type just in state updated.
 1 file changed, 1 insertion(+), 1 deletion(-)

Salvatore Sanfilippo in commit 0df2865:
 Merge pull request #3365 from sskorgal/unstable
antirez in commit c383be3:
 Sentinel: fix cross-master Sentinel address update.
 1 file changed, 9 insertions(+), 2 deletions(-)

antirez in commit b2cc8bc:
 CONFIG GET is now no longer case sensitive.
 1 file changed, 12 insertions(+), 12 deletions(-)

antirez in commit a0dd014:
 Fix test for new RDB checksum failure message.
 1 file changed, 1 insertion(+), 1 deletion(-)

antirez in commit b99ad1b:
 Make tcp-keepalive default to 300 in internal conf.
 1 file changed, 1 insertion(+), 1 deletion(-)

antirez in commit 7e220a9:
 In Redis RDB check: more details in error reportings.
 1 file changed, 21 insertions(+), 13 deletions(-)

antirez in commit e697153:
 In Redis RDB check: log decompression errors.
 2 files changed, 23 insertions(+), 2 deletions(-)

antirez in commit df3c69e:
 In Redis RDB check: log object type on error.
 1 file changed, 27 insertions(+), 2 deletions(-)

antirez in commit c0f4d19:
 Added a trivial program to randomly corrupt RDB files in /utils.
 1 file changed, 44 insertions(+)

antirez in commit 2ab7097:
 In Redis RDB check: minor output message changes.
 1 file changed, 4 insertions(+), 1 deletion(-)

antirez in commit e9f31ba:
 In Redis RDB check: better error reporting.
 4 files changed, 71 insertions(+), 14 deletions(-)

sskorgal in commit 9dfd9d1:
 Fix for redis_cli printing default DB when select command fails.
 1 file changed, 1 insertion(+), 1 deletion(-)

antirez in commit e97fadb:
 In Redis RDB check: initial POC.
 2 files changed, 189 insertions(+), 660 deletions(-)

Rojin George in commit d0f5307:
 Merge remote-tracking branch 'refs/remotes/antirez/unstable' into unstable
antirez in commit 24bd9b1:
 Test: new randomized stress tester for #3343 alike bugs.
 1 file changed, 27 insertions(+), 2 deletions(-)

antirez in commit f983318:
 Stress tester WIP.
 1 file changed, 3 insertions(+)

antirez in commit 4989986:
 Regression test for issue #3343 exact min crash sequence.
 1 file changed, 16 insertions(+)

antirez in commit dc18a6a:
 Merge branch 'unstable' of github.com:/antirez/redis into unstable
antirez in commit 5e176e1:
 Fix quicklistReplaceAtIndex() by updating the quicklist ziplist size.
 1 file changed, 1 insertion(+)

Salvatore Sanfilippo in commit ae4f5b3:
 Merge pull request #3342 from yossigo/fix_calloc
Yossi Gottlieb in commit 19c401d:
 Fix RedisModule_Calloc() definition typo.
 1 file changed, 1 insertion(+), 1 deletion(-)

rojingeorge in commit 4242fdf:
 Display the nodes summary once the cluster is established using redis-trib.rb
 1 file changed, 5 insertions(+)

rojingeorge in commit 4aab50a:
 Merge remote-tracking branch 'refs/remotes/antirez/unstable' into unstable
Salvatore Sanfilippo in commit f60aa4d:
 Merge pull request #3324 from mishan/fix-wrong-comment-about-sentinel-mode
antirez in commit 1898311:
 Modules: mention RedisModule_Calloc() in the doc.
 1 file changed, 1 insertion(+)

Salvatore Sanfilippo in commit 3a0b776:
 Merge pull request #3335 from dvirsky/rm_calloc
antirez in commit c026b5c:
 Merge branch 'unstable' of github.com:/antirez/redis into unstable
antirez in commit 0f484d8:
 Actually remove static from #3331.
 1 file changed, 1 insertion(+), 2 deletions(-)

Salvatore Sanfilippo in commit 28ea585:
 Merge pull request #3336 from yossigo/create_string_from_string
antirez in commit c0ca87d:
 Minor change to conform PR #3331 to Redis code base style.
 1 file changed, 1 insertion(+), 2 deletions(-)

Salvatore Sanfilippo in commit a66dd43:
 Merge pull request #3331 from yossigo/fix_openkey_crash
Salvatore Sanfilippo in commit 393c468:
 Merge pull request #3338 from tielei/unstable
tielei in commit f648c5a:
 A string with 21 chars is not representable as a 64-bit integer.
 1 file changed, 2 insertions(+), 2 deletions(-)

Salvatore Sanfilippo in commit 3d48c93:
 Merge pull request #3330 from yossigo/fix_const
antirez in commit 4b12c6a:
 Modules: changes to logging function.
 3 files changed, 39 insertions(+), 19 deletions(-)

Yossi Gottlieb in commit 715794b:
 Add RedisModule_Log() logging API function.
 3 files changed, 42 insertions(+)

antirez in commit b507289:
 Commit change in autoMemoryFreed(): first -> last.
 1 file changed, 2 insertions(+), 1 deletion(-)

antirez in commit f2dbc02:
 Modules: implement zig-zag scanning in autoMemoryFreed().
 1 file changed, 20 insertions(+), 16 deletions(-)

Salvatore Sanfilippo in commit 2fe9b79:
 Merge pull request #3244 from dvirsky/optimize_autoMemoryFreed
Yossi Gottlieb in commit 61172ed:
 Add RedisModule_CreateStringFromString().
 5 files changed, 26 insertions(+), 2 deletions(-)

Dvir Volk in commit dc7f3fe:
 added RM_Calloc implementation
 2 files changed, 13 insertions(+), 1 deletion(-)

antirez in commit 4e10b08:
 Modules doc: hint about replacing libc malloc calls.
 1 file changed, 15 insertions(+), 1 deletion(-)

Yossi Gottlieb in commit e22f3e4:
 Cleanup: remove zset reset function from RM_ZsetRangeStop().
 1 file changed, 13 insertions(+), 7 deletions(-)

Yossi Gottlieb in commit a8e2034:
 Fix occasional RM_OpenKey() crashes.
 1 file changed, 1 insertion(+)

Yossi Gottlieb in commit 8f3a4df:
 Use const in Redis Module API where possible.
 13 files changed, 38 insertions(+), 38 deletions(-)

Salvatore Sanfilippo in commit 0b4b7eb:
 Merge pull request #3252 from oranagra/config_fix
Misha Nasledov in commit 7a5538d:
 Fix incorrect comment for checkForSentinelMode function
 1 file changed, 1 insertion(+), 1 deletion(-)

antirez in commit f7351f4:
 Fix Sentinel pending commands counting.
 1 file changed, 1 insertion(+)

antirez in commit 7c8f275:
 redis-cli: really connect to the right server.
 1 file changed, 5 insertions(+), 2 deletions(-)

antirez in commit a3f893b:
 RESTORE: accept RDB dumps with older versions.
 1 file changed, 1 insertion(+), 1 deletion(-)

Salvatore Sanfilippo in commit 8272cea:
 Merge pull request #3255 from oranagra/error_string
Salvatore Sanfilippo in commit 64b834b:
 Merge pull request #3256 from oranagra/georasius_neg
antirez in commit 2f2fd64:
 Minor aesthetic fixes to PR #3264.
 1 file changed, 5 insertions(+), 5 deletions(-)

Salvatore Sanfilippo in commit 33a9836:
 Merge pull request #3264 from oranagra/bitfield_fix2
Salvatore Sanfilippo in commit 5d83f6c:
 Merge pull request #3274 from MOON-CLJ/fix_promoted_slave
antirez in commit 3bd20ea:
 Test TOUCH and new TTL / TYPE behavior about object access time.
 2 files changed, 24 insertions(+)

Salvatore Sanfilippo in commit 226f679:
 Merge pull request #3283 from ideal/unstable
Salvatore Sanfilippo in commit bd2cd70:
 Merge pull request #3281 from jamespedwards42/unstable
antirez in commit 2d86995:
 GETRANGE: return empty string with negative, inverted start/end.
 2 files changed, 6 insertions(+), 2 deletions(-)

antirez in commit eb45e11:
 Remove additional round brackets from fix for #3282.
 1 file changed, 1 insertion(+), 1 deletion(-)

antirez in commit ca54335:
 Merge branch 'unstable' of github.com:/antirez/redis into unstable
Salvatore Sanfilippo in commit 001cadc:
 Merge pull request #3282 from wenduo/unstable
antirez in commit 212f157:
 Regression test for #3282.
 1 file changed, 10 insertions(+)

Salvatore Sanfilippo in commit 3deb7ba:
 Merge pull request #3226 from MichielDeMey/patch-1
Salvatore Sanfilippo in commit 82554ca:
 Merge pull request #3313 from zshipko/unstable
zach shipko in commit b7b9aa6:
 BSDs don't have -ldl
 1 file changed, 15 insertions(+), 5 deletions(-)

antirez in commit 41d804d:
 TTL and TYPE LRU access fixed. TOUCH implemented.
 3 files changed, 60 insertions(+), 8 deletions(-)

antirez in commit cd8e688:
 redis-cli help.h updated.
 1 file changed, 13 insertions(+), 8 deletions(-)

antirez in commit c6e3ce3:
 Enable tcp-keepalive by default.
 1 file changed, 3 insertions(+), 2 deletions(-)

antirez in commit 5ba9bde:
 Modules: document how to pass config params to modules.
 1 file changed, 19 insertions(+), 1 deletion(-)

antirez in commit 5831dd8:
 Fix example modules to have the right OnLoad() prototype.
 2 files changed, 8 insertions(+), 2 deletions(-)

antirez in commit a4bce77:
 Don't assume no padding or specific ordering in moduleLoadQueueEntry structure.
 2 files changed, 4 insertions(+), 3 deletions(-)

antirez in commit 9a02dac:
 Free module context after loading.
 1 file changed, 1 insertion(+)

antirez in commit b6cd008:
 Make sure modules arguments are raw strings.
 1 file changed, 1 insertion(+), 1 deletion(-)

antirez in commit 1ad5c22:
 Minor changes to unifor C style to Redis code base for PR #3293.
 3 files changed, 8 insertions(+), 6 deletions(-)

Salvatore Sanfilippo in commit e8d5387:
 Merge pull request #3293 from yossigo/module_config
antirez in commit e71f22f:
 Fix typo: after -> before.
 1 file changed, 1 insertion(+), 1 deletion(-)

antirez in commit e4567f2:
 Explain why module type names are 9 chars.
 1 file changed, 52 insertions(+)

Salvatore Sanfilippo in commit 688996f:
 Merge pull request #3295 from catwell/pr-1-warnings
Salvatore Sanfilippo in commit b4327ae:
 Merge pull request #3294 from yossigo/fix_unload
antirez in commit a1684ff:
 Remove tryObjectEncoding() calls from list type.
 1 file changed, 3 deletions(-)

antirez in commit 5beec97:
 Merge branch 'unstable' of github.com:/antirez/redis into unstable
Michiel De Mey in commit 90781de:
 Added documentation for non-interactive install procedure
 1 file changed, 19 insertions(+), 3 deletions(-)

Salvatore Sanfilippo in commit ab73544:
 Merge pull request #3296 from catwell/pr-2-variadic-pushx
andyli in commit 93a0987:
 fix comment "b>a" to "a > b"
 1 file changed, 1 insertion(+), 1 deletion(-)

antirez in commit 2a57ad5:
 Fixed typo in Sentinel compareSlavesForPromotion() comment.
 1 file changed, 1 insertion(+), 1 deletion(-)

antirez in commit 243c9dc:
 Merge branch 'unstable' of github.com:/antirez/redis into unstable
Salvatore Sanfilippo in commit 01a34b1:
 Merge pull request #2870 from SaurabhJha/documenation-fixes
antirez in commit 67fcd26:
 Merge branch 'unstable' of github.com:/antirez/redis into unstable
Salvatore Sanfilippo in commit bac4de7:
 Merge pull request #3180 from bogdanvlviv/fix_pidfile
antirez in commit 5481336:
 Merge branch 'unstable' of github.com:/antirez/redis into unstable
Salvatore Sanfilippo in commit 53c008a:
 Merge pull request #3303 from jspraul/patch-1
antirez in commit b664aeb:
 Improve timer callback creation comment.
 1 file changed, 3 insertions(+), 2 deletions(-)

jspraul in commit 4df95e8:
 Include 'fd_set' type name
 1 file changed, 1 insertion(+)

Salvatore Sanfilippo in commit 30c1a85:
 Merge pull request #3301 from yossigo/fix_unused_warning
Yossi Gottlieb in commit 2fd6ca3:
 Remove gcc warning when redismodule.h is included by a multi-file module.
 1 file changed, 1 insertion(+)

Saurabh Jha in commit 319b126:
 Fixup
 1 file changed, 8 insertions(+), 8 deletions(-)

Saurabh Jha in commit 61717ac:
 More edits to README
 1 file changed, 15 insertions(+), 15 deletions(-)

Saurabh Jha in commit 0f10b16:
 Address grammatical comments
 1 file changed, 2 insertions(+), 2 deletions(-)

Saurabh Jha in commit 90a3647:
 Fix typos in documentation
 2 files changed, 15 insertions(+), 16 deletions(-)

Pierre Chapuis in commit d88c3c7:
 make RPUSHX and LPUSHX variadic
 3 files changed, 18 insertions(+), 9 deletions(-)

Pierre Chapuis in commit b670a16:
 remove unused variable
 1 file changed, 2 insertions(+), 2 deletions(-)

Pierre Chapuis in commit 3e9c20f:
 untangle LINSERT and {L,R}PUSHX implementations
 1 file changed, 45 insertions(+), 40 deletions(-)

Pierre Chapuis in commit 188d90f:
 fix some compiler warnings
 3 files changed, 17 insertions(+), 10 deletions(-)

Yossi Gottlieb in commit 87312ff:
 Fix MODULE UNLOAD crash and/or wrong error message.
 1 file changed, 14 insertions(+), 7 deletions(-)

Yossi Gottlieb in commit cc58f11:
 Use RedisModuleString for OnLoad argv.
 3 files changed, 5 insertions(+), 11 deletions(-)

Yossi Gottlieb in commit 2bd13cf:
 Allow passing arguments to modules on load.
 3 files changed, 46 insertions(+), 13 deletions(-)

antirez in commit 550fa7e:
 modules API.md updated.
 1 file changed, 232 insertions(+), 10 deletions(-)

antirez in commit c3f5b6e:
 Modules: native types doc, 70% done.
 1 file changed, 305 insertions(+)

antirez in commit 5830d88:
 Modules: pool allocator doc.
 1 file changed, 53 insertions(+), 1 deletion(-)

antirez in commit 31eb8ec:
 Modules: top comments in helloworld.c and hellotype.c.
 2 files changed, 74 insertions(+)

antirez in commit 8ec2800:
 Modules: support for modules native data types.
 11 files changed, 991 insertions(+), 35 deletions(-)

antirez in commit 27e5f38:
 RDB v8: fix rdbLoadLen() return value.
 3 files changed, 61 insertions(+), 36 deletions(-)

antirez in commit e6554be:
 RDB v8: new ZSET storage format with binary doubles.
 2 files changed, 27 insertions(+), 5 deletions(-)

antirez in commit 4aae4f7:
 RDB v8: ability to save uint64_t lengths.
 3 files changed, 34 insertions(+), 44 deletions(-)

antirez in commit b64fcbc:
 Test: run GEO tests by default.
 1 file changed, 1 insertion(+)

antirez in commit 231c9db:
 Now that SPOP can be called by scripts use BLPOP on 's' flag test.
 1 file changed, 1 insertion(+), 1 deletion(-)

antirez in commit 2503acf:
 Avoid undefined behavior in BITFIELD implementation.
 1 file changed, 15 insertions(+), 8 deletions(-)

Salvatore Sanfilippo in commit 9200312:
 Merge pull request #3278 from itamarhaber/patch-8
antirez in commit 5d4b5fb:
 Geo: fix typo in geohashEstimateStepsByRadius().
 1 file changed, 1 insertion(+), 1 deletion(-)

antirez in commit 18a513f:
 Merge branch 'unstable' of github.com:/antirez/redis into unstable
antirez in commit 4eff3dc:
 Fix GEORADIUS wrong output with radius > Earth radius.
 1 file changed, 2 insertions(+)

ideal in commit 4067132:
 fix mistake comment in object.c
 1 file changed, 1 insertion(+), 1 deletion(-)

wenduo in commit 41dacdb:
 bitcount bug:return non-zero value when start > end (both negative)
 1 file changed, 4 insertions(+)

jamespedwards42 in commit 3432061:
 Fix modules intro typos.
 1 file changed, 3 insertions(+), 4 deletions(-)

Itamar Haber in commit 2866e02:
 Allow SPOP from Lua scripts
 1 file changed, 1 insertion(+), 1 deletion(-)

MOON_CLJ in commit aa57844:
 fix check when can't send the command to the promoted slave
 1 file changed, 1 insertion(+), 1 deletion(-)

oranagra in commit 5d96b7e:
 check WRONGTYPE in BITFIELD before looping on the operations.
 1 file changed, 18 insertions(+), 9 deletions(-)

oranagra in commit c4433d2:
 fix crash in BITFIELD GET on non existing key or wrong type see #3259
 1 file changed, 5 insertions(+), 3 deletions(-)

oranagra in commit f3e81de:
 fix georadius returns multiple replies
 1 file changed, 5 insertions(+), 2 deletions(-)

oranagra in commit 8d9d8d1:
 CLIENT error message was out of date
 1 file changed, 1 insertion(+), 1 deletion(-)

Salvatore Sanfilippo in commit 8c4f4d1:
 Merge pull request #3249 from badboy/rcli-debug-printing
oranagra in commit 5fa711f:
 config set list-max-ziplist-size didn't support negative values, unlike config file
 1 file changed, 3 insertions(+), 3 deletions(-)

Jan-Erik Rediger in commit 892565f:
 Remove debug printing
 1 file changed, 3 deletions(-)

Dvir Volk in commit 137fd86:
 optimized amFree even further
 1 file changed, 9 insertions(+), 4 deletions(-)

Dvir Volk in commit 46b07cb:
 Optimized autoMemoryFreed loop
 1 file changed, 4 insertions(+), 1 deletion(-)

antirez in commit b09a6b6:
 Fix modules compilation when libc malloc is used.
 1 file changed, 2 insertions(+), 2 deletions(-)

Salvatore Sanfilippo in commit bafed3d:
 Merge pull request #3222 from oranagra/more_minir_fixes
antirez in commit e3edae9:
 Modules: RM_HashSet() SDS ownership business clarified in comments.
 1 file changed, 5 insertions(+), 5 deletions(-)

Salvatore Sanfilippo in commit 01a83d0:
 Merge pull request #3239 from dvirsky/fix_hashset_crash
antirez in commit bee963c:
 Code to access object string bytes repeated 3x refactored into 1 function.
 1 file changed, 39 insertions(+), 35 deletions(-)

antirez in commit ffd1600:
 Clarify that the LOG_STR_SIZE includes null term.
 1 file changed, 1 insertion(+), 1 deletion(-)

Salvatore Sanfilippo in commit 4c9c9d7:
 Merge pull request #3221 from oranagra/bitfield_fix
antirez in commit 078f461:
 Test for BITFIELD regression #3221.
 1 file changed, 5 insertions(+)

antirez in commit c6c86ea:
 Merge branch 'unstable' of github.com:/antirez/redis into unstable
antirez in commit 968e838:
 Actually use --with-lg-quantum=3 to build jemalloc.
 1 file changed, 1 insertion(+), 1 deletion(-)

Dvir Volk in commit cfaef8d:
 fixed bad transfer of ownership in HashSet causing a potential crash
 1 file changed, 7 insertions(+), 4 deletions(-)

Salvatore Sanfilippo in commit b1b1f4e:
 Merge pull request #3238 from oranagra/struct_fix
oranagra in commit 283a812:
 reduce struct padding by reordering members
 1 file changed, 1 insertion(+), 1 deletion(-)

antirez in commit 9aff564:
 Modules: initial pool allocator and a LEFTPAD usage example.
 3 files changed, 147 insertions(+), 4 deletions(-)

Michiel De Mey in commit af1e63c:
 Allow non-interactive execution of install_server
 1 file changed, 45 insertions(+), 28 deletions(-)

antirez in commit 646c958:
 Modules: doc layout improved.
 4 files changed, 1475 insertions(+), 575 deletions(-)

antirez in commit 745845d:
 Modules doc: mention the functions not yet documented.
 1 file changed, 25 insertions(+), 8 deletions(-)

oranagra in commit 77a9144:
 fix crash in BITFIELD GET when key is integer encoded
 1 file changed, 15 insertions(+), 3 deletions(-)

antirez in commit 5daece2:
 RM_ZsetRangeNext()/Prev() typo in define name leading to crash fixed.
 1 file changed, 2 insertions(+), 2 deletions(-)

antirez in commit 5f977c3:
 Modules: commandFlagsFromString() top comment back to 80 cols max.
 1 file changed, 29 insertions(+), 24 deletions(-)

antirez in commit ef2b4f6:
 Trailing spaces removed from moduleCreateArgvFromUserFormat().
 1 file changed, 4 insertions(+), 4 deletions(-)

antirez in commit 6250a6b:
 Modules: RM_GetClientId() implemented.
 2 files changed, 19 insertions(+)

Dvir Volk in commit 9a71df5:
 fixed crash when calling CreateStringFromCallReply on array elements
 1 file changed, 1 insertion(+)

Itamar Haber in commit 3816f16:
 Avoids reallocating and double String on truncate
 1 file changed, 17 insertions(+), 18 deletions(-)

Dvir Volk in commit d41bd23:
 fixed comment formatting in RM_CreateCommand
 1 file changed, 13 insertions(+), 13 deletions(-)

Ramon Snir in commit 909a707:
 vector of strings is implemented now
 1 file changed, 1 insertion(+), 1 deletion(-)

Dvir Volk in commit a00e872:
 another small comment fix
 1 file changed, 2 insertions(+), 1 deletion(-)

Dvir Volk in commit 87de31f:
 fixed comment
 1 file changed, 3 insertions(+), 1 deletion(-)

Dvir Volk in commit 8fc6708:
 second attempt at vector formtting
 1 file changed, 12 insertions(+), 1 deletion(-)

antirez in commit 7f5e134:
 Modules: add ZADD_INCR flag to zset increment API.
 1 file changed, 1 insertion(+)

Itamar Haber in commit 1186f92:
 typo: %s/Emtpy/Empty/g
 1 file changed, 5 insertions(+), 5 deletions(-)

antirez in commit 227d680:
 Modules: command <-> core interface modified to get flags & keys.
 7 files changed, 177 insertions(+), 40 deletions(-)

Ramon Snir in commit 676a6a4:
 tiny typo in Redis Modules API documentation
 1 file changed, 1 insertion(+), 1 deletion(-)

Dvir Volk in commit a1f8e22:
 fixed return value of HashGet (and a slight error in the documentation)
 1 file changed, 2 insertions(+), 2 deletions(-)

antirez in commit 02c4a6c:
 Modules: REDISMODULE_POSTPONED_ARRAY_LEN doc.
 1 file changed, 45 insertions(+)

antirez in commit 42f7221:
 Modules: Hash API defines made more uniform.
 3 files changed, 38 insertions(+), 42 deletions(-)

antirez in commit 9b0556c:
 Modules: Hash type API WIP #2.
 3 files changed, 60 insertions(+), 4 deletions(-)

antirez in commit 10993ca:
 Modules: Hash type API WIP #1.
 4 files changed, 212 insertions(+), 6 deletions(-)

antirez in commit 5bf5fd2:
 Modules: a few fixes for the zset iterator.
 2 files changed, 13 insertions(+), 6 deletions(-)

antirez in commit 33e1231:
 Modules: postponed array lengths.
 2 files changed, 86 insertions(+), 3 deletions(-)

antirez in commit 00109e1:
 Modules: zset lex iterator #3.
 3 files changed, 49 insertions(+), 3 deletions(-)

antirez in commit db3ade2:
 Modules: zset lex iterator #2.
 3 files changed, 30 insertions(+), 6 deletions(-)

antirez in commit 2b04f86:
 Modules: zset lex iterator #1.
 3 files changed, 77 insertions(+), 4 deletions(-)

antirez in commit 083f527:
 Modules: zset iterator redesign #1.
 4 files changed, 76 insertions(+), 106 deletions(-)

antirez in commit d998170:
 Simple Ruby script to generate reference doc added.
 1 file changed, 38 insertions(+)

antirez in commit 0fd6d54:
 Modules: fix top comments to be user-facing doc quality. About 33% done.
 1 file changed, 137 insertions(+), 51 deletions(-)

antirez in commit f362f7a:
 Modules: sorted set iterators WIP #3.
 4 files changed, 134 insertions(+), 24 deletions(-)

antirez in commit bdbb5a0:
 Modules: put zset iterator current element in auto memory pool.
 1 file changed, 6 insertions(+), 2 deletions(-)

antirez in commit 6eeeda3:
 Modules: sorted set iterators WIP #2.
 3 files changed, 34 insertions(+), 4 deletions(-)

antirez in commit eac5a13:
 Modules: sorted set iterators WIP.
 4 files changed, 221 insertions(+), 1 deletion(-)

antirez in commit 556d593:
 Remove useless space.
 1 file changed, 1 insertion(+), 1 deletion(-)

antirez in commit d5ecedd:
 Modules: ZSET API WIP #4.
 2 files changed, 33 insertions(+), 1 deletion(-)

antirez in commit e1b34ec:
 Modules: ZSET API WIP #3.
 2 files changed, 24 insertions(+)

antirez in commit 4457e4a:
 Modules: ZSET API WIP #2.
 2 files changed, 93 insertions(+), 1 deletion(-)

antirez in commit f199504:
 Modules: ZSET API WIP.
 2 files changed, 14 insertions(+), 5 deletions(-)

antirez in commit 11b3df2:
 Modules: expire API and documentation.
 4 files changed, 101 insertions(+)

antirez in commit f4e0129:
 Modules: RedisModule_ReplyWithCallReply().
 4 files changed, 31 insertions(+), 1 deletion(-)

Itamar Haber in commit 6054089:
 Stops SPLICE from accepting negative counts
 1 file changed, 6 insertions(+), 2 deletions(-)

Sun He in commit 2e464bf:
 modules/RM_StringTruncate: correct reallocate condition
 1 file changed, 1 insertion(+), 1 deletion(-)

Sun He in commit 3a7b170:
 modules/RM_OpenKey: avoid decrRefCount obj twice
 1 file changed, 1 deletion(-)

Sun He in commit 1868dee:
 modules/RM_StringSet: set key->value
 1 file changed, 1 insertion(+)

Sun He in commit fded8aa:
 modules: correct protolen
 1 file changed, 4 insertions(+), 4 deletions(-)

antirez in commit 4efe9e1:
 Add the last break for consistency in moduleCreateCallReplyFromProto.
 1 file changed, 1 insertion(+), 1 deletion(-)

Dvir Volk in commit e453d36e:
 fixed case in moduleCreateCallReplyFromProto
 1 file changed, 4 insertions(+), 4 deletions(-)

Dvir Volk in commit ae5cb3f:
 renamed RedisModule_ReplyWithNull to RM_ReplyWithNull to fix compilation
 1 file changed, 1 insertion(+), 1 deletion(-)

antirez in commit 2967c00:
 Modules: RedisModule_ReplyWithNull() implemented.
 2 files changed, 9 insertions(+)

Dvir Volk in commit e711a9a:
 fixed the doc with a right function name
 1 file changed, 3 insertions(+), 2 deletions(-)

Yossi Gottlieb in commit e443ad9:
 Log loadmodule dlopen() errors.
 1 file changed, 4 insertions(+), 1 deletion(-)

antirez in commit 85919f8:
 Modules: avoid conflict between modules func pointers and dynamic symbols.
 2 files changed, 95 insertions(+), 88 deletions(-)

antirez in commit 6020469:
 Modules: remove warnings due to void/function pointer conversion.
 1 file changed, 7 insertions(+), 6 deletions(-)

Dvir Volk in commit 34f2fb7:
 fixed makefile for linux
 1 file changed, 12 insertions(+), 2 deletions(-)

antirez in commit 6dead2c:
 Modules: first preview 31 March 2016.
 13 files changed, 2625 insertions(+), 4 deletions(-)

oranagra in commit 9682b61:
 minor fixes - mainly signalModifiedKey, and GEORADIUS
 6 files changed, 19 insertions(+), 16 deletions(-)

antirez in commit 3b644e8:
 Merge branch 'unstable' of github.com:/antirez/redis into unstable
Salvatore Sanfilippo in commit b44ad30:
 Merge pull request #732 from evilpacket/remove_dofile
antirez in commit 8eb43bf:
 redis-cli: integrate help.h with COMMAND output.
 1 file changed, 70 insertions(+), 10 deletions(-)

antirez in commit f9ee039:
 Scripting test: match new error message.
 1 file changed, 1 insertion(+), 1 deletion(-)

antirez in commit 2205c46:
 Cluster: don't check scripts key slots during AOF loading.
 1 file changed, 4 insertions(+), 2 deletions(-)

antirez in commit 94dc71f:
 redis-cli: remove debugging message.
 1 file changed, 1 deletion(-)

antirez in commit bdbeb07:
 Merge branch 'unstable' of github.com:/antirez/redis into unstable
antirez in commit 68dd1c9:
 Revert "Fix commandCommand arity"
 1 file changed, 1 insertion(+), 1 deletion(-)

Salvatore Sanfilippo in commit f0fcc36:
 Merge pull request #2956 from pkulchenko/global-protection-msg-typo
Ruben Bridgewater in commit efa0840:
 Fix commandCommand arity
 1 file changed, 1 insertion(+), 1 deletion(-)

Salvatore Sanfilippo in commit f5ff91f:
 Merge pull request #2998 from danielhtshih/unstable
Salvatore Sanfilippo in commit 0c1f84f:
 Merge pull request #3006 from baishaofei/unstable
Salvatore Sanfilippo in commit 7b90815:
 Merge pull request #3008 from badboy/fix-2911
antirez in commit 02db338:
 redis-cli: don't free historyfile, is used later.
 1 file changed, 1 insertion(+), 1 deletion(-)

antirez in commit 4c53bab:
 Cluster test 12: reshard back just a few slots to speedup the test.
 1 file changed, 7 insertions(+), 7 deletions(-)

antirez in commit 971e3c5:
 Cluster: make getNodeByQuery() responsible of -CLUSTERDOWN errors.
 2 files changed, 21 insertions(+), 18 deletions(-)

Salvatore Sanfilippo in commit 330715a:
 Merge pull request #3039 from itamarhaber/patch-3
Salvatore Sanfilippo in commit a4df156:
 Merge pull request #3077 from Palethorn/ipv6-redirect-parse
antirez in commit c77b95f:
 Bind both IPv4 and IPv6 or exit with an error by default.
 1 file changed, 10 insertions(+), 8 deletions(-)

antirez in commit 0bb787d:
 Quick fix to avoid false positive in replica migration test.
 1 file changed, 4 insertions(+), 1 deletion(-)

Chris Thunes in commit d827dbf:
 Ensure slots are rechecked on EXEC.
 1 file changed, 7 insertions(+), 2 deletions(-)

Salvatore Sanfilippo in commit 91b4966:
 Merge pull request #3188 from therealbill/unstable
Salvatore Sanfilippo in commit de3a673:
 Merge pull request #3193 from sethbergman/patch-1
Salvatore Sanfilippo in commit 09153b9:
 Merge pull request #3152 from be-hase/fix/check_open_slots
antirez in commit b76d27c:
 Added a tool for generating changelogs automatically.
 1 file changed, 26 insertions(+)

antirez in commit b632f78:
 Minor redis-cli wording change in --help output.
 1 file changed, 2 insertions(+), 1 deletion(-)

antirez in commit 995b9ff:
 Allow CONFIG GET during loading.
 2 files changed, 7 insertions(+), 1 deletion(-)

antirez in commit 5500c51:
 Command "r" flag removed from commands not accessing the key space.
 1 file changed, 35 insertions(+), 35 deletions(-)

antirez in commit 840ac20:
 DEBUG command self documentation.
 2 files changed, 49 insertions(+), 2 deletions(-)

Salvatore Sanfilippo in commit b5352ee:
 Merge pull request #3191 from oranagra/minor_fix
antirez in commit 2c22f59:
 Reply with error on negative geo radius.
 1 file changed, 4 insertions(+), 1 deletion(-)

antirez in commit 9c48f28:
 Cluster regression test for #3043.
 1 file changed, 61 insertions(+)

antirez in commit 4fdde78:
 New masters with slots are now targets of migration if others are.
 1 file changed, 35 insertions(+), 1 deletion(-)

Seth Bergman in commit da26f2b:
 Fixed typo in README.md
 1 file changed, 1 insertion(+), 1 deletion(-)

Oran Agra in commit 5e3880a:
 various cleanups and minor fixes
 12 files changed, 39 insertions(+), 45 deletions(-)

Oran Agra in commit 6ed8c28:
 dict.c minor optimization
 1 file changed, 4 insertions(+), 4 deletions(-)

Oran Agra in commit 7b52ef1:
 networking.c minor optimization
 1 file changed, 5 insertions(+), 6 deletions(-)

Oran Agra in commit f8909a2:
 add DEBUG JEMALLC PURGE and JEMALLOC INFO cleanup
 2 files changed, 17 insertions(+), 2 deletions(-)

Oran Agra in commit 7ba9022:
 fix small issues in redis 3.2
 2 files changed, 3 insertions(+), 1 deletion(-)

Oran Agra in commit b554895:
 additional fix to issue #2948
 1 file changed, 3 insertions(+)

therealbill in commit 14086a4:
 fix for #3187
 3 files changed, 4 insertions(+), 4 deletions(-)

bogdanvlviv in commit 5565cc6:
 fix pidfile in redis.conf
 1 file changed, 1 insertion(+), 1 deletion(-)

Salvatore Sanfilippo in commit 4cbe044:
 Merge pull request #3174 from djanowski/fix-zincrby-return-value
Damian Janowski in commit 0b4bb50:
 Fix ZINCRBY return value.
 2 files changed, 8 insertions(+)

antirez in commit dda0f37:
 ZREM refactored into proper API.
 2 files changed, 48 insertions(+), 49 deletions(-)

antirez in commit 6f926c3:
 ZRANK refactored into proper API.
 2 files changed, 72 insertions(+), 50 deletions(-)

antirez in commit b73c7af:
 zsetAdd() API exposed into server.h.
 2 files changed, 16 insertions(+), 15 deletions(-)

antirez in commit b1f181a:
 ZADD refactored into a proper API.
 1 file changed, 182 insertions(+), 86 deletions(-)

antirez in commit e0eb5f6:
 redis-cli preferences and rc file support.
 1 file changed, 85 insertions(+), 17 deletions(-)

antirez in commit 70b3314:
 redis-cli help.h updated.
 1 file changed, 18 insertions(+), 8 deletions(-)

antirez in commit d1ddf7e:
 redis-cli hints.
 3 files changed, 62 insertions(+), 1 deletion(-)

antirez in commit d6e2cc7:
 Linenoise updated again (hints support).
 4 files changed, 248 insertions(+), 8 deletions(-)

antirez in commit 8a98b8d:
 Linenoise updated.
 1 file changed, 45 insertions(+), 15 deletions(-)

antirez in commit b9feef9:
 ae.c: Fix delay until next timer event.
 1 file changed, 12 insertions(+), 9 deletions(-)

antirez in commit ace780c:
 ae.c: comment to explain why we have a useless maxId check.
 1 file changed, 5 insertions(+), 1 deletion(-)

antirez in commit 67b70a1:
 Fix ae.c to avoid timers infinite loop.
 4 files changed, 28 insertions(+), 30 deletions(-)

Ryosuke Hasebe in commit cad9ea5:
 fix variable
 1 file changed, 5 insertions(+), 5 deletions(-)

Ryosuke Hasebe in commit d5aa7e2:
 fix check_open_slots
 1 file changed, 2 insertions(+), 1 deletion(-)

antirez in commit 28c291c:
 BITFIELD: overflow wrap behavior fuzz tester.
 1 file changed, 51 insertions(+)

antirez in commit ae7317e:
 BITFIELD basic unit tests.
 1 file changed, 85 insertions(+), 1 deletion(-)

antirez in commit fc84378:
 BITFIELD: Farest bit set is offset+bits-1. Off by one error fixed.
 1 file changed, 4 insertions(+), 2 deletions(-)

antirez in commit 9a00da0:
 BITFIELD: overflow fuzzy testing.
 2 files changed, 53 insertions(+)

antirez in commit 27fc01a:
 Fix typo in bitops.tcl comment.
 1 file changed, 1 insertion(+), 1 deletion(-)

antirez in commit fe64960:
 More BITFIELD fixes. Overflow conditional simplified.
 1 file changed, 8 insertions(+), 9 deletions(-)

Salvatore Sanfilippo in commit 235f553:
 Merge pull request #3118 from sunheehnus/bitfield-fix-minor-bug
Sun He in commit 93cc8ba:
 bitops/bitfield: fix length, overflow condition and *sign
 1 file changed, 8 insertions(+), 5 deletions(-)

antirez in commit e85d6f2:
 Fix INFO commandstats reporting when argv is rewritten.
 2 files changed, 3 insertions(+), 3 deletions(-)

antirez in commit 32289d5:
 BITFIELD: refactoring & fix of retval on FAIL.
 1 file changed, 24 insertions(+), 8 deletions(-)

antirez in commit 11745e0:
 BITFIELD: Fix #<index> form parsing.
 1 file changed, 4 insertions(+), 6 deletions(-)

antirez in commit 2800d09:
 BITFIELD: Support #<index> offsets form.
 1 file changed, 23 insertions(+), 6 deletions(-)

antirez in commit 70af626:
 BITFIELD command initial implementation.
 3 files changed, 476 insertions(+), 32 deletions(-)

Salvatore Sanfilippo in commit 438ae49:
 Merge pull request #3101 from itamarhaber/geohumanized
Itamar Haber in commit b5149f0:
 Eliminates engineers near the equator & prime meridian
 1 file changed, 4 insertions(+), 4 deletions(-)

Itamar Haber in commit 41030ae:
 Fixes a typo in a comment
 1 file changed, 1 insertion(+), 1 deletion(-)

Itamar Haber in commit 4e9c302:
 Adjusts accuracy for GEODIST
 1 file changed, 1 insertion(+), 1 deletion(-)

antirez in commit cf42c48:
 addReplyHumanLongDouble() API added.
 2 files changed, 10 insertions(+)

antirez in commit f4befcc:
 GEOADD STORE/STOREDIST tests.
 1 file changed, 54 insertions(+)

antirez in commit bb75ecd:
 New options for GEORADIUS: STORE and STOREDIST.
 4 files changed, 116 insertions(+), 49 deletions(-)

antirez in commit 15f37eb:
 Cluster: resharding test provides more state when failing.
 1 file changed, 8 insertions(+), 3 deletions(-)

antirez in commit b0ec22f:
 Include full paths on RDB/AOF files errors.
 2 files changed, 32 insertions(+), 4 deletions(-)

antirez in commit fcd7df5:
 Remove Lua state reference from buffers in lua_cmsgpack.
 1 file changed, 25 insertions(+), 28 deletions(-)

Salvatore Sanfilippo in commit 66dbc5e:
 Merge pull request #3072 from yoav-steinberg/cmsgpack_fix
David Cavar in commit c30ffaa:
 Reverse redirect address parse
 1 file changed, 1 insertion(+), 1 deletion(-)

yoav@monfort.co.il in commit fdbefc9:
 cmsgpack: pass correct osize values to lua allocator, update correct buf free space in cmsgpack
 1 file changed, 4 insertions(+), 4 deletions(-)

Salvatore Sanfilippo in commit aa953b6:
 Merge pull request #3059 from itamarhaber/keyspacenotif-lrem
Itamar Haber in commit 31a70a8:
 Fixes a typo
 1 file changed, 2 insertions(+), 2 deletions(-)

Itamar Haber in commit 68e779f:
 Adds keyspace notifications for lrem
 1 file changed, 6 insertions(+), 1 deletion(-)

antirez in commit 5b7b235:
 Fix to Cluster test to support @busport format.
 1 file changed, 4 insertions(+), 2 deletions(-)

antirez in commit cbcffed:
 Cluster: redis-trib: support @busport format in ClusterNode.
 1 file changed, 1 insertion(+), 1 deletion(-)

antirez in commit b841f3a:
 Cluster: store busport with different separator in CLUSTER NODES.
 1 file changed, 13 insertions(+), 9 deletions(-)

antirez in commit 92b9de2:
 Cluster announce: WIP, allow building again.
 1 file changed, 1 insertion(+), 1 deletion(-)

antirez in commit 5ac5e3e:
 Cluster announce ip/port/bus-port documented in redis.conf.
 1 file changed, 33 insertions(+)

antirez in commit e27b9b1:
 Merge branch 'cluster-docker' into unstable
antirez in commit cdbe8a6:
 Typo ASII -> ASCII fixed in comment.
 1 file changed, 1 insertion(+), 1 deletion(-)

antirez in commit c285862:
 Cluster: include node IDs in SLOTS output.
 1 file changed, 6 insertions(+), 2 deletions(-)

antirez in commit d0a8512:
 Cluster anounce-ip/port WIP.
 1 file changed, 1 insertion(+)

antirez in commit 4abf486:
 Cluster announce port: set port/bport for myself at startup.
 1 file changed, 7 insertions(+), 2 deletions(-)

antirez in commit 1c03837:
 Cluster: persist bus port in nodes.conf.
 1 file changed, 8 insertions(+), 2 deletions(-)

antirez in commit dc98907:
 Cluster announce ip: take myself->ip always in sync.
 1 file changed, 30 insertions(+), 6 deletions(-)

antirez in commit 11436b1:
 Cluster announce ip / port initial implementation.
 5 files changed, 127 insertions(+), 42 deletions(-)

antirez in commit b093930:
 Cluster announce ip / port configuration handling.
 3 files changed, 12 insertions(+)

antirez in commit a455e4b:
 Cluster: add announce ip field in messages header.
 1 file changed, 3 insertions(+), 2 deletions(-)

Itamar Haber in commit 9e46bf2:
 Fixes a typo
 1 file changed, 1 insertion(+), 1 deletion(-)

antirez in commit 8870a7e:
 03_test_release.sh: proper cleanup before testing.
 1 file changed, 2 insertions(+)

antirez in commit 5bbb09e:
 Cluster: check packets length before accessing far fields.
 1 file changed, 10 insertions(+), 5 deletions(-)

antirez in commit 751b566:
 Sentinel: improve handling of known Sentinel instances.
 1 file changed, 34 insertions(+), 19 deletions(-)

antirez in commit 5bc7e01:
 Use a smoother running average for avg_ttl in INFO.
 1 file changed, 9 insertions(+), 5 deletions(-)

antirez in commit fe44a7c:
 Cluster: mismatch sender ID log put back at DEBUG level.
 1 file changed, 1 insertion(+), 1 deletion(-)

antirez in commit d6c5922:
 Cluster: fix missing ntohs() call to access gossip section port.
 1 file changed, 1 insertion(+), 1 deletion(-)

antirez in commit 592419b:
 Better address udpate strategy when processing gossip sections.
 1 file changed, 15 insertions(+), 6 deletions(-)

antirez in commit 22892ce:
 Merge branch 'unstable' of github.com:/antirez/redis into unstable
antirez in commit bc15586:
 Fix memory leak in masterauth config option loading.
 1 file changed, 1 insertion(+)

Salvatore Sanfilippo in commit 7837c48:
 Merge pull request #3023 from itamarhaber/patch-2
Itamar Haber in commit 57f8230:
 Removes an extra space in protected mode message
 1 file changed, 1 insertion(+), 1 deletion(-)

antirez in commit 83b862a:
 Minor MIGRATE refactoring.
 1 file changed, 12 insertions(+), 5 deletions(-)

antirez in commit f5a1e60:
 More variadic MIGRATE fixes.
 1 file changed, 9 insertions(+), 8 deletions(-)

antirez in commit 00d3a40:
 Various fixes to MIGRATE with multiple keys.
 1 file changed, 45 insertions(+), 12 deletions(-)

antirez in commit cfc879b:
 Merge branch 'unstable' of github.com:/antirez/redis into unstable
antirez in commit b01b32b:
 Test: Handle LOADING in restart_instance.
 1 file changed, 12 insertions(+)

Salvatore Sanfilippo in commit 8637384:
 Merge pull request #2726 from seppo0010/patch-2
antirez in commit 5432fc8:
 Detect and show crashes on Sentinel/Cluster tests.
 1 file changed, 18 insertions(+)

antirez in commit fc3ca8f:
 Cluster: fix setting nodes slaveof pointer to NULL on node release.
 1 file changed, 3 insertions(+), 14 deletions(-)

antirez in commit a411d55:
 Cluster: clarify node->slave may be NULL.
 1 file changed, 4 insertions(+), 1 deletion(-)

Jan-Erik Rediger in commit 15dacfe:
 Fix nanosecond conversion
 1 file changed, 1 insertion(+), 1 deletion(-)

antirez in commit f984cef:
 Cluster: fix rebalancing to always empty nodes.
 1 file changed, 24 insertions(+), 3 deletions(-)

root in commit 28e80bf:
 fix linux compile bug
 2 files changed, 9 insertions(+), 9 deletions(-)

antirez in commit 152e9f6:
 Cluster: redis-trib move_to_slot: don't send SETSLOT to slaves.
 1 file changed, 1 insertion(+)

Daniel Shih in commit e6d9705:
 Fix a possible race condition of sdown detection if the connection to master/slave/sentinel decames disconnected just after the last PONG and before the next PING.
 1 file changed, 2 insertions(+)

antirez in commit c6e5088:
 Cluster: fix redis-trib reference of variable in warning.
 1 file changed, 1 insertion(+), 1 deletion(-)

antirez in commit 02c40c9:
 CLUSTER BUMPEPOCH initial implementation fixed.
 2 files changed, 25 insertions(+), 14 deletions(-)

antirez in commit e4eb6c7:
 Cluster: implement redis-trib fix when slot is open without owners.
 1 file changed, 39 insertions(+), 9 deletions(-)

antirez in commit 04ae459:
 Cluster: implement redis-trib fix for uncovered slots.
 1 file changed, 32 insertions(+), 9 deletions(-)

antirez in commit b58796f:
 Cluster: CLUSTER BUMPEPOCH introduced to help redis-trib fix.
 1 file changed, 7 insertions(+)

antirez in commit 524be1e:
 Cluster: don't allow CLUSTER SETSLOT with slaves.
 1 file changed, 5 insertions(+)

antirez in commit f43c794:
 Scripting: handle trailing comments.
 2 files changed, 5 insertions(+), 1 deletion(-)

antirez in commit e15e518:
 Allow MIGRATE to always be called on local keys for open slots.
 1 file changed, 7 insertions(+), 6 deletions(-)

antirez in commit 36704d6:
 Fix typos & grammar in clusterBumpConfigEpochWithoutConsensus() comment.
 1 file changed, 4 insertions(+), 4 deletions(-)

antirez in commit 7c1a5ff:
 Lua debugger: support direct calls to SCRIPT DEBUG in redis-cli.
 1 file changed, 21 insertions(+)

antirez in commit a75aa4b:
 Lua debugger: fix crash printing nested or deep objects.
 1 file changed, 14 insertions(+), 4 deletions(-)

antirez in commit 1e7a8f8:
 Another typo in protected mode error message.
 1 file changed, 1 insertion(+), 1 deletion(-)

antirez in commit 08c7bba:
 Fix protected mode error message typo.
 1 file changed, 1 insertion(+), 1 deletion(-)

antirez in commit edd4d55:
 New security feature: Redis protected mode.
 5 files changed, 75 insertions(+), 3 deletions(-)

antirez in commit 00d637f:
 Cluster: don't send -ASK to MIGRATE.
 1 file changed, 5 insertions(+), 3 deletions(-)

antirez in commit 8b3aa73:
 Cluster test: do leaks detection with OSX leaks utility.
 1 file changed, 32 insertions(+)

antirez in commit 190babe:
 redis-trib: Remove duplicated key in hash initialization.
 1 file changed, 1 insertion(+), 1 deletion(-)

antirez in commit b1f84d4:
 Cluster/Sentinel test: report ability to run via valgrind.
 1 file changed, 1 insertion(+)

Salvatore Sanfilippo in commit 075ea16:
 Merge pull request #2954 from pkulchenko/debug-table-pretty-printing
Salvatore Sanfilippo in commit f054b4a:
 Merge pull request #2957 from pkulchenko/debug-userdata-pretty-printing
antirez in commit 80b7037:
 Cluster: rebalance now supports --threshold option.
 1 file changed, 24 insertions(+), 2 deletions(-)

antirez in commit 628af70:
 Cluster: redis-trib reshard / rebalance --pipeline support.
 1 file changed, 21 insertions(+), 5 deletions(-)

antirez in commit 77f849b:
 Cluster: verify slaves consistency after resharding.
 1 file changed, 23 insertions(+)

antirez in commit 9b4dd92:
 Cluster: resharding test now checks AOF consistency.
 1 file changed, 42 insertions(+)

antirez in commit bb21537:
 Fix a race that may lead to the active (slave) client to be freed.
 1 file changed, 6 insertions(+)

antirez in commit 218e522:
 Fix processCommand() comment about return value.
 1 file changed, 2 insertions(+), 2 deletions(-)

antirez in commit a1c9c05:
 Hopefully better memory test on crash.
 3 files changed, 133 insertions(+), 86 deletions(-)

antirez in commit b9aeb98:
 Suppress harmless warnings.
 3 files changed, 8 insertions(+), 4 deletions(-)

antirez in commit ac8f4a6:
 memtest.c now can be called as API in non interactive mode.
 2 files changed, 73 insertions(+), 43 deletions(-)

antirez in commit 30f057d:
 Crash report format improvements.
 1 file changed, 35 insertions(+), 24 deletions(-)

Paul Kulchenko in commit b754c8e:
 Update pretty printing in debugging to generate valid Lua code for userdata-like types.
 1 file changed, 2 insertions(+), 2 deletions(-)

Paul Kulchenko in commit 3969e9d:
 Update pretty printing in debugging to generate valid Lua code for tables.
 1 file changed, 2 insertions(+), 1 deletion(-)

Paul Kulchenko in commit 2f3f3fd:
 Update global protection error message to fix a typo.
 1 file changed, 1 insertion(+), 1 deletion(-)

antirez in commit 6db8e85:
 Log address causing SIGSEGV.
 1 file changed, 4 insertions(+)

antirez in commit 8f8c399:
 Cluster: allows abbreviated node IDs with rebalance --weight option.
 1 file changed, 19 insertions(+), 3 deletions(-)

antirez in commit 9df1ae8:
 Cluster: rebalancing option --simulate, and a fix.
 1 file changed, 12 insertions(+), 8 deletions(-)

antirez in commit cba1c29:
 Cluster: redis-trib rebalance initial implementation.
 1 file changed, 154 insertions(+), 17 deletions(-)

antirez in commit 3782902:
 Initial implementation of redis-trib info subcommand.
 1 file changed, 22 insertions(+)

Salvatore Sanfilippo in commit 9f63e75:
 Merge pull request #2943 from sunheehnus/issue2855
Sun He in commit 3a47c8c:
 lua_struct.c/getnum: throw error if overflow happen
 1 file changed, 6 insertions(+), 4 deletions(-)

antirez in commit f0b168e:
 Cluster: redis-trib: use variadic MIGRATE.
 1 file changed, 13 insertions(+), 15 deletions(-)

antirez in commit 4e252e4:
 MIGRATE: Fix key extraction for new form.
 3 files changed, 29 insertions(+), 1 deletion(-)

antirez in commit 82fd74a:
 MIGRATE: test more corner cases.
 1 file changed, 37 insertions(+)

antirez in commit ac0a731:
 MIGRATE: Fix new argument rewriting refcount handling.
 1 file changed, 2 insertions(+), 3 deletions(-)

antirez in commit d85fc1e:
 MIGRATE: fix replies processing and argument rewriting.
 2 files changed, 40 insertions(+), 15 deletions(-)

antirez in commit 29d680e:
 Test: pipelined MIGRATE tests added.
 1 file changed, 54 insertions(+)

antirez in commit 9ebf7a6:
 Pipelined multiple keys MIGRATE.
 2 files changed, 115 insertions(+), 63 deletions(-)

antirez in commit e7945cf:
 Cluster: redis-trib migrate default timeout set to 60 sec.
 1 file changed, 1 insertion(+), 1 deletion(-)

daniele in commit 3d254e0:
 redis-trib.rb: --timeout XXXXX option added to fix and reshard commands. Defaults to 15000 milliseconds
 1 file changed, 10 insertions(+), 4 deletions(-)

antirez in commit adc2fe6:
 Cluster: replica migration with delay.
 2 files changed, 39 insertions(+), 17 deletions(-)

antirez in commit 41db54a:
 Cluster: more reliable migration tests.
 1 file changed, 24 insertions(+), 43 deletions(-)

antirez in commit b55affb:
 Cluster: more reliable replicas migration test.
 1 file changed, 75 insertions(+)

antirez in commit 4159055:
 Remove debugging message left there for error.
 1 file changed, 1 deletion(-)

antirez in commit 69897f5:
 unlinkClient(): clear flags according to ops performed.
 1 file changed, 2 insertions(+)

antirez in commit e0f22df:
 Fix replicas migration by adding a new flag.
 2 files changed, 31 insertions(+), 20 deletions(-)

antirez in commit f147225:
 Fix typo UNCOMMENT -> COMMENT in example redis.conf.
 1 file changed, 1 insertion(+), 1 deletion(-)

antirez in commit acc2336:
 Centralize slave replication handshake aborting.
 1 file changed, 23 insertions(+), 22 deletions(-)

antirez in commit fceaa46:
 Test HINCRBYFLOAT rounding only in x86_64 and when valgrind is not in use.
 1 file changed, 16 insertions(+), 5 deletions(-)

antirez in commit 96628cc:
 fix sprintf and snprintf format string
 2 files changed, 3 insertions(+), 3 deletions(-)

antirez in commit e6a5117:
 Fix typo in prepareClientToWrite() comment.
 1 file changed, 1 insertion(+), 1 deletion(-)

antirez in commit c2c68c5:
 Merge branch 'unstable' of github.com:/antirez/redis into unstable
antirez in commit da82723:
 Handle wait3() errors.
 1 file changed, 7 insertions(+), 1 deletion(-)

Salvatore Sanfilippo in commit 8164418:
 Merge pull request #2899 from itamarhaber/patch-1
Itamar Haber in commit 36801f7:
 Revert Lua's `redis.LOG_<level>` to original
 1 file changed, 4 insertions(+), 4 deletions(-)

antirez in commit a0d41e5:
 Redis Cluster: hint about validity factor when slave can't failover.
 1 file changed, 3 insertions(+), 1 deletion(-)

antirez in commit 4d625bb:
 Added Tcl program to show commits graphicaly.
 2 files changed, 112 insertions(+)

antirez in commit 4b0b28b:
 Lua debugger: infinite loop detection.
 1 file changed, 35 insertions(+), 7 deletions(-)

antirez in commit 1f35f2d:
 Lua debugger: fix trace command infinite loop.
 1 file changed, 6 insertions(+), 5 deletions(-)

antirez in commit 6604e04:
 Lua debugger: redis-cli: allow restart after end of session.
 1 file changed, 3 insertions(+), 1 deletion(-)

antirez in commit 58573f1:
 Lua debugger: redis-cli can restart Lua debugging sessions.
 1 file changed, 74 insertions(+), 44 deletions(-)

antirez in commit 0cc1917:
 Lua debugger: maxlen command implemented.
 2 files changed, 55 insertions(+), 14 deletions(-)

antirez in commit c560c64:
 Lua debugger: trace command implemented.
 1 file changed, 24 insertions(+)

antirez in commit 22959e0:
 Lua debugger: redis-cli: show compile errors in LDB mode.
 1 file changed, 12 insertions(+), 3 deletions(-)

antirez in commit 70a5169:
 Lua debugger: print without args show all local vars.
 1 file changed, 34 insertions(+), 5 deletions(-)

antirez in commit fb53459:
 Lua debugger: default behavior of "list" command changed.
 1 file changed, 14 insertions(+), 4 deletions(-)

antirez in commit 6de2306:
 Lua debugger: redis-cli error when --ldb is without --eval.
 1 file changed, 7 insertions(+)

antirez in commit e57cccd:
 Lua debugger: use sds_malloc() to allocate eval cli array.
 5 files changed, 35 insertions(+), 1 deletion(-)

antirez in commit 34aadf7:
 Lua debugging: fix error message for SCRIPT DEBUG.
 1 file changed, 1 insertion(+), 1 deletion(-)

antirez in commit 3d24cd6:
 Lua debugger: reply +OK to SCRIPT DEBUG no.
 1 file changed, 1 insertion(+)

antirez in commit 333547d:
 Lua debugger: call wait3() if there are pending forked debugging sessions.
 3 files changed, 10 insertions(+), 1 deletion(-)

antirez in commit 0163643:
 Lua debugger: abort implemented.
 1 file changed, 5 insertions(+)

antirez in commit d99ce09:
 Lua debugger: ldbSendLogs() memory leak fixed.
 1 file changed, 1 insertion(+)

antirez in commit 87672ad:
 Lua debugger: better support for synchronous mode.
 2 files changed, 22 insertions(+), 3 deletions(-)

antirez in commit 7be9170:
 Lua debugger: handle forked sessions children during shutdown.
 3 files changed, 51 insertions(+), 5 deletions(-)

antirez in commit 3ab0b4d:
 Lua debugger: inform user changes are rolled back.
 1 file changed, 1 insertion(+), 1 deletion(-)

antirez in commit 56d9bb8:
 Lua debugger: fix help typo, beark -> break.
 1 file changed, 4 insertions(+), 4 deletions(-)

antirez in commit e386cd8:
 Lua debugger: clear end of session protocol.
 2 files changed, 23 insertions(+), 9 deletions(-)

antirez in commit 7492237:
 Lua debugger: redis.debug() implemented.
 2 files changed, 44 insertions(+), 15 deletions(-)

antirez in commit 23a4d70:
 Lua debugger: redis-cli, mark end of debugging session.
 1 file changed, 1 insertion(+)

antirez in commit cd112db:
 Lua debugger: removing breakpoints now works.
 1 file changed, 1 insertion(+), 1 deletion(-)

antirez in commit a076e42:
 Lua debugger: redis command implemented.
 1 file changed, 26 insertions(+), 1 deletion(-)

antirez in commit e6eb6ea:
 Lua debugger: try to eval as expression first.
 1 file changed, 13 insertions(+), 4 deletions(-)

antirez in commit 1f8fdaf:
 Lua debugger: much better Lua values pretty printer.
 2 files changed, 70 insertions(+), 17 deletions(-)

antirez in commit f480580:
 Lua debugger: print now handles ARGV and KEYS.
 1 file changed, 10 insertions(+), 2 deletions(-)

antirez in commit 36392dd:
 Lua debugger: added comment about helper functions.
 1 file changed, 3 insertions(+)

antirez in commit 3a04cb0:
 Lua debugger: redis.breakpoint() implemented.
 1 file changed, 27 insertions(+), 2 deletions(-)

antirez in commit cf4700b:
 Lua debugger: output improvements, eval command.
 2 files changed, 186 insertions(+), 54 deletions(-)

antirez in commit 1f8d614:
 Lua debugger: breakpoints.
 2 files changed, 148 insertions(+), 12 deletions(-)

antirez in commit 5c4f492:
 Lua debugger: ability to show local vars content.
 1 file changed, 85 insertions(+), 7 deletions(-)

antirez in commit 5417217:
 Lua debugger: log Redis commands. List command.
 2 files changed, 82 insertions(+), 7 deletions(-)

antirez in commit d3d1fa9:
 Lua debugger: initial REPL.
 2 files changed, 164 insertions(+), 20 deletions(-)

antirez in commit c494db8:
 Lua debugger: foundations implemented.
 5 files changed, 206 insertions(+), 21 deletions(-)

antirez in commit 7cfdccd:
 Remove "s" flag for MIGRATE in command table.
 1 file changed, 1 insertion(+), 1 deletion(-)

antirez in commit f3dd472:
 Update redis-cli help and the script to generate it.
 2 files changed, 183 insertions(+), 9 deletions(-)

antirez in commit 0cb66fa:
 Fix MIGRATE entry in command table.
 1 file changed, 1 insertion(+), 1 deletion(-)

antirez in commit 8a0258a:
 AOF: rewriting child killed by SIGUSR1 is not an error.
 1 file changed, 4 insertions(+), 2 deletions(-)

antirez in commit 54f5ecf:
 call() deserves a good top-comment.
 1 file changed, 38 insertions(+), 2 deletions(-)

Salvatore Sanfilippo in commit c950fac:
 Merge pull request #2848 from badboy/removed-printf
antirez in commit 87a12a6:
 Best effort flush of slave buffers before SHUTDOWN.
 2 files changed, 14 insertions(+), 1 deletion(-)

antirez in commit b719eed:
 Use clientHasPendingReplies() in flushSlavesOutputBuffers()
 1 file changed, 1 insertion(+), 1 deletion(-)

antirez in commit 1b5d24e:
 Scripting: fix redis.call() error reporting.
 1 file changed, 18 insertions(+), 5 deletions(-)

antirez in commit 111d24f:
 Fix error reply in subscribed Pub/Sub mode.
 1 file changed, 1 insertion(+), 1 deletion(-)

antirez in commit cd8f19e:
 Initialize all Lua scripting related things into scripting.c
 3 files changed, 33 insertions(+), 12 deletions(-)

antirez in commit 9aa1f94:
 scripting.c source code better organized into sections.
 2 files changed, 182 insertions(+), 155 deletions(-)

antirez in commit 71aa9b7:
 Fix HINCRBYFLOAT to work with long doubles.
 3 files changed, 8 insertions(+), 8 deletions(-)

antirez in commit f625570:
 Add regression test for HINCRBYFLOAT formatting change.
 1 file changed, 7 insertions(+)

Salvatore Sanfilippo in commit de776a4:
 Merge pull request #2850 from Joe8Bit/fix_typo-in-readme
antirez in commit dfe90ac:
 README new internals section improved a bit more.
 1 file changed, 9 insertions(+), 8 deletions(-)

Joe Pettersson in commit 8bc8f6f:
 Fix typo in READme sever/server
 1 file changed, 1 insertion(+), 1 deletion(-)

antirez in commit 462026c:
 README: remove garbage at end of line.
 1 file changed, 1 insertion(+), 1 deletion(-)

antirez in commit 73510f4:
 README operations -> commands, is more clear now #2.
 1 file changed, 2 insertions(+), 2 deletions(-)

antirez in commit b9fb240:
 README operations -> commands, is more clear now.
 1 file changed, 1 insertion(+), 1 deletion(-)

antirez in commit 8badf16:
 A few README typos fixed #2.
 1 file changed, 2 insertions(+), 2 deletions(-)

antirez in commit d80d051:
 A few README typos fixed.
 1 file changed, 6 insertions(+), 6 deletions(-)

antirez in commit 15d57c3:
 README now has info about Redis codebase layout.
 1 file changed, 257 insertions(+), 2 deletions(-)

Jan-Erik Rediger in commit 35afefc:
 Remove printf
 1 file changed, 1 deletion(-)

antirez in commit 30b3246:
 Test: improve PFCOUNT with multiple keys testing.
 1 file changed, 17 insertions(+), 2 deletions(-)

antirez in commit 77362b9:
 Dependencies updated.
 1 file changed, 150 insertions(+), 106 deletions(-)

antirez in commit 5b63ae3:
 Scripting: commands replication tests.
 1 file changed, 107 insertions(+), 1 deletion(-)

antirez in commit f26072e:
 More reliable DEBUG loadaof.
 1 file changed, 1 insertion(+)

antirez in commit 073a42b:
 Scripting: execute tests with command replication as well.
 1 file changed, 88 insertions(+), 79 deletions(-)

antirez in commit ff6d296:
 Scripting: ability to turn on Lua commands style replication globally.
 4 files changed, 8 insertions(+), 1 deletion(-)

antirez in commit eda06b5:
 Scripting: test Redis provided Lua functions error reporting.
 1 file changed, 9 insertions(+)

antirez in commit ebaa922:
 Scripting: fix error reporting of many Redis provided functions.
 1 file changed, 14 insertions(+), 14 deletions(-)

antirez in commit 2dabf82:
 Fix call() FORCE_REPL/AOF flags setting.
 2 files changed, 16 insertions(+), 15 deletions(-)

antirez in commit 514a234:
 Lua script selective replication fixes.
 3 files changed, 32 insertions(+), 20 deletions(-)

antirez in commit a3e8de0:
 Lua script selective replication WIP.
 2 files changed, 58 insertions(+), 3 deletions(-)

antirez in commit fc38235:
 Scripting: single commands replication mode implemented.
 3 files changed, 72 insertions(+), 8 deletions(-)

antirez in commit cdda674:
 call(): selective ability to prevent propagation on AOF / slaves.
 2 files changed, 35 insertions(+), 7 deletions(-)

antirez in commit 9dd3d2e:
 call(): don't inherit CLIENT_PREVENT_PROP + minor refactoring.
 1 file changed, 6 insertions(+), 3 deletions(-)

antirez in commit d37ef78:
 CONTRIBUTING updated.
 1 file changed, 7 insertions(+), 5 deletions(-)

antirez in commit 86f0a2e:
 CLIENT REPLY command implemented: ON, OFF and SKIP modes.
 2 files changed, 31 insertions(+), 1 deletion(-)

Salvatore Sanfilippo in commit bdcb145:
 Merge pull request #2810 from dwlt/add-copy-replace-parameters-to-redis-trib-import
antirez in commit 6ed12bd:
 Redis.conf example: make clear user must pass its path as argument.
 1 file changed, 6 insertions(+), 1 deletion(-)

antirez in commit 5f0fef5:
 Regression test for issue #2813.
 1 file changed, 53 insertions(+)

antirez in commit ed62288:
 PR 2813 fix ported to unstable.
 2 files changed, 25 insertions(+), 20 deletions(-)

David Thomson in commit 8a85ad2:
 Add back blank line
 1 file changed, 1 insertion(+)

David Thomson in commit 03d0de7:
 Update import command to optionally use copy and replace parameters
 1 file changed, 7 insertions(+), 3 deletions(-)

antirez in commit 35a0c77:
 DEBUG RESTART/CRASH-AND-RECOVER [delay] implemented.
 2 files changed, 17 insertions(+)

antirez in commit 7342746:
 Server: restartServer() API.
 2 files changed, 73 insertions(+), 4 deletions(-)

antirez in commit c372a59:
 Cluster: redis-trib fix, coverage for migrating=1 case.
 1 file changed, 12 insertions(+), 2 deletions(-)

antirez in commit 6ddcba6:
 Test: basic lazyfree unit test.
 2 files changed, 40 insertions(+)

antirez in commit 363c0f6:
 Test: fix attach_to_replication_stream to handle newlines.
 1 file changed, 5 insertions(+), 2 deletions(-)

antirez in commit f29e384:
 Fix extractLongLatOrReply() sanity check conditionals.
 1 file changed, 9 insertions(+), 9 deletions(-)

antirez in commit 3f38b51:
 Jemalloc configure script fixed to work nested.
 1 file changed, 18 deletions(-)

antirez in commit a9951b1:
 Jemalloc updated to 4.0.3.
 140 files changed, 25333 insertions(+), 15474 deletions(-)

antirez in commit e3ded02:
 Added a README into deps on dependencies and how to upgrade.
 1 file changed, 66 insertions(+)

antirez in commit ceaf58d:
 Regression test for GEORADIUS COUNT arity check.
 1 file changed, 5 insertions(+)

antirez in commit 319d180:
 Fix GEORADIUS COUNT option arity checks.
 1 file changed, 1 insertion(+), 1 deletion(-)

antirez in commit 19f6ab5:
 Lazyfree options documented in the example redis.conf.
 1 file changed, 52 insertions(+), 1 deletion(-)

antirez in commit 880c606:
 Lazyfree options implemented in the configuration.
 1 file changed, 36 insertions(+)

antirez in commit 252cfa0:
 Lazyfree: cond vars to enabled/disable it based on DEL context.
 4 files changed, 51 insertions(+), 35 deletions(-)

antirez in commit 5359696:
 Fixed a bug in the emptyDb() new implementation.
 1 file changed, 1 insertion(+), 1 deletion(-)

antirez in commit ecdbc33:
 FLUSHDB and FLUSHALL ASYNC option implemented.
 2 files changed, 39 insertions(+), 8 deletions(-)

antirez in commit 1f26a94:
 Lazyfree: pending objects count in INFO output.
 3 files changed, 10 insertions(+), 2 deletions(-)

antirez in commit c69c6c8:
 Lazyfree: ability to free whole DBs in background.
 7 files changed, 106 insertions(+), 14 deletions(-)

antirez in commit b08c36c:
 Lazyfree: keep count of objects to free.
 2 files changed, 11 insertions(+), 3 deletions(-)

antirez in commit c7b46a4:
 zmalloc.c converted to use atomicvar.h.
 1 file changed, 5 insertions(+), 33 deletions(-)

antirez in commit 7e5d690:
 Atomic vars implemented in a more general way.
 1 file changed, 94 insertions(+)

antirez in commit 7af4eeb:
 Lazyfree: incremental removed, only threaded survived.
 3 files changed, 24 insertions(+), 191 deletions(-)

antirez in commit 9253d85:
 Threaded lazyfree WIP #1.
 5 files changed, 36 insertions(+), 8 deletions(-)

antirez in commit 4d50d69:
 bio.c: new API bioWaitStepOfType().
 2 files changed, 32 insertions(+), 5 deletions(-)

antirez in commit 5b850d7:
 Test: stack_logging var should be initialized to 0.
 1 file changed, 1 insertion(+)

antirez in commit 1dab60d:
 Hash new implementation memleaks fixed.
 2 files changed, 52 insertions(+), 12 deletions(-)

antirez in commit 97ba4e3:
 Lazyfree: Hash converted to use plain SDS WIP 5.
 3 files changed, 30 insertions(+), 34 deletions(-)

antirez in commit 36be34b:
 Test: support for stack logging for OSX malloc/leaks.
 2 files changed, 7 insertions(+)

antirez in commit 974514b:
 Lazyfree: Hash converted to use plain SDS WIP 4.
 9 files changed, 76 insertions(+), 70 deletions(-)

antirez in commit 4a18352:
 Lazyfree: Hash converted to use plain SDS WIP 3.
 2 files changed, 20 insertions(+), 29 deletions(-)

antirez in commit 777396a:
 Lazyfree: Hash converted to use plain SDS WIP 2.
 4 files changed, 64 insertions(+), 37 deletions(-)

antirez in commit 1c24755:
 Lazyfree: Hash converted to use plain SDS WIP 1.
 5 files changed, 188 insertions(+), 163 deletions(-)

antirez in commit afc4b92:
 DEBUG DIGEST Set type memory leak fixed.
 1 file changed, 1 insertion(+)

antirez in commit 34e489c:
 SORT memory leak fixed.
 1 file changed, 3 insertions(+), 3 deletions(-)

antirez in commit a7c5be1:
 Lazyfree: Sorted sets convereted to plain SDS. (several commits squashed)
 10 files changed, 306 insertions(+), 266 deletions(-)

antirez in commit 86d48ef:
 Lazyfree: Convert Sets to use plains SDS (several commits squashed).
 9 files changed, 183 insertions(+), 163 deletions(-)

antirez in commit 4ff3c17:
 Lazyfree: client output buffers no longer use Redis Objects.
 2 files changed, 72 insertions(+), 97 deletions(-)

antirez in commit 0c05436:
 Lazyfree: a first implementation of non blocking DEL.
 8 files changed, 341 insertions(+), 53 deletions(-)

antirez in commit 712ea72:
 Call writeToClient() directly instead of the write handler.
 1 file changed, 1 insertion(+), 1 deletion(-)

antirez in commit 01c08b5:
 Fix processEventsWhileBlocked() to handle PENDING_WRITE clients.
 2 files changed, 7 insertions(+), 3 deletions(-)

antirez in commit 1e71538:
 Refactoring: unlinkClient() added to lower freeClient() complexity.
 3 files changed, 48 insertions(+), 51 deletions(-)

antirez in commit fdb3be9:
 Refactoring: new function to test if client has pending output.
 3 files changed, 17 insertions(+), 8 deletions(-)

antirez in commit 825f65d:
 Reverse list of clients with pending writes.
 1 file changed, 1 insertion(+), 1 deletion(-)

antirez in commit 063ecbd:
 writeToClient(): don't remove write handler if not needed.
 1 file changed, 4 insertions(+), 4 deletions(-)

antirez in commit b741a90:
 handleClientsWithPendingWrites(): detect dead clients.
 1 file changed, 17 insertions(+), 7 deletions(-)

antirez in commit 481a0db:
 Move handleClientsWithPendingWrites() in networking.c.
 3 files changed, 29 insertions(+), 28 deletions(-)

antirez in commit 1c7d87d:
 Avoid installing the client write handler when possible.
 4 files changed, 56 insertions(+), 7 deletions(-)

antirez in commit d1b6a17:
 redis-cli pipe mode: don't stay in the write loop forever.
 1 file changed, 6 insertions(+), 1 deletion(-)

antirez in commit 622366a:
 Mark version of unstable branch in an unique way.
 1 file changed, 1 insertion(+), 1 deletion(-)

Sebastian Waisbrot in commit 97a2248:
 Fix race condition in unit/introspection
 1 file changed, 4 insertions(+), 3 deletions(-)

Adam Baldwin in commit 45fa113:
 Removed dofile() from Lua
 1 file changed, 2 insertions(+)

Migrating from 3.2 to 4.0
=========================

Redis 3.2 is mostly a strict subset of 4.0, you should not have any problem
upgrading your application from 3.2 to 4.0. However this is a list of small
non-backward compatible changes introduced in the 4.0 release:

4741 4742 4743 4744 4745
* The Redis Cluster bus protocol of 4.0 is no longer compatible with Redis 3.2.
  This was needed in order to provide Docker / NAT compatibility to Redis
  Cluster. SO in order to upgrade a Redis Cluster to 4.0, a mass restart of
  all the instances is needed.

4746 4747 4748 4749 4750 4751
* Redis Cluster CLUSTER NODES output is now slightly different. Nodes
  addresses are now in the form host:port@bus-port instead of host:port.
  Clients should use CLUSTER SLOTS in order to fetch the cluster configuration
  however if they are still using CLUSTER NODES, they should be modified in
  order to ignore the @bus-port part.

A
antirez 已提交
4752 4753
* Writable slaves do not propagate writes to their sub-slaves, so writes to
  writable slaves remain just local.
4754

A
antirez 已提交
4755 4756
* The RDB format changed. Redis 4.0 is still able to read 3.2 (and all the
  past versions) files, but not the other way around.
4757

A
antirez 已提交
4758
* Certain log formats and sentences are different in Redis 4.0.
4759

A
antirez 已提交
4760 4761
* Certain INFO fields, especially related to replication, are now different.

4762 4763 4764 4765 4766 4767 4768 4769 4770
* GEODIST, GEOPOS and GEOHASH return values changed for non existing keys:
  Previously the return value was inconsistent between non existing key
  and non existing elements. Now the return is always like if the key
  contains no elements if the key does not exist. So, for instance,
  "GEOHASH non_existing_key A B C" now returns an array of 3 NULL values
  as it should. In general this change should not break compatibility with
  the past since in the past two different forms were provided by the server
  and the new behavior is one of the two.

4771 4772 4773
* The SLOWLOG command entires contain additional two fields: the client address
  and name. This is documented in the SLOWLOG command online documentation.

A
antirez 已提交
4774 4775 4776 4777 4778 4779 4780 4781 4782 4783 4784 4785
--------------------------------------------------------------------------------

Credits: For each release, a list of changes with the relative author is
provided. Where not specified the implementation and design is done by
Salvatore Sanfilippo. Thanks to Redis Labs for making all this possible.
Also many thanks to all the other contributors and the amazing community
we have.

Commit messages may contain additional credits.

Enjoy,
Salvatore