Adapt to submodule rearragement#335
Conversation
WalkthroughA CMake build configuration file was refactored to reorganize external submodule paths under an Changes
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~20 minutes Suggested reviewers
Poem
Pre-merge checks and finishing touches❌ Failed checks (1 warning)
✅ Passed checks (2 passed)
✨ Finishing touches🧪 Generate unit tests (beta)
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
Fix all issues with AI Agents 🤖
In @store_handler/eloq_data_store_service/build_eloq_store.cmake:
- Around line 92-124: CMake lists ELOQ_STORE_SOURCES referencing files under
ELOQ_STORE_SOURCE_DIR (the eloqstore module) but that directory and the 31 files
(e.g., async_io_manager.cpp, eloq_store.cpp, data_page.cpp) are missing, so
building with WITH_DATA_STORE=ELOQDSS_ELOQSTORE will fail; fix by either adding
the missing eloqstore source tree (commit files or add the eloqstore git
submodule and ensure ELOQ_STORE_SOURCE_DIR points to it), or modify the CMake to
conditionally skip or remove ELOQ_STORE_SOURCES when WITH_DATA_STORE !=
ELOQDSS_ELOQSTORE (or default the option to disabled), updating references to
ELOQ_STORE_SOURCES and ELOQ_STORE_SOURCE_DIR accordingly.
📜 Review details
Configuration used: Organization UI
Review profile: CHILL
Plan: Pro
📒 Files selected for processing (1)
store_handler/eloq_data_store_service/build_eloq_store.cmake
🔇 Additional comments (3)
store_handler/eloq_data_store_service/build_eloq_store.cmake (3)
84-90: LGTM!The include directories are correctly updated to reflect the new
external/,include/, and root directory structure. This aligns well with the submodule reorganization.
75-82: Submodule path updates are correct—no stale references found.The search confirms that all references to
concurrentqueueandabseilwithinbuild_eloq_store.cmakecorrectly use the newexternal/paths. Other modules maintain their own separate submodule structures and do not require updates.
125-125: Original review comment is incorrect.The concern about removing
${INI_SOURCES}from the eloqstore library is invalid. INI functionality was never part of this library. The eloqstore library is built exclusively from${ELOQ_STORE_SOURCES}and contains no INI-related dependencies. INIReader.cpp is compiled separately as part of other targets (tx_service, log_service, eloq_data_store_service), not as part of eloqstore. Configuration classes that require INI parsing (RocksDBConfig, EloqStoreConfig) receive INIReader instances as constructor parameters from their own respective build contexts, not from the eloqstore library.Likely an incorrect or invalid review comment.
Here are some reminders before you submit the pull request
fixes eloqdb/tx_service#issue_id./mtr --suite=mono_main,mono_multi,mono_basicSummary by CodeRabbit
✏️ Tip: You can customize this high-level summary in your review settings.