-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
主从节点同步延迟变高,主从节点一直在重连 #256
Comments
什么版本? |
2.3.3 |
主从都是2.3.3吗 现在主还在写入吗? |
从节点是2.3.1,主还在写 |
我升级到2.3.3试试 |
现在从节点的信息变成info了,但是好像还是在不断重连
主节点还是下面这样
能帮忙看一下,出现这个我是有什么东西配错了还是? |
我这边主节点的配置:
从节点的配置
|
你目前能重启主的机器吗 |
可以重启的。主的节点重启了服务,还是一样。重启机器也还是一样 |
@oooldcoder QQ群: 294254078 沟通方便一点 |
主节点: 请问怎么解决? |
与 #256 (comment) 相同的现象 version: 3.0.16 表现同样是主从同步异常,但从 不知道最终原因是怎样,有什么解决方案? |
升级版本吧。 新版本是解决不少同步的问题的。 |
我看新版本同步逻辑也改了很多,貌似只能升级大法了 |
@kernelai 这个 issue 是不是可以关掉了? |
* set_cache Co-authored-by: chejinge <chejinge@360.cn>
* add dependences * fix: add_ci (#229) add_ci Co-authored-by: wuxianrong <wuxianrong@360.cn> * formate code style && fix centos build bug * fix centos build bug * format code style * format * rename classname * format code * use cache define * upgrade rediscache version to v0.1.3 * change file name * using DEFER * fix github ci failure * add_string_cache【暂时不修改格式及代码风格,会在最后一个PR统一做修改】 (#237) add_string_cache * add_slave_cache (#243) Co-authored-by: wuxianrong <wuxianrong@360.cn> * fix:cache string (#247) fix_cache_string * add_bitmap_cache (#255) * add_bitmap_cache Co-authored-by: chejinge <chejinge@360.cn> * add string cache cmd (#252) add_string_cache_cmd Co-authored-by: wuxianrong <wuxianrong@360.cn> * add list cache cmd (#250) add_list_cache_cmd Co-authored-by: wuxianrong <wuxianrong@360.cn> * cache set command (#256) * set_cache Co-authored-by: chejinge <chejinge@360.cn> * add hash cache cmd (#251) add_hash_cache_cmd Co-authored-by: wuxianrong <wuxianrong@360.cn> * cache zset command (#257) * cache zset command Co-authored-by: chejinge <chejinge@360.cn> * Update pika_zset.h * add Pika Cache Status (#259) Add Pika-Cache-Status Co-authored-by: wuxianrong <wuxianrong@360.cn> * cache index * git revert * 【fix】cache Asynchronous transmission (#265) fix cache Asynchronous transmission Co-authored-by: wuxianrong <wuxianrong@360.cn> * add defer (#269) add_defer Co-authored-by: wuxianrong <wuxianrong@360.cn> * cache index (#260) * cache index Co-authored-by: chejinge <chejinge@360.cn> Co-authored-by: wuxianrong <wuxianrong@360.cn> * Support for multiple databases (#275) * delete_pika_cache_manager * Support for multiple databases --------- Co-authored-by: wuxianrong <wuxianrong@360.cn> * smart pointer and lock granularity && set don't update cache (#277) Co-authored-by: chejinge <chejinge@360.cn> * fix_lock (#278) Co-authored-by: wuxianrong <wuxianrong@360.cn> * fix_command_bug (#282) * fix_command_bug Co-authored-by: chejinge <chejinge@360.cn> * Fix del mget (#291) fix_del_command&&HMSET HMGET --------- Co-authored-by: chejinge <chejinge@360.cn> * bugfix:ttl&&exits command (#300) * fix_ttl_exits --------- Co-authored-by: chejinge <chejinge@360.cn> * fix: hash/list/set/zset test (#285) * fix hash/list test * fix set/zset test --------- Co-authored-by: wuxianrong <wuxianrong@360.cn> * fix bitpos strlen msetnx * fix bitpos strlen msetnx * Update pika_kv.cc * Update pika_command.cc * fix: hash/zset test cache (#302) * fix hash/list test Co-authored-by: wuxianrong <wuxianrong@360.cn> * fix Master-slave test * code format (#316) Co-authored-by: wuxianrong <wuxianrong@360.cn> * fix:cache code style * fix:cache code style * fix * Supports multi-DB asynchronous data transfer (#317) * code format * support dbs --------- Co-authored-by: wuxianrong <wuxianrong@360.cn> * fix conflict and change name * fix conflict and change name * fix conflict and change name * Update pika_admin.cc * Update pika_admin.cc * Initialization variable (#321) add_comment Co-authored-by: wuxianrong <wuxianrong@360.cn> * fix_flushdb * fix: Cache flushdb (#322) fix_flushdb Co-authored-by: wuxianrong <wuxianrong@360.cn> * Fix cache mget (#323) * fix_mget * fix_lock_and_multi_caches * fix_mem_leak * fix_mem_leak * fix * add cacheclean command * fix coreedump * Fix:mem leak (#329) fix:hdel Co-authored-by: chejinge <chejinge@360.cn> * Update pika_admin.cc * Update pika.conf * Update pika.conf * fix_license * remove nullpter --------- Co-authored-by: chejinge <chejinge@360.cn> Co-authored-by: Mixficsol <838844609@qq.com> Co-authored-by: wuxianrong <wuxianrong@360.cn> Co-authored-by: Xin.Zh <dragoncharlie@foxmail.com> Co-authored-by: alexstocks <alexstocks@foxmail.com>
* add dependences * fix: add_ci (#229) add_ci Co-authored-by: wuxianrong <wuxianrong@360.cn> * formate code style && fix centos build bug * fix centos build bug * format code style * format * rename classname * format code * use cache define * upgrade rediscache version to v0.1.3 * change file name * using DEFER * fix github ci failure * add_string_cache【暂时不修改格式及代码风格,会在最后一个PR统一做修改】 (#237) add_string_cache * add_slave_cache (#243) Co-authored-by: wuxianrong <wuxianrong@360.cn> * fix:cache string (#247) fix_cache_string * add_bitmap_cache (#255) * add_bitmap_cache Co-authored-by: chejinge <chejinge@360.cn> * add string cache cmd (#252) add_string_cache_cmd Co-authored-by: wuxianrong <wuxianrong@360.cn> * add list cache cmd (#250) add_list_cache_cmd Co-authored-by: wuxianrong <wuxianrong@360.cn> * cache set command (#256) * set_cache Co-authored-by: chejinge <chejinge@360.cn> * add hash cache cmd (#251) add_hash_cache_cmd Co-authored-by: wuxianrong <wuxianrong@360.cn> * cache zset command (#257) * cache zset command Co-authored-by: chejinge <chejinge@360.cn> * Update pika_zset.h * add Pika Cache Status (#259) Add Pika-Cache-Status Co-authored-by: wuxianrong <wuxianrong@360.cn> * cache index * git revert * 【fix】cache Asynchronous transmission (#265) fix cache Asynchronous transmission Co-authored-by: wuxianrong <wuxianrong@360.cn> * add defer (#269) add_defer Co-authored-by: wuxianrong <wuxianrong@360.cn> * cache index (#260) * cache index Co-authored-by: chejinge <chejinge@360.cn> Co-authored-by: wuxianrong <wuxianrong@360.cn> * Support for multiple databases (#275) * delete_pika_cache_manager * Support for multiple databases --------- Co-authored-by: wuxianrong <wuxianrong@360.cn> * smart pointer and lock granularity && set don't update cache (#277) Co-authored-by: chejinge <chejinge@360.cn> * fix_lock (#278) Co-authored-by: wuxianrong <wuxianrong@360.cn> * fix_command_bug (#282) * fix_command_bug Co-authored-by: chejinge <chejinge@360.cn> * Fix del mget (#291) fix_del_command&&HMSET HMGET --------- Co-authored-by: chejinge <chejinge@360.cn> * bugfix:ttl&&exits command (#300) * fix_ttl_exits --------- Co-authored-by: chejinge <chejinge@360.cn> * fix: hash/list/set/zset test (#285) * fix hash/list test * fix set/zset test --------- Co-authored-by: wuxianrong <wuxianrong@360.cn> * fix bitpos strlen msetnx * fix bitpos strlen msetnx * Update pika_kv.cc * Update pika_command.cc * fix: hash/zset test cache (#302) * fix hash/list test Co-authored-by: wuxianrong <wuxianrong@360.cn> * fix Master-slave test * code format (#316) Co-authored-by: wuxianrong <wuxianrong@360.cn> * fix:cache code style * fix:cache code style * fix * Supports multi-DB asynchronous data transfer (#317) * code format * support dbs --------- Co-authored-by: wuxianrong <wuxianrong@360.cn> * fix conflict and change name * fix conflict and change name * fix conflict and change name * Update pika_admin.cc * Update pika_admin.cc * Initialization variable (#321) add_comment Co-authored-by: wuxianrong <wuxianrong@360.cn> * fix_flushdb * fix: Cache flushdb (#322) fix_flushdb Co-authored-by: wuxianrong <wuxianrong@360.cn> * Fix cache mget (#323) * fix_mget * fix_lock_and_multi_caches * fix_mem_leak * fix_mem_leak * fix * add cacheclean command * fix coreedump * Fix:mem leak (#329) fix:hdel Co-authored-by: chejinge <chejinge@360.cn> * Update pika_admin.cc * Update pika.conf * Update pika.conf * fix_license * remove nullpter --------- Co-authored-by: chejinge <chejinge@360.cn> Co-authored-by: Mixficsol <838844609@qq.com> Co-authored-by: wuxianrong <wuxianrong@360.cn> Co-authored-by: Xin.Zh <dragoncharlie@foxmail.com> Co-authored-by: alexstocks <alexstocks@foxmail.com>
* add dependences * fix: add_ci (OpenAtomFoundation#229) add_ci Co-authored-by: wuxianrong <wuxianrong@360.cn> * formate code style && fix centos build bug * fix centos build bug * format code style * format * rename classname * format code * use cache define * upgrade rediscache version to v0.1.3 * change file name * using DEFER * fix github ci failure * add_string_cache【暂时不修改格式及代码风格,会在最后一个PR统一做修改】 (OpenAtomFoundation#237) add_string_cache * add_slave_cache (OpenAtomFoundation#243) Co-authored-by: wuxianrong <wuxianrong@360.cn> * fix:cache string (OpenAtomFoundation#247) fix_cache_string * add_bitmap_cache (OpenAtomFoundation#255) * add_bitmap_cache Co-authored-by: chejinge <chejinge@360.cn> * add string cache cmd (OpenAtomFoundation#252) add_string_cache_cmd Co-authored-by: wuxianrong <wuxianrong@360.cn> * add list cache cmd (OpenAtomFoundation#250) add_list_cache_cmd Co-authored-by: wuxianrong <wuxianrong@360.cn> * cache set command (OpenAtomFoundation#256) * set_cache Co-authored-by: chejinge <chejinge@360.cn> * add hash cache cmd (OpenAtomFoundation#251) add_hash_cache_cmd Co-authored-by: wuxianrong <wuxianrong@360.cn> * cache zset command (OpenAtomFoundation#257) * cache zset command Co-authored-by: chejinge <chejinge@360.cn> * Update pika_zset.h * add Pika Cache Status (OpenAtomFoundation#259) Add Pika-Cache-Status Co-authored-by: wuxianrong <wuxianrong@360.cn> * cache index * git revert * 【fix】cache Asynchronous transmission (OpenAtomFoundation#265) fix cache Asynchronous transmission Co-authored-by: wuxianrong <wuxianrong@360.cn> * add defer (OpenAtomFoundation#269) add_defer Co-authored-by: wuxianrong <wuxianrong@360.cn> * cache index (OpenAtomFoundation#260) * cache index Co-authored-by: chejinge <chejinge@360.cn> Co-authored-by: wuxianrong <wuxianrong@360.cn> * Support for multiple databases (OpenAtomFoundation#275) * delete_pika_cache_manager * Support for multiple databases --------- Co-authored-by: wuxianrong <wuxianrong@360.cn> * smart pointer and lock granularity && set don't update cache (OpenAtomFoundation#277) Co-authored-by: chejinge <chejinge@360.cn> * fix_lock (OpenAtomFoundation#278) Co-authored-by: wuxianrong <wuxianrong@360.cn> * fix_command_bug (OpenAtomFoundation#282) * fix_command_bug Co-authored-by: chejinge <chejinge@360.cn> * Fix del mget (OpenAtomFoundation#291) fix_del_command&&HMSET HMGET --------- Co-authored-by: chejinge <chejinge@360.cn> * bugfix:ttl&&exits command (OpenAtomFoundation#300) * fix_ttl_exits --------- Co-authored-by: chejinge <chejinge@360.cn> * fix: hash/list/set/zset test (OpenAtomFoundation#285) * fix hash/list test * fix set/zset test --------- Co-authored-by: wuxianrong <wuxianrong@360.cn> * fix bitpos strlen msetnx * fix bitpos strlen msetnx * Update pika_kv.cc * Update pika_command.cc * fix: hash/zset test cache (OpenAtomFoundation#302) * fix hash/list test Co-authored-by: wuxianrong <wuxianrong@360.cn> * fix Master-slave test * code format (OpenAtomFoundation#316) Co-authored-by: wuxianrong <wuxianrong@360.cn> * fix:cache code style * fix:cache code style * fix * Supports multi-DB asynchronous data transfer (OpenAtomFoundation#317) * code format * support dbs --------- Co-authored-by: wuxianrong <wuxianrong@360.cn> * fix conflict and change name * fix conflict and change name * fix conflict and change name * Update pika_admin.cc * Update pika_admin.cc * Initialization variable (OpenAtomFoundation#321) add_comment Co-authored-by: wuxianrong <wuxianrong@360.cn> * fix_flushdb * fix: Cache flushdb (OpenAtomFoundation#322) fix_flushdb Co-authored-by: wuxianrong <wuxianrong@360.cn> * Fix cache mget (OpenAtomFoundation#323) * fix_mget * fix_lock_and_multi_caches * fix_mem_leak * fix_mem_leak * fix * add cacheclean command * fix coreedump * Fix:mem leak (OpenAtomFoundation#329) fix:hdel Co-authored-by: chejinge <chejinge@360.cn> * Update pika_admin.cc * Update pika.conf * Update pika.conf * fix_license * remove nullpter --------- Co-authored-by: chejinge <chejinge@360.cn> Co-authored-by: Mixficsol <838844609@qq.com> Co-authored-by: wuxianrong <wuxianrong@360.cn> Co-authored-by: Xin.Zh <dragoncharlie@foxmail.com> Co-authored-by: alexstocks <alexstocks@foxmail.com>
* add dependences * fix: add_ci (OpenAtomFoundation#229) add_ci Co-authored-by: wuxianrong <wuxianrong@360.cn> * formate code style && fix centos build bug * fix centos build bug * format code style * format * rename classname * format code * use cache define * upgrade rediscache version to v0.1.3 * change file name * using DEFER * fix github ci failure * add_string_cache【暂时不修改格式及代码风格,会在最后一个PR统一做修改】 (OpenAtomFoundation#237) add_string_cache * add_slave_cache (OpenAtomFoundation#243) Co-authored-by: wuxianrong <wuxianrong@360.cn> * fix:cache string (OpenAtomFoundation#247) fix_cache_string * add_bitmap_cache (OpenAtomFoundation#255) * add_bitmap_cache Co-authored-by: chejinge <chejinge@360.cn> * add string cache cmd (OpenAtomFoundation#252) add_string_cache_cmd Co-authored-by: wuxianrong <wuxianrong@360.cn> * add list cache cmd (OpenAtomFoundation#250) add_list_cache_cmd Co-authored-by: wuxianrong <wuxianrong@360.cn> * cache set command (OpenAtomFoundation#256) * set_cache Co-authored-by: chejinge <chejinge@360.cn> * add hash cache cmd (OpenAtomFoundation#251) add_hash_cache_cmd Co-authored-by: wuxianrong <wuxianrong@360.cn> * cache zset command (OpenAtomFoundation#257) * cache zset command Co-authored-by: chejinge <chejinge@360.cn> * Update pika_zset.h * add Pika Cache Status (OpenAtomFoundation#259) Add Pika-Cache-Status Co-authored-by: wuxianrong <wuxianrong@360.cn> * cache index * git revert * 【fix】cache Asynchronous transmission (OpenAtomFoundation#265) fix cache Asynchronous transmission Co-authored-by: wuxianrong <wuxianrong@360.cn> * add defer (OpenAtomFoundation#269) add_defer Co-authored-by: wuxianrong <wuxianrong@360.cn> * cache index (OpenAtomFoundation#260) * cache index Co-authored-by: chejinge <chejinge@360.cn> Co-authored-by: wuxianrong <wuxianrong@360.cn> * Support for multiple databases (OpenAtomFoundation#275) * delete_pika_cache_manager * Support for multiple databases --------- Co-authored-by: wuxianrong <wuxianrong@360.cn> * smart pointer and lock granularity && set don't update cache (OpenAtomFoundation#277) Co-authored-by: chejinge <chejinge@360.cn> * fix_lock (OpenAtomFoundation#278) Co-authored-by: wuxianrong <wuxianrong@360.cn> * fix_command_bug (OpenAtomFoundation#282) * fix_command_bug Co-authored-by: chejinge <chejinge@360.cn> * Fix del mget (OpenAtomFoundation#291) fix_del_command&&HMSET HMGET --------- Co-authored-by: chejinge <chejinge@360.cn> * bugfix:ttl&&exits command (OpenAtomFoundation#300) * fix_ttl_exits --------- Co-authored-by: chejinge <chejinge@360.cn> * fix: hash/list/set/zset test (OpenAtomFoundation#285) * fix hash/list test * fix set/zset test --------- Co-authored-by: wuxianrong <wuxianrong@360.cn> * fix bitpos strlen msetnx * fix bitpos strlen msetnx * Update pika_kv.cc * Update pika_command.cc * fix: hash/zset test cache (OpenAtomFoundation#302) * fix hash/list test Co-authored-by: wuxianrong <wuxianrong@360.cn> * fix Master-slave test * code format (OpenAtomFoundation#316) Co-authored-by: wuxianrong <wuxianrong@360.cn> * fix:cache code style * fix:cache code style * fix * Supports multi-DB asynchronous data transfer (OpenAtomFoundation#317) * code format * support dbs --------- Co-authored-by: wuxianrong <wuxianrong@360.cn> * fix conflict and change name * fix conflict and change name * fix conflict and change name * Update pika_admin.cc * Update pika_admin.cc * Initialization variable (OpenAtomFoundation#321) add_comment Co-authored-by: wuxianrong <wuxianrong@360.cn> * fix_flushdb * fix: Cache flushdb (OpenAtomFoundation#322) fix_flushdb Co-authored-by: wuxianrong <wuxianrong@360.cn> * Fix cache mget (OpenAtomFoundation#323) * fix_mget * fix_lock_and_multi_caches * fix_mem_leak * fix_mem_leak * fix * add cacheclean command * fix coreedump * Fix:mem leak (OpenAtomFoundation#329) fix:hdel Co-authored-by: chejinge <chejinge@360.cn> * Update pika_admin.cc * Update pika.conf * Update pika.conf * fix_license * remove nullpter --------- Co-authored-by: chejinge <chejinge@360.cn> Co-authored-by: Mixficsol <838844609@qq.com> Co-authored-by: wuxianrong <wuxianrong@360.cn> Co-authored-by: Xin.Zh <dragoncharlie@foxmail.com> Co-authored-by: alexstocks <alexstocks@foxmail.com>
主节点日志:
从节点日志:
The text was updated successfully, but these errors were encountered: