Skip to content

feat: add eloq_store_max_global_request_batch and update submodule #457

Open
thweetkomputer wants to merge 5 commits intoeloqdata:mainfrom
thweetkomputer:feat-shard-id-zc
Open

feat: add eloq_store_max_global_request_batch and update submodule #457
thweetkomputer wants to merge 5 commits intoeloqdata:mainfrom
thweetkomputer:feat-shard-id-zc

Conversation

@thweetkomputer
Copy link
Collaborator

@thweetkomputer thweetkomputer commented Mar 18, 2026

Summary by CodeRabbit

  • Chores
    • Updated an internal subcomponent reference to a newer tracked version; no functional, API, or behavioral changes.
    • Added commented configuration guidance for request batch sizing in cloud configuration docs to clarify the default setting (no executable logic altered).

@coderabbitai
Copy link
Contributor

coderabbitai bot commented Mar 18, 2026

Note

Reviews paused

It looks like this branch is under active development. To avoid overwhelming you with review comments due to an influx of new commits, CodeRabbit has automatically paused this review. You can configure this behavior by changing the reviews.auto_review.auto_pause_after_reviewed_commits setting.

Use the following commands to manage reviews:

  • @coderabbitai resume to resume automatic reviews.
  • @coderabbitai review to trigger a single review.

Use the checkboxes below for quick actions:

  • ▶️ Resume reviews
  • 🔍 Trigger review

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: a299fb44-235c-4ac3-893b-4e8b18c7f74f

📥 Commits

Reviewing files that changed from the base of the PR and between fb8c7ed and 4b87fc1.

📒 Files selected for processing (1)
  • data_substrate
✅ Files skipped from review due to trivial changes (1)
  • data_substrate

Walkthrough

Submodule data_substrate tracked commit pointer advanced from 1a4729b71e08b72f0461bd3fbe107fd728592516 to a4ffdce2d4dca83bc76b52e9ea136ca68b6deca2. eloqkv.ini received two identical commented configuration lines for eloq_store_max_global_request_batch. No executable code, API, or control-flow changes.

Changes

Cohort / File(s) Summary
Submodule Update
data_substrate
Updated tracked submodule pointer from 1a4729b71e08b72f0461bd3fbe107fd728592516 to a4ffdce2d4dca83bc76b52e9ea136ca68b6deca2. Metadata-only change; no functional edits.
Configuration Comments
eloqkv.ini
Added two identical commented lines eloq_store_max_global_request_batch = 1000 under CLOUD CONFIGURATION — documentation/comment-only edits.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~2 minutes

Possibly related PRs

Suggested reviewers

  • MrGuin
  • liunyl

Poem

🐰 I nudged a hash and left a note,
Two tiny comments on a config coat,
No code to chew, no bugs to chase,
Just a gentle hop in version space,
Thump-thump — a snug, small change I wrote.

🚥 Pre-merge checks | ✅ 3
✅ Passed checks (3 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title accurately describes the two main changes: adding a configuration parameter and updating a submodule reference.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
📝 Coding Plan
  • Generate coding plan for human review comments

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.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

Copy link
Contributor

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 2

🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.

Inline comments:
In `@data_substrate`:
- Line 1: The submodule pointer for "data_substrate" references a non-existent
commit (560ce10b762d2e597ea19afebc8ecffa7a48367b); verify that the commit hash
is correct in the remote `tx_service` repo and that the commit has been pushed,
and if not, push the missing commit or update the submodule pointer: either push
the referenced commit to the remote repo or update the submodule reference in
.gitmodules (and the gitlink in the parent repo) to a valid existing commit for
the `data_substrate` submodule, then run the appropriate git submodule
update/init commands and commit the corrected submodule state.

In `@eloqkv.ini`:
- Around line 176-177: The commented INI key eloq_store_max_global_request_batch
is not consumed by code; either remove it from eloqkv.ini or wire it into the
runtime: add the key to the configuration schema (e.g., AppConfig or Config type
used by loadConfig/parseIni), parse it from eloqkv.ini (use the existing
loadConfig/parseIni function), provide a sensible default (e.g., 1000), and pass
the value into EloqStore construction/initialization (EloqStore constructor or
createEloqStore factory) so the batching logic (methods like processBatch or
wherever batching occurs) uses this maxGlobalRequestBatch value. Ensure the
symbol eloq_store_max_global_request_batch is referenced consistently in config
parsing, AppConfig, and the EloqStore initialization path.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: 567f1c64-3ef7-405d-b8b3-fe3629ac704b

📥 Commits

Reviewing files that changed from the base of the PR and between 1b9a997 and d9ec126.

📒 Files selected for processing (2)
  • data_substrate
  • eloqkv.ini

Comment on lines +176 to +177
# Maximum number of requests EloqStore processes in one global batch.
# eloq_store_max_global_request_batch=1000
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Potential issue | 🟠 Major

🧩 Analysis chain

🏁 Script executed:

#!/bin/bash
set -euo pipefail

# 1) Find all references to the new config key.
rg -n --hidden -S '\beloq_store_max_global_request_batch\b'

# 2) Inspect INI-read paths and flag conversion/mapping points.
rg -n --hidden -S 'INIReader|ConvertEloqkvFlagsToTxFlags|GetInteger|GetBoolean|GetReal|Get\(' src

# 3) If a config struct/flag exists, verify mapping into runtime/store options.
rg -n --hidden -S 'max_global_request_batch|global_request_batch|request_batch' src data_substrate

Repository: eloqdata/eloqkv

Length of output: 3845


Remove or wire this INI key—it is not consumed by any code.

The documented config option eloq_store_max_global_request_batch exists only as a comment in lines 176–177 of eloqkv.ini. A full repository search found zero references to this key outside the INI file. It is never parsed or propagated to any runtime configuration, making it a misleading no-op setting that serves no operational purpose. Either remove this documentation, or implement the parsing and propagation logic to actually use it in EloqStore initialization.

🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In `@eloqkv.ini` around lines 176 - 177, The commented INI key
eloq_store_max_global_request_batch is not consumed by code; either remove it
from eloqkv.ini or wire it into the runtime: add the key to the configuration
schema (e.g., AppConfig or Config type used by loadConfig/parseIni), parse it
from eloqkv.ini (use the existing loadConfig/parseIni function), provide a
sensible default (e.g., 1000), and pass the value into EloqStore
construction/initialization (EloqStore constructor or createEloqStore factory)
so the batching logic (methods like processBatch or wherever batching occurs)
uses this maxGlobalRequestBatch value. Ensure the symbol
eloq_store_max_global_request_batch is referenced consistently in config
parsing, AppConfig, and the EloqStore initialization path.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant