fix overflowed parameter and add missed parameters#291
fix overflowed parameter and add missed parameters#291thweetkomputer merged 4 commits intoeloqdata:mainfrom
Conversation
|
Warning Rate limit exceeded@thweetkomputer has exceeded the limit for the number of commits or files that can be reviewed per hour. Please wait 9 minutes and 8 seconds before requesting another review. ⌛ How to resolve this issue?After the wait time has elapsed, a review can be triggered using the We recommend that you space out your commits to avoid hitting the rate limit. 🚦 How do rate limits work?CodeRabbit enforces hourly rate limits for each developer per organization. Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout. Please see our FAQ for further information. 📒 Files selected for processing (3)
WalkthroughThe changes modify Eloq storage configuration by introducing new boolean fields for compression and verification skipping, converting index buffer pool size from integer to string-based storage, and adjusting resource sizing calculations across the global options and KV engine initialization logic. Changes
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~20 minutes
Suggested reviewers
Poem
Pre-merge checks and finishing touches❌ Failed checks (1 warning, 1 inconclusive)
✅ Passed checks (1 passed)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
There was a problem hiding this comment.
Actionable comments posted: 1
🧹 Nitpick comments (1)
src/mongo/db/modules/eloq/src/eloq_global_options.h (1)
23-27: Remove duplicate include directives.Lines 23-24 and 26-27 contain identical include directives for
<cstdint>and<sys/types.h>.Apply this diff to remove the duplicates:
#include "mongo/util/options_parser/startup_option_init.h" #include "mongo/util/options_parser/startup_options.h" #include <cstdint> #include <sys/types.h> - -#include <cstdint> -#include <sys/types.h> #include "mongo/db/modules/eloq/tx_service/include/cc_protocol.h"
📜 Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro
📒 Files selected for processing (1)
src/mongo/db/modules/eloq/src/eloq_global_options.h(2 hunks)
🧰 Additional context used
🧠 Learnings (1)
📓 Common learnings
Learnt from: githubzilla
Repo: eloqdata/eloqdoc PR: 211
File: src/mongo/db/modules/eloq/cmake/build_eloq_log_service.cmake:26-80
Timestamp: 2025-09-25T12:24:06.434Z
Learning: The user githubzilla implemented a fix in commit fe98aaf to address the MEMORY state incorrectly triggering RocksDB discovery in build_eloq_log_service.cmake. This was a control flow issue where MEMORY builds were falling into an else branch that still attempted RocksDB discovery.
🔇 Additional comments (2)
src/mongo/db/modules/eloq/src/eloq_global_options.h (2)
145-146: No issues found—both fields are properly integrated and utilized.The verification confirms both
eloqStoreCloudStorePathandeloqStoreStoragePathListare registered as command-line options, assigned from parameters, and actively used in the engine initialization. Each field is checked for non-empty status before use and passed to the storage configuration.
122-123: BotheloqStoreSkipVerifyChecksumandeloqStoreDataAppendModeare properly utilized throughout the codebase:
eloqStoreSkipVerifyChecksum is assigned to the engine config at
eloq_kv_engine.cpp:198, registered as a command-line option ateloq_global_options.cpp:450-453, and parsed from parameters ateloq_global_options.cpp:988-990.eloqStoreDataAppendMode is assigned to the engine config at
eloq_kv_engine.cpp:249, registered as a command-line option ateloq_global_options.cpp:567-570, and parsed from parameters ateloq_global_options.cpp:1056-1058.Both fields have appropriate default values and follow consistent integration patterns with proper parameter handling.
c8655ab to
1ce95a9
Compare
87ff48c to
41d093e
Compare
Summary by CodeRabbit