- 10 Oct, 2019 8 commits
-
-
Salvatore Sanfilippo authored
[trivial] fix typos salves to slaves in replication.c
-
Salvatore Sanfilippo authored
there should is AUTH && HELLO non authenticated state.
-
Salvatore Sanfilippo authored
Fix usage of server.stream_node_max_*
-
Salvatore Sanfilippo authored
purge jemalloc after flush, and enable background purging thread
-
Salvatore Sanfilippo authored
resolve typo in test module
-
antirez authored
-
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.
-
Guy Benoish authored
-
- 09 Oct, 2019 2 commits
-
-
Daniel Dai authored
-
omg-by authored
-
- 08 Oct, 2019 3 commits
-
-
Salvatore Sanfilippo authored
stream.h: fix typo
-
Salvatore Sanfilippo authored
fix issues found by a static analyzer
-
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.
-
- 07 Oct, 2019 8 commits
-
-
Jamison Judge authored
-
antirez authored
-
antirez authored
-
antirez authored
-
antirez authored
-
charsyam authored
-
antirez authored
-
Oran Agra authored
cluster.c - stack buffer memory alignment The pointer 'buf' is cast to a more strictly aligned pointer type evict.c - lazyfree_lazy_eviction, lazyfree_lazy_eviction always called defrag.c - bug in dead code server.c - casting was missing parenthesis rax.c - indentation / newline suggested an 'else if' was intended
-
- 04 Oct, 2019 9 commits
-
-
antirez authored
-
antirez authored
-
Oran Agra authored
-
Oran Agra authored
-
antirez authored
-
Salvatore Sanfilippo authored
On LUA script timeout, print the script SHA to the log
-
Salvatore Sanfilippo authored
fix error handling on config parsing of repl-diskless-load
-
antirez authored
-
antirez authored
-
- 03 Oct, 2019 5 commits
- 02 Oct, 2019 5 commits
-
-
antirez authored
-
Oran Agra authored
It seeems that since I added the creation of the jemalloc thread redis sometimes fails to start with the following error: Inconsistency detected by ld.so: dl-tls.c: 493: _dl_allocate_tls_init: Assertion `listp->slotinfo[cnt].gen <= GL(dl_tls_generation)' failed! This seems to be due to a race bug in ld.so, in which TLS creation on the thread, collide with dlopen. Move the creation of BIO and jemalloc threads to after modules are loaded. plus small bugfix when trying to disable the jemalloc thread at runtime
-
antirez authored
-
antirez authored
-
Oran Agra authored
since the slowlog and other means that can help you detect the bad script are only exposed after the script is done. it might be a good idea to at least print the script name (sha) to the log when it timeouts.
-