Skip to content
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

[GitLink] Pika 兼容 Redis 同步命令 #1070

Closed
phenix-gao opened this issue Jun 24, 2021 · 0 comments
Closed

[GitLink] Pika 兼容 Redis 同步命令 #1070

phenix-gao opened this issue Jun 24, 2021 · 0 comments

Comments

@phenix-gao
Copy link

phenix-gao commented Jun 24, 2021

基本信息

项目难度:低
支持语言:中文/英文
项目社区导师:车金鸽
导师联系邮箱:chejinge@360.cn
技术领域:C++、Redis
开源协议:BSDv3

项目简述

Pika 兼容 redis 的 SYNC、PSYNC、PSYNC2 命令。

本项目的主要任务包括:

  • 分析 SYNC、PSYNC、PSYNC2 的作用以及实现原理。
  • 实现 Pika 兼容 SYNC、PSYNC、PSYNC2 命令。
  • 撰写相关文档,包括项目方案、设计文档和使用文档。

项目产出要求

  1. 设计项目方案,并定期产出相关文档。
  2. 实现 Pika 支持 SYNC、PSYNC、PSYNC2 命令。
  3. 良好的编码风格,完善单元测试。
  4. 文档完善,包括项目方案、设计文档和使用文档。
  5. 能够通过 PR 形式提交代码并通过 Pika 社区审核后合并。

项目技术要求

  • 熟悉 C++ 编程语言。
  • 熟悉 Pika 和 Redis cluster 存储。
  • 具备良好的软件设计和文档编写能力。

相关日志

pika 不支持Redis Replication协议的SYNC, PSYNC, PSYNC2三种同步命令,请问有计划支持吗?

1920:S 24 Jun 16:14:06.518 * Retrying with SYNC...
1920:S 24 Jun 16:14:06.522 # MASTER aborted replication with an error: ERR unknown or unsupported command 'sync"
1920:S 24 Jun 16:14:07.519 * Connecting to MASTER 192.168.12.20:9221
1920:S 24 Jun 16:14:07.519 * MASTER <-> SLAVE sync started
1920:S 24 Jun 16:14:07.522 * Non blocking connect for SYNC fired the event.
1920:S 24 Jun 16:14:07.528 * Master replied to PING, replication can continue...
1920:S 24 Jun 16:14:07.537 * (Non critical) Master does not understand REPLCONF listening-port: -ERR unknown or unsupported command 'replconf"
1920:S 24 Jun 16:14:07.542 * (Non critical) Master does not understand REPLCONF capa: -ERR unknown or unsupported command 'replconf"
1920:S 24 Jun 16:14:07.542 * Partial resynchronization not possible (no cached master)
1920:S 24 Jun 16:14:07.545 * Master does not support PSYNC or is in error state (reply: -ERR unknown or unsupported command 'psync")
1920:S 24 Jun 16:14:07.545 * Retrying with SYNC...
@wanghenshui wanghenshui changed the title pika 不支持Redis Replication协议的SYNC, PSYNC, PSYNC2三种同步命令 redis API: suport SYNC/PSYNC/PSYNC2 Feb 22, 2023
@wanghenshui wanghenshui mentioned this issue Feb 22, 2023
78 tasks
@yaoyinnan yaoyinnan changed the title redis API: suport SYNC/PSYNC/PSYNC2 [GitLink] Pika 兼容 Redis 同步命令 May 19, 2023
@yaoyinnan yaoyinnan assigned chejinge and unassigned chejinge May 19, 2023
@luky116 luky116 closed this as completed Jun 10, 2023
@chejinge chejinge reopened this Aug 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

6 participants