John Sully
9102c4e610
Disable assert
...
Former-commit-id: b5d5eeee7cb1900eba192704e5d68c90b9f2b9f2
2021-03-23 23:50:48 +00:00
benschermel
6b18ab6ab4
Merge branch 'keydbpro' into PRO_RELEASE_6
...
Former-commit-id: 99021efc9d4b59a93328e6f85db8b29010b3b0b1
2021-03-23 21:29:16 +00:00
benschermel
3745a0e390
Merge branch 'keydbpro' into PRO_RELEASE_6
...
Former-commit-id: 99021efc9d4b59a93328e6f85db8b29010b3b0b1
2021-03-23 21:29:16 +00:00
christian
d841598ea0
Merge branch 'rebrand' into 'keydbpro'
...
Rebrand
See merge request keydb-dev/KeyDB-Pro!14
Former-commit-id: 6840087819f26804302635dd0a75de523e133f8c
2021-03-23 20:01:05 +00:00
christian
adf8ba67c8
Merge branch 'rebrand' into 'keydbpro'
...
Rebrand
See merge request keydb-dev/KeyDB-Pro!14
Former-commit-id: 6840087819f26804302635dd0a75de523e133f8c
2021-03-23 20:01:05 +00:00
benschermel
efa9d4ef98
addressing comments from merge review
...
Former-commit-id: 955aa69ca16ca7230d5099ad16f6f825402b5dd5
2021-03-23 18:41:59 +00:00
benschermel
cd48001c21
addressing comments from merge review
...
Former-commit-id: 955aa69ca16ca7230d5099ad16f6f825402b5dd5
2021-03-23 18:41:59 +00:00
cl1118
a3d72b0274
Update sentinel.c ( #8686 )
2021-03-23 13:51:53 +02:00
cl1118
a2af2a306b
Update sentinel.c ( #8686 )
2021-03-23 13:51:53 +02:00
John Sully
c6fc1bcfe3
Perform GET command inline
...
Former-commit-id: 5623936d99e334ab103f3dc1541b145c125d0ee8
2021-03-23 03:44:20 +00:00
John Sully
98ca9892c3
Perform GET command inline
...
Former-commit-id: 5623936d99e334ab103f3dc1541b145c125d0ee8
2021-03-23 03:44:20 +00:00
linyi-xq
6e9aabcd27
clusterState->mf_master_offset init offset change to -1 ( #8651 )
...
resolve cluster failover timeout when master repl_offset is 0
2021-03-22 20:00:33 -07:00
linyi-xq
725762c48d
clusterState->mf_master_offset init offset change to -1 ( #8651 )
...
resolve cluster failover timeout when master repl_offset is 0
2021-03-22 20:00:33 -07:00
Wen Hui
6e2eb5692d
add missing flags in sentinel instance info ( #8682 )
2021-03-22 20:13:30 +02:00
Wen Hui
6bf81eb7b1
add missing flags in sentinel instance info ( #8682 )
2021-03-22 20:13:30 +02:00
Huang Zhw
5c2f3ee8d2
Cleanup: sentinelGetInstanceTypeString is unused. ( #8680 )
...
sentinelGetInstanceTypeString is the same as sentinelRedisInstanceTypeStr,
and not referenced by any functions.
2021-03-22 16:13:24 +02:00
Huang Zhw
eef45934fa
Cleanup: sentinelGetInstanceTypeString is unused. ( #8680 )
...
sentinelGetInstanceTypeString is the same as sentinelRedisInstanceTypeStr,
and not referenced by any functions.
2021-03-22 16:13:24 +02:00
Yossi Gottlieb
bd7e2b6e34
Add support for reading encrypted keyfiles. ( #8644 )
2021-03-22 13:27:46 +02:00
Yossi Gottlieb
c4ef1efdb7
Add support for reading encrypted keyfiles. ( #8644 )
2021-03-22 13:27:46 +02:00
Yossi Gottlieb
0cd485db5e
Fix slowdown due to child reporting CoW. ( #8645 )
...
Reading CoW from /proc/<pid>/smaps can be slow with large processes on
some platforms.
This measures the time it takes to read CoW info and limits the duty
cycle of future updates to roughly 1/100.
As current_cow_size no longer represnets a current, fixed interval value
there is also a new current_cow_size_age field that provides information
about the age of the size value, in seconds.
2021-03-22 13:25:58 +02:00
Yossi Gottlieb
c3df27d1ea
Fix slowdown due to child reporting CoW. ( #8645 )
...
Reading CoW from /proc/<pid>/smaps can be slow with large processes on
some platforms.
This measures the time it takes to read CoW info and limits the duty
cycle of future updates to roughly 1/100.
As current_cow_size no longer represnets a current, fixed interval value
there is also a new current_cow_size_age field that provides information
about the age of the size value, in seconds.
2021-03-22 13:25:58 +02:00
Oran Agra
722fd729e6
fix race in diskless load cluster tests ( #8674 )
2021-03-22 10:51:13 +02:00
Oran Agra
2f717c156a
fix race in diskless load cluster tests ( #8674 )
2021-03-22 10:51:13 +02:00
Oran Agra
10929ace19
Fix race in replication test ( #8679 )
...
Since redis 6.2, redis immediately tries to connect to the master, not
waiting for replication cron.
in the slow freebsd CI, this test failed and master_link_status was
already "up" when INFO was called.
2021-03-22 10:50:39 +02:00
Oran Agra
a7c02b19bf
Fix race in replication test ( #8679 )
...
Since redis 6.2, redis immediately tries to connect to the master, not
waiting for replication cron.
in the slow freebsd CI, this test failed and master_link_status was
already "up" when INFO was called.
2021-03-22 10:50:39 +02:00
Huang Zhw
5799e2f360
Change the order of start startLoadingFile call in redis-check-rdb. ( #8676 )
...
redis_check_rdb in some scenarios only stopLoading is called because
startLoadingFile is called too late.
2021-03-22 09:18:56 +02:00
Huang Zhw
0418253a9b
Change the order of start startLoadingFile call in redis-check-rdb. ( #8676 )
...
redis_check_rdb in some scenarios only stopLoading is called because
startLoadingFile is called too late.
2021-03-22 09:18:56 +02:00
benschermel
5c145039d4
update enterprise wording for keydb.config lk
...
Former-commit-id: feb2d31e6544763c94f4abaea69bc98bd1cb8b17
2021-03-21 05:19:28 +00:00
benschermel
88e6c73906
update enterprise wording for keydb.config lk
...
Former-commit-id: feb2d31e6544763c94f4abaea69bc98bd1cb8b17
2021-03-21 05:19:28 +00:00
VivekSainiEQ
50884c6a20
Updated jemalloc to version 5.2.1
...
Former-commit-id: 7fefc7b245bc1795bd67564bcc0a8a38d1ec121c
2021-03-19 20:10:27 +00:00
VivekSainiEQ
d3b9c8f506
Updated jemalloc to version 5.2.1
...
Former-commit-id: 7fefc7b245bc1795bd67564bcc0a8a38d1ec121c
2021-03-19 20:10:27 +00:00
VivekSainiEQ
f4dbaab531
Removed hasModuleGIL boolean and added fix from PR #292
...
Former-commit-id: 68d213f4c9c1c3161929a5e20ca4f2b27665c8fd
2021-03-19 20:10:24 +00:00
VivekSainiEQ
8714a26cd9
Removed hasModuleGIL boolean and added fix from PR #292
...
Former-commit-id: 68d213f4c9c1c3161929a5e20ca4f2b27665c8fd
2021-03-19 20:10:24 +00:00
VivekSainiEQ
932fd2e79a
added lock releasing w/ hasModuleGIL, changed module serverTL, and moved module_blocking_pipe to global scope to fix issue #276
...
Former-commit-id: 7d9a2ce827a2f8d48e4682b3cc95460cc82f9778
2021-03-19 20:08:28 +00:00
VivekSainiEQ
189967e7af
added lock releasing w/ hasModuleGIL, changed module serverTL, and moved module_blocking_pipe to global scope to fix issue #276
...
Former-commit-id: 7d9a2ce827a2f8d48e4682b3cc95460cc82f9778
2021-03-19 20:08:28 +00:00
benschermel
2fd3097269
update rpm script for centos8
...
Former-commit-id: c6ef287452cbbe1cf25ec4cccd53fe84259dc8a2
2021-03-18 19:31:54 +00:00
benschermel
bc161f684f
update rpm script for centos8
...
Former-commit-id: c6ef287452cbbe1cf25ec4cccd53fe84259dc8a2
2021-03-18 19:31:54 +00:00
benschermel
2cddb1f6e9
bump version
...
Former-commit-id: d5b042f010395628734848fc0b7db370fa9106c4
2021-03-18 02:11:19 +00:00
benschermel
2779e0e02b
bump version
...
Former-commit-id: d5b042f010395628734848fc0b7db370fa9106c4
2021-03-18 02:11:19 +00:00
benschermel
20de526037
Merge branch 'keydbpro' into PRO_RELEASE_6
...
Former-commit-id: c03c45a1a1bf3c92a75804e123e34ea394adad07
2021-03-18 02:01:15 +00:00
benschermel
7596290472
Merge branch 'keydbpro' into PRO_RELEASE_6
...
Former-commit-id: c03c45a1a1bf3c92a75804e123e34ea394adad07
2021-03-18 02:01:15 +00:00
benschermel
2e5ecd9003
minor fixes
...
Former-commit-id: ad7a27d41fb9e8e47966bbee72b28a4be66bbd8f
2021-03-18 01:16:57 +00:00
benschermel
3f9a80917a
minor fixes
...
Former-commit-id: ad7a27d41fb9e8e47966bbee72b28a4be66bbd8f
2021-03-18 01:16:57 +00:00
christianEQ
0436e62b7a
fix old reference to c variable (monkey)
...
Former-commit-id: 0b9b6413c70d4ba71bbabcd0b22fb004d804958f
2021-03-17 20:22:01 +00:00
christianEQ
8858ffd2a9
fix old reference to c variable (monkey)
...
Former-commit-id: 0b9b6413c70d4ba71bbabcd0b22fb004d804958f
2021-03-17 20:22:01 +00:00
christianEQ
4944836478
removed unused stuff from monkey
...
Former-commit-id: be55daa6f7bcbf137b37269d1ee7a5fcacc14ff0
2021-03-17 20:17:52 +00:00
christianEQ
1fc5fdd525
removed unused stuff from monkey
...
Former-commit-id: be55daa6f7bcbf137b37269d1ee7a5fcacc14ff0
2021-03-17 20:17:52 +00:00
christianEQ
34d019f483
fixed runtime arg for monkey
...
Former-commit-id: b3e6e1f13b3d24c92d9f7e8441831232f47ff053
2021-03-17 19:50:28 +00:00
christianEQ
31f8c6b63d
fixed runtime arg for monkey
...
Former-commit-id: b3e6e1f13b3d24c92d9f7e8441831232f47ff053
2021-03-17 19:50:28 +00:00
Meir Shpilraien (Spielrein)
af74b0b110
Fix script kill to work also on scripts that use pcall ( #8661 )
...
pcall function runs another LUA function in protected mode, this means
that any error will be caught by this function and will not stop the LUA
execution. The script kill mechanism uses error to stop the running script.
Scripts that uses pcall can catch the error raise by the script kill mechanism,
this will cause a script like this to be unkillable:
local f = function()
while 1 do
redis.call('ping')
end
end
while 1 do
pcall(f)
end
The fix is, when we want to kill the script, we set the hook function to be invoked
after each line. This will promise that the execution will get another
error before it is able to enter the pcall function again.
2021-03-17 18:52:11 +02:00