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

Pika 实现乐观锁功能 #1550

Closed
luky116 opened this issue May 24, 2023 · 4 comments
Closed

Pika 实现乐观锁功能 #1550

luky116 opened this issue May 24, 2023 · 4 comments
Assignees

Comments

@luky116
Copy link
Collaborator

luky116 commented May 24, 2023

基本信息

项目难度:中
支持语言:中文/英文
项目社区导师:刘月财
导师联系邮箱:[email protected]
技术领域:C++、NoSQL
开源协议:BSDv3

项目简述

Watch 命令用于监视一个(或多个) key ,如果在事务执行之前这个(或这些) key 被其他命令所改动,那么事务将被打断,以此来实现乐观锁的功能。此项目希望 Pika 能够支持 Watch 命令。

本项目任务包括:

  • 研究 redis 的 Watch 相关的设计与实现。
  • 在 Pika 中兼容 Watch 的相关命令的功能。
  • 编写相应的文档,包括项目方案、设计文档、测试用例文档和使用文档。
  • 进行测试和验证,确保 Pika 的 Watch 功能能正常运行。

issue: #1550

项目产出要求

  1. 设计项目方案,并定期产出相关文档。
  2. Pika 支持 Watch 命令,以此来实现乐观锁的功能。
  3. 文档完善,包括项目方案、设计文档和使用文档。
  4. 能够通过 PR 形式提交代码并通过 Pika 社区审核后合并。

项目技术要求

  • 熟悉 C++ 编程语言。
  • 熟悉 Redis/Pika 的基本使用。
  • 了解 Redis Watch 功能的实现原理。
  • 具备良好的软件设计和文档编写能力。

项目成果仓库

https://github.com/OpenAtomFoundation/pika

@luky116
Copy link
Collaborator Author

luky116 commented May 27, 2023

@陈品烨

@ATX735
Copy link
Contributor

ATX735 commented May 27, 2023

@陈品烨
Here, I would like to try to handle this issue

@yaoyinnan yaoyinnan removed the GitLink label Jun 27, 2023
@yaoyinnan yaoyinnan changed the title [GitLink] Pika 实现乐观锁功能 Pika 实现乐观锁功能 Jun 27, 2023
@AlexStocks
Copy link
Contributor

AlexStocks commented Jul 7, 2023

    * 0527 陈品烨 黄麒浩
    * 0610 品烨熟悉 pika 代码,wiki 内容过时和错误;麒浩 熟悉 Pika 代码
    * 0617 麒浩 继续推进
    * 0624 麒浩 继续推进
    * 0708 在看 redis watch 相关的设计,继续跟进
    * 0805 李浩根据go集成测试写测试case中

@chejinge
Copy link
Collaborator

这个包含在事务的PR里

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

5 participants