- 15 Apr, 2020 16 commits
- 
- 
antirez authoredFixes issue #6418. 
- 
liumiuyong authored
- 
Guy Benoish authored
- 
antirez authored
- 
hwware authored
- 
antirez authored
- 
hayleeliu authored
- 
antirez authored
- 
antirez authoredStreams items are similar to dictionaries, however they preserve both the order, and allow for duplicated field names. So a map is not a semantically sounding way to deal with this. https://twitter.com/antirez/status/1248261087553880069 
- 
antirez authored
- 
antirez authored
- 
antirez authored
- 
antirez authoredRelated to #3243. 
- 
antirez authored
- 
antirez authoredReloading of the RDB generated by DEBUG POPULATE 5000000 SAVE is now 25% faster. This commit also prepares the ability to have more flexibility when loading stuff from the RDB, since we no longer use dbAdd() but can control exactly how things are added in the database.
- 
antirez authoredSee #7071. 
 
- 
- 08 Apr, 2020 1 commit
- 
- 
antirez authored
 
- 
- 07 Apr, 2020 23 commits
- 
- 
mymilkbottles authored
- 
antirez authoredRelated to #5145. Design note: clients may change type when they turn into replicas or are moved into the Pub/Sub category and so forth. Moreover the recomputation of the bytes used is problematic for obvious reasons: it changes continuously, so as a conservative way to avoid accumulating errors, each client remembers the contribution it gave to the sum, and removes it when it is freed or before updating it with the new memory usage. 
- 
qetu3790 authoredfix comments about RESIZE DB opcode in rdb.c 
- 
antirez authored
- 
zhaozhao.zz authoredDelete keys in async way when executing DEL command, if lazyfree-lazy-user-del is yes. 
- 
antirez authored
- 
antirez authoredInitially they needed to be at the end so that we could extend to N strings in the future, but after further consideration I no longer believe it's worth it. 
- 
antirez authored
- 
antirez authored
- 
antirez authored
- 
antirez authored
- 
antirez authored
- 
antirez authored
- 
antirez authored
- 
antirez authored
- 
antirez authored
- 
antirez authored
- 
antirez authored
- 
srzhao authoredChecking OOM by `getMaxMemoryState` inside script might get different result with `freeMemoryIfNeededAndSafe` at script start, because lua stack and arguments also consume memory. This leads to memory `borderline` when memory grows near server.maxmemory: - `freeMemoryIfNeededAndSafe` at script start detects no OOM, no memory freed - `getMaxMemoryState` inside script detects OOM, script aborted We solve this 'borderline' issue by saving OOM state at script start to get stable lua OOM state. related to issue #6565 and #5250. 
- 
Oran Agra authored
- 
Guy Benoish authoredThere is an inherent race between the deferring client and the "main" client of the test: While the deferring client issues a blocking command, we can't know for sure that by the time the "main" client tries to issue another command (Usually one that unblocks the deferring client) the deferring client is even blocked... For lack of a better choice this commit uses TCL's 'after' in order to give some time for the deferring client to issues its blocking command before the "main" client does its thing. This problem probably exists in many other tests but this commit tries to fix blockonkeys.tcl 
- 
Guy Benoish authored
- 
Guy Benoish authored
 
-