fix compile #258
Conversation
WalkthroughA preprocessor guard condition in the log initialization file is updated. AWS credential variable declarations shift from being conditionally compiled under Changes
Estimated code review effort🎯 2 (Simple) | ⏱️ ~8 minutes
Suggested reviewers
Poem
Pre-merge checks and finishing touches❌ Failed checks (1 warning, 1 inconclusive)
✅ Passed checks (1 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: 0
🧹 Nitpick comments (1)
core/src/log_init.cpp (1)
39-42: Guard macro now matches AWS S3 usage; fix looks correctSwitching the
DECLARE_string(aws_access_key_id/secret_key)guard to#if defined(LOG_STATE_TYPE_RKDB_S3)aligns it with the later usage block that is also gated onLOG_STATE_TYPE_RKDB_S3, which should resolve the "undeclared FLAGS_aws_*" compilation issue for S3 log-state builds. As a minor optional tweak, you could mirror the nested condition from the usage site (e.g., also requireLOG_STATE_TYPE_RKDB_CLOUD) to make the coupling even clearer, but it’s not necessary for correctness.
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.