Skip to content

refactor(query-engine): remove legacy SimpleMapStore implementations - #625

Merged
milindsrivastava1997 merged 1 commit into
mainfrom
worktree-remove-legacy-stores
Aug 26, 2026
Merged

refactor(query-engine): remove legacy SimpleMapStore implementations#625
milindsrivastava1997 merged 1 commit into
mainfrom
worktree-remove-legacy-stores

Conversation

@milindsrivastava1997

Copy link
Copy Markdown
Contributor

Summary

  • Deletes LegacySimpleMapStoreGlobal/PerKey (src/stores/simple_map_store/legacy/) and the simple_store_bench comparison benchmark that exercised them
  • Removes the legacy_stores feature flag from asap-query-engine/Cargo.toml — the flag was gating this dead-weight code but was tripping cargo clippy in pre-commit

Test plan

  • cargo clippy -p query_engine_rust --all-targets — clean
  • pre-commit hooks (cargo fmt/check/clippy/test) pass on commit

Legacy stores and their comparison benchmark were gated behind a feature
flag but broke cargo clippy pre-commit; deleting them outright removes
the flag and the failure.

Co-Authored-By: Claude Sonnet 5 <[email protected]>
@milindsrivastava1997
milindsrivastava1997 merged commit 88132c2 into main Aug 26, 2026
5 checks passed
@milindsrivastava1997
milindsrivastava1997 deleted the worktree-remove-legacy-stores branch August 26, 2026 03:28
milindsrivastava1997 added a commit that referenced this pull request Aug 26, 2026
… unused criterion dep (#626)

roborev flagged that #625 deleted the benches/ directory but left both
Dockerfiles creating a stub for the now-gone simple_store_bench.rs, and
left criterion as an unused dev-dependency.

Co-authored-by: Claude Sonnet 5 <[email protected]>
milindsrivastava1997 added a commit that referenced this pull request Aug 26, 2026
…627)

* wip(query-engine): batched exact-window store query (#609)

Checkpoint before merging main (legacy stores gated behind feature
flag in #624). Not yet wired into scan_windows_via_exact; no tests
yet.

* wip(query-engine): wire batched exact-window query into scan_windows_via_exact (#609)

Checkpoint before rebasing onto main (legacy stores removed in #625).

* fix(query-engine): restore lock_profiling on batch exact-query, dedupe per_key/global

Addresses review feedback on #609's batch method:
- per_key.rs and global.rs had dropped the lock_profiling wait/hold-time
  instrumentation that the single-window path has, on exactly the path
  now most affected by longer lock hold times.
- The per-window epoch-resolution loop (current_epoch/sealed_epochs
  lookup, read-count bookkeeping) was copy-pasted between the two
  backends. Extracted into common::resolve_exact_windows, shared by both.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant