OpenAtomFoundation / pika

Pika is a Redis-Compatible database developed by Qihoo's infrastructure team.
BSD 3-Clause "New" or "Revised" License
5.76k stars 1.19k forks source link

Slave synchronization exception, continuous expansion of multiple nodes #2742

Closed orangesapor closed 2 weeks ago

orangesapor commented 2 weeks ago

Is this a regression?

Yes

Description

I20240618 14:57:57.770097 45548 base_conf.cc:345] ret OK I20240618 14:57:57.803400 45548 pika_server.cc:442] Mark try connect finish I20240618 14:57:57.803447 45548 pika_repl_client_conn.cc:151] Finish to handle meta sync response I20240618 14:57:57.977485 45549 pika_repl_client_conn.cc:182] DB: db0 Need Wait To Sync W20240618 14:57:58.068995 45625 pika_rm.cc:510] ActivateRsync ... W20240618 14:57:58.170010 45673 rsync_client.h:223] rsync response error W20240618 14:57:58.170087 45625 rsync_client.cc:363] IO error: kRsyncMeta request failed! db is not exist or doing bgsave, retries:0 I20240618 14:57:59.413898 45625 rsync_client.cc:368] receive rsync meta infos, snapshot_uuid: bf7800f049583e6b1e25800f223474fefiles count: 6609 W20240618 14:57:59.416442 45625 rsync_client.cc:384] DUMP_META_DATA not exist I20240618 14:57:59.417241 45625 rsync_client.cc:317] copy meta data done, db name: db0 snapshot_uuid: bf7800f049583e6b1e25800f223474fe file count: 6609 expired file count: 0 local file count: 0 remote file count: 6609 remote snapshot_uuid: bf7800f049583e6b1e25800f223474fe local snapshot_uuid: fileset: 6609 W20240618 14:57:59.417260 45625 rsync_client.cc:327] file_set: hashes/000119.sst W20240618 14:57:59.417272 45625 rsync_client.cc:327] file_set: hashes/000122.sst W20240618 14:57:59.417282 45625 rsync_client.cc:327] file_set: hashes/CURRENT W20240618 14:57:59.417292 45625 rsync_client.cc:327] file_set: hashes/MANIFEST-000096 W20240618 14:57:59.417302 45625 rsync_client.cc:327] file_set: hashes/OPTIONS-000098 W20240618 14:57:59.417312 45625 rsync_client.cc:327] file_set: info W20240618 14:57:59.417322 45625 rsync_client.cc:327] file_set: lists/CURRENT

现象:连续扩容多个实例,出现全量不同步直接跳过,做增量同步

Please provide a link to a minimal reproduction of the bug

No response

Screenshots or videos

No response

Please provide the version you discovered this bug in (check about page for version information)

No response

Anything else?

No response

chejinge commented 2 weeks ago

问题已经修复

Issues-translate-bot commented 2 weeks ago

Bot detected the issue body's language is not English, translate it automatically.


Problem has been fixed