-
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
docs:add 355 changelog #2867
docs:add 355 changelog #2867
Conversation
WalkthroughThe recent changes to the Pika project significantly enhance resource management, command execution, and data consistency. Key updates include a benchmarking tool for stress testing, a scheduled log deletion task, and optimizations in command handling. Additionally, the master-slave replication model has been revamped to improve performance, while critical bug fixes enhance reliability and stability, overall enriching the Pika system's functionality. Changes
Sequence Diagram(s)sequenceDiagram
participant User
participant Pika
participant LogManager
participant BenchmarkTool
participant CommandHandler
User->>Pika: Execute Command
Pika->>CommandHandler: Process Command
CommandHandler->>Pika: Command Result
Pika->>BenchmarkTool: Record Performance
LogManager->>Pika: Scheduled Log Cleanup
Pika-->>User: Return Result
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media? TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (invoked as PR comments)
Additionally, you can add CodeRabbit Configuration File (
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actionable comments posted: 3
Outside diff range, codebase verification and nitpick comments (17)
CHANGELOG_CN.MD (5)
5-5
: Ensure clarity in feature descriptions.The description "Pika 线程整理,避免启动无用线程造成资源浪费" could be more specific about what the thread organization entails and how it prevents resource waste.
13-13
: Clarify the use ofpksetexat
command.The description mentions using
pksetexat
to prevent data from not expiring. It would be helpful to briefly explain how this command achieves that.
21-21
: Ensure clarity in improvement descriptions.The description "更新 Pika Docker Readme, 可以按照 Readme 在 Docker 中部署 Pika 服务" should specify what changes were made to the Readme for clarity.
23-23
: Clarify dynamic adjustment of RocksDB parameters.The description could benefit from specifying which RocksDB parameters can now be dynamically adjusted.
63-64
: Complete the bug fix description.The description "修复 sentinel 主从切换时,由于主节点和从节点数据量不一致导致" is incomplete. It should specify what issue arises from the data inconsistency.
CHANGELOG.MD (12)
10-10
: Add space before the link for clarity.There is a missing space between the word "charts" and the link.
- statistical charts[#2663](https://github.com/OpenAtomFoundation/pika/pull/2663) + statistical charts [#2663](https://github.com/OpenAtomFoundation/pika/pull/2663)
12-12
: Add space before the link for clarity.There is a missing space between "needs" and the link.
- based on your needs[#2829](https://github.com/OpenAtomFoundation/pika/pull/2829) + based on your needs [#2829](https://github.com/OpenAtomFoundation/pika/pull/2829)
16-16
: Remove duplicate reference number.The reference number
#2837
is repeated.- RTC model #2837 by [#2837](https://github.com/OpenAtomFoundation/pika/pull/2837) + RTC model by [#2837](https://github.com/OpenAtomFoundation/pika/pull/2837)
44-44
: Add space before the link for clarity.There is a missing space between "layer" and the link.
- storage layer[#2729](https://github.com/OpenAtomFoundation/pika/pull/2729) + storage layer [#2729](https://github.com/OpenAtomFoundation/pika/pull/2729)
46-46
: Add space before the link for clarity.There is a missing space between "batches" and the link.
- in batches[#2746](https://github.com/OpenAtomFoundation/pika/pull/2746) + in batches [#2746](https://github.com/OpenAtomFoundation/pika/pull/2746)
48-48
: Add space before the link for clarity.There is a missing space between "cache" and the link.
- the cache[#2759](https://github.com/OpenAtomFoundation/pika/pull/2759) + the cache [#2759](https://github.com/OpenAtomFoundation/pika/pull/2759)
52-52
: Add space before the link for clarity.There is a missing space between "persist" and the link.
- persist [#2724](https://github.com/OpenAtomFoundation/pika/pull/2724) + persist [#2724](https://github.com/OpenAtomFoundation/pika/pull/2724)
54-54
: Add space before the link for clarity.There is a missing space between "interruptions" and the link.
- interruptions[#2741](https://github.com/OpenAtomFoundation/pika/pull/2741) + interruptions [#2741](https://github.com/OpenAtomFoundation/pika/pull/2741)
56-56
: Add space before the link for clarity.There is a missing space between "values" and the link.
- values[#2763](https://github.com/OpenAtomFoundation/pika/pull/2763) + values [#2763](https://github.com/OpenAtomFoundation/pika/pull/2763)
58-58
: Add space before the link for clarity.There is a missing space between "separation" and the link.
- separation[#2767](https://github.com/OpenAtomFoundation/pika/pull/2767) + separation [#2767](https://github.com/OpenAtomFoundation/pika/pull/2767)
60-60
: Add space before the link for clarity.There is a missing space between "replication" and the link.
- replication[#2756](https://github.com/OpenAtomFoundation/pika/pull/2756) + replication [#2756](https://github.com/OpenAtomFoundation/pika/pull/2756)
62-62
: Remove spaces inside emphasis markers.There are unnecessary spaces inside the emphasis markers.
- _ timerTaskThread_ + _timerTaskThread_Tools
Markdownlint
62-62: null
Spaces inside emphasis markers(MD037, no-space-in-emphasis)
Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
Files selected for processing (2)
- CHANGELOG.MD (1 hunks)
- CHANGELOG_CN.MD (1 hunks)
Additional context used
LanguageTool
CHANGELOG_CN.MD
[uncategorized] ~33-~33: 动词的修饰一般为‘形容词(副词)+地+动词’。您的意思是否是:不必要"地"锁
Context: ...m/cheniujh) - 优化 Apply binlog时锁机制,减少不必要的锁竞争[#2638](https://github.com/OpenAtomFo...(wb4)
CHANGELOG.MD
[style] ~90-~90: Consider using a different verb for a more formal wording.
Context: ...](https://github.com/bigdaronlee163) - Fixed an issue where Pika did not support Red...(FIX_RESOLVE)
Markdownlint
CHANGELOG_CN.MD
61-61: null
Spaces inside emphasis markers(MD037, no-space-in-emphasis)
CHANGELOG.MD
62-62: null
Spaces inside emphasis markers(MD037, no-space-in-emphasis)
|
||
- 修复 RsynClient 异常退出后,未做失败处理导致全量复制数据不完整的问题[#2756](https://github.com/OpenAtomFoundation/pika/pull/2756)@[cheniujh](https://github.com/cheniujh) | ||
|
||
- timerTaskThread_ 重命令为 timer_task_thread_[#2776](https://github.com/OpenAtomFoundation/pika/pull/2776)@[cheniujh](https://github.com/cheniujh) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Remove spaces inside emphasis markers.
There are spaces inside the emphasis markers around "timerTaskThread_", which should be removed for proper Markdown formatting.
- timerTaskThread_ 重命令为 timer_task_thread_
+ timerTaskThread_ 重命名为 timer_task_thread_
Committable suggestion was skipped due to low confidence.
Tools
Markdownlint
61-61: null
Spaces inside emphasis markers(MD037, no-space-in-emphasis)
CHANGELOG_CN.MD
Outdated
|
||
- 增加主从复制状态指标 repl_connect_status,方便运维人员清晰明确的判断当前的主从复制状态。[#2656](https://github.com/OpenAtomFoundation/pika/pull/2656)@[cheniujh](https://github.com/cheniujh) | ||
|
||
- 优化 Apply binlog时锁机制,减少不必要的锁竞争[#2638](https://github.com/OpenAtomFoundation/pika/pull/2638)@[cheniujh](https://github.com/cheniujh) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Add "地" for grammatical correctness.
The phrase "减少不必要锁竞争" should be "减少不必要地锁竞争" to be grammatically correct.
- 优化 Apply binlog时锁机制,减少不必要锁竞争
+ 优化 Apply binlog时锁机制,减少不必要地锁竞争
Committable suggestion
‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.
- 优化 Apply binlog时锁机制,减少不必要的锁竞争[#2638](https://github.com/OpenAtomFoundation/pika/pull/2638)@[cheniujh](https://github.com/cheniujh) | |
- 优化 Apply binlog时锁机制,减少不必要锁竞争[#2638](https://github.com/OpenAtomFoundation/pika/pull/2638)@[cheniujh](https://github.com/cheniujh) | |
+ 优化 Apply binlog时锁机制,减少不必要地锁竞争[#2638](https://github.com/OpenAtomFoundation/pika/pull/2638)@[cheniujh](https://github.com/cheniujh) |
Tools
LanguageTool
[uncategorized] ~33-~33: 动词的修饰一般为‘形容词(副词)+地+动词’。您的意思是否是:不必要"地"锁
Context: ...m/cheniujh) - 优化 Apply binlog时锁机制,减少不必要的锁竞争[#2638](https://github.com/OpenAtomFo...(wb4)
CHANGELOG_CN.MD
Outdated
|
||
- 将管理命令移出主线程,防止因为管理命令调用频繁或者耗时过高,阻塞主线程[#2727](https://github.com/OpenAtomFoundation/pika/pull/2727)@[chejinge](https://github.com/chejinge) | ||
|
||
- 添加 pika benchark 工具,旨在提升压测效率,并输出可视化的统计图表[#2663](https://github.com/OpenAtomFoundation/pika/pull/2663)@[luky116](https://github.com/luky116) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Correct spelling error in "benchmark".
The word "benchark" is likely a typo and should be corrected to "benchmark".
- 添加 pika benchark 工具,旨在提升压测效率,并输出可视化的统计图表
+ 添加 pika benchmark 工具,旨在提升压测效率,并输出可视化的统计图表
Committable suggestion
‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.
- 添加 pika benchark 工具,旨在提升压测效率,并输出可视化的统计图表[#2663](https://github.com/OpenAtomFoundation/pika/pull/2663)@[luky116](https://github.com/luky116) | |
- 添加 pika benchmark 工具,旨在提升压测效率,并输出可视化的统计图表[#2663](https://github.com/OpenAtomFoundation/pika/pull/2663)@[luky116](https://github.com/luky116) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actionable comments posted: 1
Outside diff range, codebase verification and nitpick comments (9)
CHANGELOG.MD (9)
5-5
: Ensure consistent formatting for pull request references.The pull request references should be consistently formatted. Consider using a space before the pull request number and ensuring uniformity in all entries.
- ...RTC model[#2841](https://github.com/OpenAtomFoundation/pika/pull/2841)... + ...RTC model [#2841](https://github.com/OpenAtomFoundation/pika/pull/2841)...Also applies to: 7-7, 9-9, 11-11, 13-13, 15-15, 17-17
9-9
: Clarify the description of the feature.The description of the feature regarding
incr
andappend
commands could be clearer. Consider rephrasing to specify how thepksetexat
command resolves the issue.- ...to prevent data from not expiring due to incorrect operations... + ...to ensure data expires correctly, preventing stale data...
22-22
: Ensure consistent formatting for pull request references.The pull request references should be consistently formatted. Consider using a space before the pull request number and ensuring uniformity in all entries.
- ...extreme cases[#2798](https://github.com/OpenAtomFoundation/pika/pull/2798)... + ...extreme cases [#2798](https://github.com/OpenAtomFoundation/pika/pull/2798)...Also applies to: 24-24, 26-26, 28-28, 30-30, 32-32, 34-34, 36-36, 38-38
24-24
: Clarify the description of the improvement.The description regarding RocksDB parameters could be clearer. Specify how dynamic adjustments improve performance.
- ...allowing users to adjust parameters based on different business scenarios... + ...allowing users to tailor parameters to specific business scenarios, enhancing read and write performance...
43-43
: Ensure consistent formatting for pull request references.The pull request references should be consistently formatted. Consider using a space before the pull request number and ensuring uniformity in all entries.
- ...disconnections[#2863](https://github.com/OpenAtomFoundation/pika/pull/2863)... + ...disconnections [#2863](https://github.com/OpenAtomFoundation/pika/pull/2863)...Also applies to: 45-45, 47-47, 49-49, 51-51, 53-53, 55-55, 57-57, 59-59, 61-61, 63-63, 65-65, 67-67, 69-69, 71-71, 73-73, 75-75, 77-77, 79-79, 81-81, 83-83, 85-85, 87-87, 89-89, 91-91, 93-93, 95-95, 97-97, 99-99, 101-101, 103-103, 105-105, 107-107, 109-109, 111-111
49-49
: Consider using a more formal verb.For a more formal tone, consider using "resolve" instead of "fix" in the description.
- Fixed an issue where Pika did not support Redis-Sentinel. + Resolved an issue where Pika did not support Redis-Sentinel.Tools
LanguageTool
[style] ~49-~49: Consider using a different verb for a more formal wording.
Context: ...eniujh](https://github.com/cheniujh) - Fixed an issue where Pika did not support Red...(FIX_RESOLVE)
63-63
: Consider using a more formal verb.For a more formal tone, consider using "resolve" instead of "fix" in the description.
- Fixed the issue of Sentinel role reversal errors... + Resolved the issue of Sentinel role reversal errors...Tools
LanguageTool
[style] ~63-~63: Consider using a different verb for a more formal wording.
Context: ...luky116](https://github.com/luky116) - Fixed the issue of Sentinel role reversal err...(FIX_RESOLVE)
101-101
: Consider using a more formal verb.For a more formal tone, consider using "resolve" instead of "fix" in the description.
- Fixed an issue where Pika cmdID assignment... + Resolved an issue where Pika cmdID assignment...Tools
LanguageTool
[style] ~101-~101: Consider using a different verb for a more formal wording.
Context: ...luky116](https://github.com/luky116) - Fixed an issue where Pika cmdID assignment in...(FIX_RESOLVE)
111-111
: Consider using a hyphen for compound adjectives.Use a hyphen for clarity in compound adjectives.
- ...in master-slave sync rate limiting logic. + ...in master-slave sync rate-limiting logic.Tools
LanguageTool
[uncategorized] ~111-~111: If this is a compound adjective that modifies the following noun, use a hyphen.
Context: ...d unlocking issues in master-slave sync rate limiting logic.[#2657](https://github.com/OpenAt...(EN_COMPOUND_ADJECTIVE_INTERNAL)
Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
Files selected for processing (2)
- CHANGELOG.MD (1 hunks)
- CHANGELOG_CN.MD (1 hunks)
Additional context used
LanguageTool
CHANGELOG_CN.MD
[uncategorized] ~24-~24: 动词的修饰一般为‘形容词(副词)+地+动词’。您的意思是否是:不必要"地"锁
Context: .../cheniujh) - 优化 Apply binlog 时锁机制,减少不必要的锁竞争[#2773](https://github.com/OpenAtomFo...(wb4)
CHANGELOG.MD
[style] ~49-~49: Consider using a different verb for a more formal wording.
Context: ...eniujh](https://github.com/cheniujh) - Fixed an issue where Pika did not support Red...(FIX_RESOLVE)
[style] ~63-~63: Consider using a different verb for a more formal wording.
Context: ...luky116](https://github.com/luky116) - Fixed the issue of Sentinel role reversal err...(FIX_RESOLVE)
[style] ~101-~101: Consider using a different verb for a more formal wording.
Context: ...luky116](https://github.com/luky116) - Fixed an issue where Pika cmdID assignment in...(FIX_RESOLVE)
[typographical] ~107-~107: Two consecutive dots
Context: ...after a timeout in multi-DB environments..[#2667](https://github.com/OpenAtomFound...(DOUBLE_PUNCTUATION)
[uncategorized] ~111-~111: If this is a compound adjective that modifies the following noun, use a hyphen.
Context: ...d unlocking issues in master-slave sync rate limiting logic.[#2657](https://github.com/OpenAt...(EN_COMPOUND_ADJECTIVE_INTERNAL)
Markdownlint
CHANGELOG_CN.MD
77-77: null
Spaces inside emphasis markers(MD037, no-space-in-emphasis)
CHANGELOG.MD
77-77: null
Spaces inside emphasis markers(MD037, no-space-in-emphasis)
Additional comments not posted (3)
CHANGELOG_CN.MD (3)
17-17
: Correct spelling error in "benchmark".The word "benchark" is likely a typo and should be corrected to "benchmark".
24-24
: Add "地" for grammatical correctness.The phrase "减少不必要锁竞争" should be "减少不必要地锁竞争" to be grammatically correct.
Tools
LanguageTool
[uncategorized] ~24-~24: 动词的修饰一般为‘形容词(副词)+地+动词’。您的意思是否是:不必要"地"锁
Context: .../cheniujh) - 优化 Apply binlog 时锁机制,减少不必要的锁竞争[#2773](https://github.com/OpenAtomFo...(wb4)
77-77
: Remove spaces inside emphasis markers.There are spaces inside the emphasis markers around "timerTaskThread_", which should be removed for proper Markdown formatting.
Tools
Markdownlint
77-77: null
Spaces inside emphasis markers(MD037, no-space-in-emphasis)
|
||
- Fixed a data race issue in server_stat.[#2671](https://github.com/OpenAtomFoundation/pika/pull/2671)@[cheniujh](https://github.com/cheniujh) | ||
|
||
- Enhanced the full sync process to automatically retry after a timeout in multi-DB environments..[#2667](https://github.com/OpenAtomFoundation/pika/pull/2667)@[cheniujh](https://github.com/cheniujh) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Correct double punctuation.
Remove the extra period in the sentence.
- ...in multi-DB environments..
+ ...in multi-DB environments.
Committable suggestion
‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.
- Enhanced the full sync process to automatically retry after a timeout in multi-DB environments..[#2667](https://github.com/OpenAtomFoundation/pika/pull/2667)@[cheniujh](https://github.com/cheniujh) | |
- Enhanced the full sync process to automatically retry after a timeout in multi-DB environments.[#2667](https://github.com/OpenAtomFoundation/pika/pull/2667)@[cheniujh](https://github.com/cheniujh) |
Tools
LanguageTool
[typographical] ~107-~107: Two consecutive dots
Context: ...after a timeout in multi-DB environments..[#2667](https://github.com/OpenAtomFound...(DOUBLE_PUNCTUATION)
* docs:add 355 changelog --------- Co-authored-by: chejinge <[email protected]>
* docs:add 355 changelog --------- Co-authored-by: chejinge <[email protected]>
Summary by CodeRabbit
New Features
Improvements
Bug Fixes