- 18 Jul, 2018 1 commit
-
-
Oran Agra authored
on slower machines, the active defrag test tended to fail. although the fragmentation ratio was below the treshold, the defragger was still in the middle of a scan cycle. this commit changes: - the defragger uses the current fragmentation state, rather than the cache one that is updated by server cron every 100ms. this actually fixes a bug of starting one excess scan cycle - the test lets the defragger use more CPU cycles, in hope that the defrag will be faster, but also give it more time before we give up.
-
- 17 Jul, 2018 2 commits
-
-
antirez authored
-
Salvatore Sanfilippo authored
remove ineffective loop in dictGetSomeKeys.
-
- 16 Jul, 2018 15 commits
-
-
Salvatore Sanfilippo authored
Streams: using streamCompareID() instead of direct compare.
-
Salvatore Sanfilippo authored
bugfix in sdsReqType creating 64bit sds headers on 32bit systems
-
antirez authored
Reading the PR gave me the opportunity to better specify what the code was doing in places where I was not immediately sure about what was going on. Moreover I documented the structure in server.h so that people reading the header file will immediately understand what the structure is useful for.
-
Salvatore Sanfilippo authored
slave buffers were wasteful and incorrectly counted causing eviction
-
Salvatore Sanfilippo authored
Streams: correctly propagate xdel if needed
-
Oran Agra authored
A) slave buffers didn't count internal fragmentation and sds unused space, this caused them to induce eviction although we didn't mean for it. B) slave buffers were consuming about twice the memory of what they actually needed. - this was mainly due to sdsMakeRoomFor growing to twice as much as needed each time but networking.c not storing more than 16k (partially fixed recently in 237a38737). - besides it wasn't able to store half of the new string into one buffer and the other half into the next (so the above mentioned fix helped mainly for small items). - lastly, the sds buffers had up to 30% internal fragmentation that was wasted, consumed but not used. C) inefficient performance due to starting from a small string and reallocing many times. what i changed: - creating dedicated buffers for reply list, counting their size with zmalloc_size - when creating a new reply node from, preallocate it to at least 16k. - when appending a new reply to the buffer, first fill all the unused space of the previous node before starting a new one. other changes: - expose mem_not_counted_for_evict info field for the benefit of the test suite - add a test to make sure slave buffers are counted correctly and that they don't cause eviction
-
zhaozhao.zz authored
-
antirez authored
-
Salvatore Sanfilippo authored
Streams: free lp if all elements are deleted
-
antirez authored
Related to #5129.
-
Salvatore Sanfilippo authored
Streams: show last id for streams and groups
-
zhaozhao.zz authored
-
paule authored
change coding style.
-
zhaozhao.zz authored
-
peterpaule authored
-
- 15 Jul, 2018 1 commit
-
-
Oran Agra authored
-
- 14 Jul, 2018 3 commits
- 13 Jul, 2018 14 commits
-
-
Salvatore Sanfilippo authored
update leap year comment
-
antirez authored
-
antirez authored
-
antirez authored
-
antirez authored
-
andrewsensus authored
-
antirez authored
-
antirez authored
-
Salvatore Sanfilippo authored
Fix slowlog config
-
WuYunlong authored
-
WuYunlong authored
-
artix authored
-
artix authored
outputs a warning to the user.
-
artix authored
-
- 12 Jul, 2018 4 commits
-
-
Salvatore Sanfilippo authored
Delete unused role checking.
-
Shen Longxing authored
When check rdb file, it is unnecessary to check role.
-
Salvatore Sanfilippo authored
Remove unnecessary return statements
-
antirez authored
-