1. 10 Oct, 2019 2 commits
    • antirez's avatar
      Cluster: fix memory leak of cached master. · 747be463
      antirez authored
      This is what happened:
      
      1. Instance starts, is a slave in the cluster configuration, but
      actually server.masterhost is not set, so technically the instance
      is acting like a master.
      
      2. loadDataFromDisk() calls replicationCacheMasterUsingMyself() even if
      the instance is a master, in the case it is logically a slave and the
      cluster is enabled. So now we have a cached master even if the instance
      is practically configured as a master (from the POV of
      server.masterhost value and so forth).
      
      3. clusterCron() sees that the instance requires to replicate from its
      master, because logically it is a slave, so it calls
      replicationSetMaster() that will in turn call
      replicationCacheMasterUsingMyself(): before this commit, this call would
      overwrite the old cached master, creating a memory leak.
      747be463
    • Guy Benoish's avatar
      Fix usage of server.stream_node_max_* · 2fae0192
      Guy Benoish authored
      2fae0192
  2. 08 Oct, 2019 1 commit
    • antirez's avatar
      Geo: output 10 chars of geohash, not 11. · 009862ab
      antirez authored
      This does not limit the actual precision, because the last digit bits were
      garbage, and the shift value became even negative in the last iteration.
      009862ab
  3. 07 Oct, 2019 7 commits
  4. 04 Oct, 2019 6 commits
  5. 03 Oct, 2019 2 commits
  6. 02 Oct, 2019 5 commits
  7. 01 Oct, 2019 2 commits
  8. 30 Sep, 2019 6 commits
  9. 27 Sep, 2019 9 commits