Describe the bug
Version: 7.4.1 Topo: 2 redis with RDB + 3 sentinel
A short description of the bug. === REDIS BUG REPORT START: Cut & paste starting from here === 1676303:M 10 Feb 2025 19:14:25.938 # === ASSERTION FAILED === 1676303:M 10 Feb 2025 19:14:25.938 # ==> sds.c:419 '(incr >= 0 && sh->alloc-sh->len >= incr) || (incr < 0 && sh->len >= (unsigned int)(-incr))' is not true
------ STACK TRACE ------
1676303 redis-server * /usr/bin/redis-server 0.0.0.0:6380(sdsIncrLen+0x198)[0x55f15884fc48] /usr/bin/redis-server 0.0.0.0:6380(readQueryFromClient+0x2ff)[0x55f15883c7ff] /usr/bin/redis-server 0.0.0.0:6380(handleClientsWithPendingReadsUsingThreads+0x11d)[0x55f15883ccbd] /usr/bin/redis-server 0.0.0.0:6380(beforeSleep+0x43)[0x55f15885c453] /usr/bin/redis-server 0.0.0.0:6380(aeProcessEvents+0x3f)[0x55f15886c59f] /usr/bin/redis-server 0.0.0.0:6380(aeMain+0x2d)[0x55f15886ca6d] /.so /usr/bin/redis-server 0.0.0.0:6380(aeProcessEvents+0x3f)[0x55f15886c59f] /usr/bin/redis-server 0.0.0.0:6380(aeMain+0x2d)[0x55f15886ca6d] /usr/bin/redis-server 0.0.0.0:6380(main+0x3a7)[0x55f1587681e7] /lib64/libc.so.6(__libc_start_main+0xe5)[0x7f636a01b7e5] /usr/bin/redis-server 0.0.0.0:6380(_start+0x2e)[0x55f15876890e]
1676308 io_thd_2 /usr/bin/redis-server 0.0.0.0:6380(IOThreadMain+0xb0)[0x55f15883d260] /lib64/libpthread.so.0(+0x81ca)[0x7f636a3bf1ca] /lib64/libc.so.6(clone+0x43)[0x7f636a01a8d3]
1676304 bio_close_file /lib64/libpthread.so.0(pthread_cond_wait+0x1fc)[0x7f636a3c547c] /usr/bin/redis-server 0.0.0.0:6380(bioProcessBackgroundJobs+0x16a)[0x55f1587cd80a] /lib64/libpthread.so.0(+0x81ca)[0x7f636a3bf1ca] /lib64/libc.so.6(clone+0x43)[0x7f636a01a8d3]
1676307 io_thd_1 /usr/bin/redis-server 0.0.0.0:6380(IOThreadMain+0xb5)[0x55f15883d265] /lib64/libpthread.so.0(+0x81ca)[0x7f636a3bf1ca] /lib64/libc.so.6(clone+0x43)[0x7f636a01a8d3]
1676309 io_thd_3 /usr/bin/redis-server 0.0.0.0:6380(IOThreadMain+0xb5)[0x55f15883d265] /lib64/libpthread.so.0(+0x81ca)[0x7f636a3bf1ca] /lib64/libc.so.6(clone+0x43)[0x7f636a01a8d3]
1676305 bio_aof /lib64/libpthread.so.0(pthread_cond_wait+0x1fc)[0x7f636a3c547c] /usr/bin/redis-server 0.0.0.0:6380(bioProcessBackgroundJobs+0x16a)[0x55f1587cd80a] /lib64/libpthread.so.0(+0x81ca)[0x7f636a3bf1ca] /lib64/libc.so.6(clone+0x43)[0x7f636a01a8d3]
1676306 bio_lazy_free /lib64/libpthread.so.0(pthread_cond_wait+0x1fc)[0x7f636a3c547c] /usr/bin/redis-server 0.0.0.0:6380(bioProcessBackgroundJobs+0x16a)[0x55f1587cd80a] /lib64/libpthread.so.0(+0x81ca)[0x7f636a3bf1ca] /lib64/libc.so.6(clone+0x43)[0x7f636a01a8d3]
7/7 expected stacktraces.
------ STACK TRACE DONE ------
------ INFO OUTPUT ------
Server^M
redis_version:7.4.1^M redis_git_sha1:00000000^M redis_git_dirty:0^M redis_build_id:1be06da738da4e96^M redis_mode:standalone^M os:Linux 4.18.0-553.22.1.el8_10.x86_64 x86_64^M arch_bits:64^M os:Linux 4.18.0-553.22.1.el8_10.x86_64 x86_64^M arch_bits:64^M monotonic_clock:POSIX clock_gettime^M multiplexing_api:epoll^M atomicvar_api:c11-builtin^M gcc_version:8.5.0^M process_id:1676303^M process_supervised:systemd^M run_id:1e23c0ebb5194d37a0914cf3cf9ada00d4ed9770^M tcp_port:6380^M server_time_usec:1739214865938177^M uptime_in_seconds:172042^M uptime_in_days:1^M hz:10^M configured_hz:10^M lru_clock:11161617^M executable:/usr/bin/redis-server^M config_file:/etc/redis/redis.conf^M io_threads_active:1^M listener2:name=tls,bind=0.0.0.0,port=6380^M ^M
Clients^M
connected_clients:38^M cluster_connections:0^M maxclients:6000^M client_recent_max_input_buffer:20533^M client_recent_max_output_buffer:40351872^M blocked_clients:0^M tracking_clients:0^M pubsub_clients:3^M watching_clients:0^M clients_in_timeout_table:0^M total_watched_keys:0^M total_blocking_keys:0^M total_blocking_keys_on_nokey:0^M ^M
Memory^M
used_memory:20196453272^M used_memory_human:18.81G^M used_memory_rss:21517639680^M used_memory_rss_human:20.04G^M used_memory_peak:21181101336^M used_memory_peak_human:19.73G^M used_memory_peak_perc:95.35%^M used_memory_overhead:7194166978^M used_memory_startup:779952^M used_memory_dataset:13002286294^M used_memory_dataset_perc:64.38%^M allocator_allocated:20197660232^M allocator_active:21239881728^M allocator_resident:21522890752^M allocator_muzzy:0^M allocator_resident:21522890752^M allocator_muzzy:0^M total_system_memory:66989551616^M total_system_memory_human:62.39G^M used_memory_lua:31744^M used_memory_vm_eval:31744^M used_memory_lua_human:31.00K^M used_memory_scripts_eval:0^M number_of_cached_scripts:0^M number_of_functions:0^M number_of_libraries:0^M used_memory_vm_functions:32768^M used_memory_vm_total:64512^M used_memory_vm_total_human:63.00K^M used_memory_functions:296^M used_memory_scripts:296^M used_memory_scripts_human:296B^M maxmemory:53687091200^M maxmemory_human:50.00G^M maxmemory_policy:volatile-ttl^M allocator_frag_ratio:1.05^M allocator_frag_bytes:1042115640^M allocator_rss_ratio:1.01^M allocator_rss_bytes:283009024^M rss_overhead_ratio:1.00^M rss_overhead_bytes:-5251072^M mem_fragmentation_ratio:1.07^M mem_fragmentation_bytes:1321683288^M mem_not_counted_for_evict:39758392^M mem_replication_backlog:1049092^M mem_total_replication_buffers:40811128^M mem_clients_slaves:39762552^M mem_clients_normal:649998^M mem_cluster_links:0^M mem_aof_buffer:0^M mem_allocator:jemalloc-5.3.0^M mem_overhead_db_hashtable_rehashing:0^M active_defrag_running:0^M lazyfree_pending_objects:0^M lazyfreed_objects:0^M ^M
Persistence^M
loading:0^M async_loading:0^M current_cow_peak:0^M current_cow_size:0^M current_cow_size_age:0^M current_fork_perc:0.00^M current_save_keys_processed:0^M current_save_keys_total:0^M rdb_changes_since_last_save:1705933^M rdb_bgsave_in_progress:0^M rdb_changes_since_last_save:1705933^M rdb_bgsave_in_progress:0^M rdb_last_save_time:1739213787^M rdb_last_bgsave_status:ok^M rdb_last_bgsave_time_sec:109^M rdb_current_bgsave_time_sec:-1^M rdb_saves:46^M rdb_last_cow_size:40529920^M rdb_last_load_keys_expired:0^M rdb_last_load_keys_loaded:106005039^M aof_enabled:0^M aof_rewrite_in_progress:0^M aof_rewrite_scheduled:0^M aof_last_rewrite_time_sec:-1^M aof_current_rewrite_time_sec:-1^M aof_last_bgrewrite_status:ok^M aof_rewrites:0^M aof_rewrites_consecutive_failures:0^M aof_last_write_status:ok^M aof_last_cow_size:0^M module_fork_in_progress:0^M module_fork_last_cow_size:0^M ^M
Stats^M
total_connections_received:18824^M total_commands_processed:212255189^M instantaneous_ops_per_sec:284607^M total_net_input_bytes:31298170329^M total_net_output_bytes:25680265276^M total_net_repl_input_bytes:18890878406^M total_net_repl_output_bytes:13286947261^M instantaneous_input_kbps:38163.36^M instantaneous_output_kbps:27422.96^M instantaneous_input_repl_kbps:0.00^M instantaneous_output_repl_kbps:25882.60^M rejected_connections:0^M sync_full:1^M sync_partial_ok:0^M sync_partial_err:1^M expired_subkeys:0^M expired_keys:51647^M expired_stale_perc:4.67^M expired_time_cap_reached_count:0^M expire_cycle_cpu_milliseconds:1146^M evicted_keys:0^M evicted_clients:0^M evicted_scripts:0^M total_eviction_exceeded_time:0^M current_eviction_exceeded_time:0^M keyspace_hits:29662819^M keyspace_misses:107377821^M pubsub_channels:1^M keyspace_misses:107377821^M pubsub_channels:1^M pubsub_patterns:0^M pubsubshard_channels:0^M latest_fork_usec:258482^M total_forks:47^M migrate_cached_sockets:0^M slave_expires_tracked_keys:0^M active_defrag_hits:0^M active_defrag_misses:0^M active_defrag_key_hits:0^M active_defrag_key_misses:0^M total_active_defrag_time:0^M current_active_defrag_time:0^M tracking_total_keys:0^M tracking_total_items:0^M tracking_total_prefixes:0^M unexpected_error_replies:0^M total_error_replies:1350^M dump_payload_sanitizations:0^M total_reads_processed:39596146^M total_writes_processed:38662734^M io_threaded_reads_processed:121219^M io_threaded_writes_processed:139304^M client_query_buffer_limit_disconnections:0^M client_output_buffer_limit_disconnections:0^M reply_buffer_shrinks:78054^M reply_buffer_expands:79900^M eventloop_cycles:29754998^M eventloop_duration_sum:3288911143^M eventloop_duration_cmd_sum:1898303866^M instantaneous_eventloop_cycles_per_sec:430^M instantaneous_eventloop_duration_usec:2316^M acl_access_denied_auth:0^M acl_access_denied_cmd:0^M acl_access_denied_key:0^M acl_access_denied_channel:0^M ^M
Replication^M
role:master^M connected_slaves:1^M slave0:ip=10.150.208.74,port=6380,state=online,offset=481117495681,lag=0^M master_failover_state:no-failover^M master_replid:fdb895c16f5779d69e67de5072c66714ff60111d^M master_replid2:81192514ace35d7ef4fcb834aef32ab319d3ba8d^M master_repl_offset:481167706865^M second_repl_offset:479404337955^M repl_backlog_active:1^M repl_backlog_size:1048576^M repl_backlog_first_byte_offset:481127024845^M repl_backlog_histlen:40682021^M ^M repl_backlog_histlen:40682021^M ^M
CPU^M
used_cpu_sys:541.155093^M used_cpu_user:3066.985537^M used_cpu_sys_children:383.710677^M used_cpu_user_children:4534.760058^M used_cpu_sys_main_thread:531.652674^M used_cpu_user_main_thread:3009.011091^M ^M
Modules^M
^M
Commandstats^M
cmdstat_acl|getuser:calls=1,usec=19,usec_per_call=19.00,rejected_calls=0,failed_calls=0^M cmdstat_acl|list:calls=1,usec=13,usec_per_call=13.00,rejected_calls=0,failed_calls=0^M cmdstat_client|setname:calls=12349,usec=20982,usec_per_call=1.70,rejected_calls=0,failed_calls=0^M cmdstat_client|kill:calls=4,usec=674,usec_per_call=168.50,rejected_calls=0,failed_calls=0^M cmdstat_hello:calls=7251,usec=62511,usec_per_call=8.62,rejected_calls=0,failed_calls=0^M cmdstat_latency|histogram:calls=11418,usec=2858751,usec_per_call=250.37,rejected_calls=0,failed_calls=0^M cmdstat_latency|latest:calls=11418,usec=14970,usec_per_call=1.31,rejected_calls=0,failed_calls=0^M cmdstat_multi:calls=63,usec=81,usec_per_call=1.29,rejected_calls=0,failed_calls=0^M cmdstat_command|docs:calls=4,usec=3192,usec_per_call=798.00,rejected_calls=0,failed_calls=0^M cmdstat_del:calls=6174929,usec=47346926,usec_per_call=7.67,rejected_calls=0,failed_calls=0^M cmdstat_exec:calls=63,usec=10436,usec_per_call=165.65,rejected_calls=0,failed_calls=57^M cmdstat_quit:calls=40,usec=19,usec_per_call=0.47,rejected_calls=0,failed_calls=0^M cmdstat_auth:calls=11573,usec=95631,usec_per_call=8.26,rejected_calls=0,failed_calls=0^M cmdstat_get:calls=137040640,usec=105428836,usec_per_call=0.77,rejected_calls=0,failed_calls=0^M cmdstat_slaveof:calls=2,usec=520,usec_per_call=260.00,rejected_calls=57,failed_calls=0^M cmdstat_ping:calls=513154,usec=736906,usec_per_call=1.44,rejected_calls=1236,failed_calls=0^M cmdstat_publish:calls=500605,usec=3101416,usec_per_call=6.20,rejected_calls=0,failed_calls=0^M cmdstat_config|get:calls=11418,usec=2972490,usec_per_call=260.33,rejected_calls=0,failed_calls=0^M cmdstat_config|rewrite:calls=2,usec=9069,usec_per_call=4534.50,rejected_calls=0,failed_calls=0^M cmdstat_psync:calls=1,usec=60,usec_per_call=60.00,rejected_calls=0,failed_calls=0^M cmdstat_slowlog|len:calls=11418,usec=11244,usec_per_call=0.98,rejected_calls=0,failed_calls=0^M cmdstat_slowlog|get:calls=11418,usec=12820,usec_per_call=1.12,rejected_calls=0,failed_calls=0^M cmdstat_set:calls=39833805,usec=72230893,usec_per_call=1.81,rejected_calls=0,failed_calls=0^M cmdstat_info:calls=63581,usec=6907380,usec_per_call=108.64,rejected_calls=0,failed_calls=0^M cmdstat_subscribe:calls=15,usec=64,usec_per_call=4.27,rejected_calls=0,failed_calls=0^M cmdstat_replconf:calls=3198,usec=3121,usec_per_call=0.98,rejected_calls=0,failed_calls=0^M cmdstat_scan:calls=28027773,usec=1656444662,usec_per_call=59.10,rejected_calls=0,failed_calls=0^M cmdstat_setex:calls=9044,usec=40475,usec_per_call=4.48,rejected_calls=0,failed_calls=0^M cmdstat_select:calls=1,usec=1,usec_per_call=1.00,rejected_calls=0,failed_calls=0^M ^M
Errorstats^M
errorstat_EXECABORT:count=57^M errorstat_LOADING:count=1292^M errorstat_NOAUTH:count=1^M ^M
Latencystats^M
latency_percentiles_usec_acl|getuser:p50=19.071,p99=19.071,p99.9=19.071^M latency_percentiles_usec_acl|list:p50=13.055,p99=13.055,p99.9=13.055^M latency_percentiles_usec_client|setname:p50=2.007,p99=6.015,p99.9=11.007^M id=18828 addr=10.157.18.146:38632 laddr=10.150.208.76:6380 fd=15 name= age=129 idle=129 flags=N db=0 sub=0 psub=0 ssub=0 multi=-1 watch=0 qbuf=0 qbuf-free=0 argv-mem=0 multi-mem=0 rbs=1024 rbp=0 obl=0 oll=0 omem=0 tot-mem=1928 events=r cmd=hello user=default redir=-1 resp=3 lib-name= lib-ver= id=18826 addr=10.157.18.146:39378 laddr=10.150.208.76:6380 fd=16 name= age=152 idle=152 flags=N db=0 sub=0 psub=0 ssub=0 multi=-1 watch=0 qbuf=0 qbuf-free=0 argv-mem=0 multi-mem=0 rbs=1024 rbp=0 obl=0 oll=0 omem=0 tot-mem=1928 events=r cmd=hello user=default redir=-1 resp=3 lib-name= lib-ver= id=17877 addr=10.150.208.76:39192 laddr=10.150.208.76:6380 fd=23 name=sentinel-0583c3a8-pubsub age=3752 idle=0 flags=P db=0 sub=1 psub=0 ssub=0 multi=-1 watch=0 qbuf=0 qbuf-free=20474 argv-mem=0 multi-mem=0 rbs=1024 rbp=162 obl=0 oll=0 omem=0 tot-mem=22456 events=r cmd=subscribe user=sentinel_user redir=-1 resp=2 lib-name= lib-ver= id=18645 addr=10.157.17.51:51646 laddr=10.150.208.76:6380 fd=33 name= age=1512 idle=15 flags=N db=0 sub=0 psub=0 ssub=0 multi=-1 watch=0 qbuf=0 qbuf-free=0 argv-mem=0 multi-mem=0 rbs=1024 rbp=0 obl=0 oll=0 omem=0 tot-mem=1928 events=r cmd=get user=default redir=-1 resp=3 lib-name= lib-ver= id=18822 addr=10.157.17.51:53248 laddr=10.150.208.76:6380 fd=11 name= age=167 idle=167 flags=N db=0 sub=0 psub=0 ssub=0 multi=-1 watch=0 qbuf=0 qbuf-free=0 argv-mem=0 multi-mem=0 rbs=1024 rbp=0 obl=0 oll=0 omem=0 tot-mem=1928 events=r cmd=hello user=default redir=-1 resp=3 lib-name= lib-ver= id=18335 addr=10.150.208.74:38168 laddr=10.150.208.76:6380 fd=28 name= age=3488 idle=0 flags=S db=0 sub=0 psub=0 ssub=0 multi=-1 watch=0 qbuf=0 qbuf-free=20474 argv-mem=0 multi-mem=0 rbs=1024 rbp=0 obl=0 oll=1989 omem=40811128 tot-mem=40833528 events=rw cmd=replconf user=default redir=-1 resp=2 lib-name= lib-ver= id=18611 addr=10.157.17.167:55954 laddr=10.150.208.76:6380 fd=27 name= age=1750 idle=0 flags=N db=0 sub=0 psub=0 ssub=0 multi=-1 watch=0 qbuf=21252 qbuf-free=27894 argv-mem=68 multi-mem=0 rbs=2048 rbp=1024 obl=0 oll=0 omem=0 tot-mem=52188 events=r cmd=setex user=default redir=-1 resp=3 lib-name= lib-ver= id=18840 addr=10.157.88.13:57216 laddr=10.150.208.76:6380 fd=22 name=spark-redis-master-client age=7 idle=7 flags=N db=0 sub=0 psub=0 ssub=0 multi=-1 watch=0 qbuf=0 qbuf-free=0 argv-mem=0 multi-mem=0 rbs=1024 rbp=0 obl=0 oll=0 omem=0 tot-mem=1928 events=r cmd=info user=default redir=-1 resp=2 lib-name= lib-ver= id=18853 addr=10.157.88.6:60152 laddr=10.150.208.76:6380 fd=42 name= age=3 idle=0 flags=N db=0 sub=0 psub=0 ssub=0 multi=-1 watch=0 qbuf=4484 qbuf-free=15990 argv-mem=89 multi-mem=0 rbs=1024 rbp=340 obl=0 oll=0 omem=0 tot-mem=22513 events=r cmd=set user=default redir=-1 resp=2 lib-name= lib-ver= id=18854 addr=10.157.88.6:60154 laddr=10.150.208.76:6380 fd=43 name= age=3 idle=0 flags=N db=0 sub=0 psub=0 ssub=0 multi=-1 watch=0 qbuf=8020 qbuf-free=12454 argv-mem=103 multi-mem=0 rbs=1024 rbp=340 obl=0 oll=0 omem=0 tot-mem=22527 events=r cmd=set user=default redir=-1 resp=2 lib-name= lib-ver=
------ MODULES INFO OUTPUT ------
------ CONFIG DEBUG OUTPUT ------ io-threads-do-reads yes lazyfree-lazy-user-del no client-query-buffer-limit 1gb io-threads 4 list-compress-depth 0 repl-diskless-sync yes proto-max-bulk-len 512mb repl-diskless-load disabled lazyfree-lazy-user-flush no slave-read-only yes lazyfree-lazy-server-del no lazyfree-lazy-expire no lazyfree-lazy-eviction no replica-read-only yes activedefrag no sanitize-dump-payload no
------ FAST MEMORY TEST ------ 1676303:M 10 Feb 2025 19:14:25.943 # Bio worker thread #0 terminated 1676303:M 10 Feb 2025 19:14:25.943 # Bio worker thread #1 terminated 1676303:M 10 Feb 2025 19:14:25.943 # Bio worker thread #2 terminated 1676303:M 10 Feb 2025 19:14:25.943 # IO thread(tid:140064885556992) terminated 1676303:M 10 Feb 2025 19:14:25.944 # IO thread(tid:140064877164288) terminated 1676303:M 10 Feb 2025 19:14:25.944 # IO thread(tid:140064868771584) terminated *** Preparing to test memory region 55f158bd9000 (2277376 bytes) *** Preparing to test memory region 55f15a11e000 (2473984 bytes) *** Preparing to test memory region 7f5dc8000000 (135168 bytes) *** Preparing to test memory region 7f5dd0000000 (135168 bytes) *** Preparing to test memory region 7f5dc8000000 (135168 bytes) *** Preparing to test memory region 7f5dd0000000 (135168 bytes) *** Preparing to test memory region 7f5dd6e7f000 (9961472 bytes) *** Preparing to test memory region 7f5dd7800000 (8388608 bytes) *** Preparing to test memory region 7f5dd8000000 (135168 bytes) *** Preparing to test memory region 7f5ddc000000 (4194304 bytes) *** Preparing to test memory region 7f5ddc600000 (8388608 bytes) *** Preparing to test memory region 7f5ddce00000 (23607775232 bytes) *** Preparing to test memory region 7f63600f8000 (53477376 bytes) *** Preparing to test memory region 7f63633f9000 (8388608 bytes) *** Preparing to test memory region 7f6363bfa000 (8388608 bytes) *** Preparing to test memory region 7f63643fb000 (8388608 bytes) *** Preparing to test memory region 7f6364bfc000 (8388608 bytes) *** Preparing to test memory region 7f63653fd000 (8388608 bytes) *** Preparing to test memory region 7f6365bfe000 (8388608 bytes) *** Preparing to test memory region 7f6367400000 (4194304 bytes) *** Preparing to test memory region 7f6367c00000 (8388608 bytes) *** Preparing to test memory region 7f6368b90000 (8192 bytes) *** Preparing to test memory region 7f6368d99000 (4096 bytes) *** Preparing to test memory region 7f6368fec000 (4096 bytes) *** Preparing to test memory region 7f6369204000 (4096 bytes) *** Preparing to test memory region 7f6369994000 (4096 bytes) *** Preparing to test memory region 7f6369db9000 (4096 bytes) *** Preparing to test memory region 7f6369fe0000 (4096 bytes) *** Preparing to test memory region 7f636a3b3000 (16384 bytes) *** Preparing to test memory region 7f636a5d3000 (16384 bytes) *** Preparing to test memory region 7f636aabd000 (20480 bytes) *** Preparing to test memory region 7f636ad56000 (4096 bytes) *** Preparing to test memory region 7f636b0a2000 (4096 bytes) *** Preparing to test memory region 7f636ba4e000 (45056 bytes) *** Preparing to test memory region 7f636ba5e000 (8192 bytes) .O.O.O.O.O.O.O.O.O.O.O.O.O.O.O.O.O.O.O.O.O.O.O.O.O.O.O.O.O.O.O.O.O Fast memory test PASSED, however your memory can still be broken. Please run a memory test for several hours if possible.
=== REDIS BUG REPORT END. Make sure to include from START to END. ===
Comment From: ShooterIT
Hi @woodliu do you enable TLS?
Comment From: sundb
listener2:name=tls,bind=0.0.0.0,port=6380^M
io-threads-do-reads yes
io-threads 4
@woodliu io-threads-do-reads
can't used under the TLS + io_threads, please refer to https://github.com/redis/redis/issues/12540, which has been fixed in the latest version(https://github.com/redis/redis/pull/13695).
Comment From: woodliu
listener2:name=tls,bind=0.0.0.0,port=6380^M io-threads-do-reads yes io-threads 4
@woodliu
io-threads-do-reads
can't used under the TLS + io_threads, please refer to #12540, which has been fixed in the latest version(#13695).
Thanks @ShooterIT @sundb
Yeah,i do enable TLS
and io-threads-do-reads
.
- And i see the MR project is redis-8, does that mean it will only effect in redis-8?
- In the redis document, it describe as:
# NOTE 1: This configuration directive cannot be changed at runtime via # CONFIG SET. Also, this feature currently does not work when SSL is # enabled.
That is a little confused, i thoughtdoes not work
only means it won't effected when work with SSL, unaware it is a hard requirement.
Comment From: ShooterIT
i see, doc is not clear, we removed it https://github.com/redis/redis/pull/13695/files#diff-c683e35ac8c539e4f6c402fc159fe0e57086e3e661dd9ac7e48cedaee2c79c14
actually, the TLS + io_threads have a bug not just does not work