Skip to content

chore(cyclestore): remove the CycleStore module and vLLM shadow adapter - #648

Merged
ketor merged 1 commit into
dingodb:mainfrom
ketor:chore/remove-cyclestore
Nov 30, 2026
Merged

ketor merged 1 commit into
dingodb:mainfrom
ketor:chore/remove-cyclestore

Conversation

@ketor

@ketor ketor commented Nov 30, 2026

Copy link
Copy Markdown
Contributor

Summary

Remove the opt-in CycleStore logical-expiry controller (#631, #646) and its vLLM shadow adapter. The logical-expiry ledger is moving to a much simpler Redis-based design that lives with the inference engine, so this module is no longer planned for use. It was default OFF (DFKV_BUILD_CYCLESTORE=OFF) and never wired into a production path.

A read-only review of the merged code also found several defects that would have to be fixed before any real use (for example, the GC scan cursor is replica-local and can make replicas diverge, and the apply-error path runs the same braft closure twice). Removing the module is cheaper than fixing it.

What changes

  • Delete src/cyclestore/ and test/cyclestore/ (51 files).
  • Delete integration/vllm/src/dfkv_vllm/cyclestore_shadow.py, cyclestore_multi_connector.py and their four test files.
  • Remove the CycleStore hooks from scheduler.py and connector.py, and the "CycleStore shadow" section from integration/vllm/README.md.
  • Remove the DFKV_BUILD_CYCLESTORE option, the src/cyclestore / test/cyclestore glob exclusions and the add_subdirectory from the root CMakeLists.txt.

Pure deletion: 61 files, +0 / -24114. The four shared files (CMakeLists.txt, integration/vllm/README.md, connector.py, scheduler.py) are byte-identical to their state before CycleStore was introduced (bbda545d). git grep -i cyclestore is empty afterwards.

What is kept

Unrelated fixes that landed in the same series stay as they are:

  • test/transport/rdma_loopback_test.cc: quarantine release probe synchronization.
  • test/e2e/dfkv_storage_activation.py and its harness test: owned-process startup fixes.
  • test/cache/ram_tier_test.cc: RamTier flush test synchronization.

Testing

  • python -m py_compile on the edited scheduler.py and connector.py.
  • The default build never compiled CycleStore, so the default build and test set should be unchanged; relying on public CI for the full build and tests.

The logical-expiry ledger is being replaced by a much simpler Redis-based
design that lives with the inference engine, so the opt-in CycleStore
controller (default OFF) and its vLLM shadow adapter are no longer needed.

Remove src/cyclestore, test/cyclestore, the cyclestore_shadow and
cyclestore_multi_connector modules with their tests, the scheduler and
connector hooks, the README section, and the DFKV_BUILD_CYCLESTORE option
plus its source/test glob exclusions.

The four shared files are restored byte-for-byte to their state before
CycleStore was introduced (bbda545). Unrelated fixes that landed in the
same series are kept: the RDMA quarantine release probe, the owned-process
startup fixes in the storage activation harness, and the RamTier flush test
synchronization.
@ketor
ketor added this pull request to the merge queue Nov 30, 2026
Merged via the queue into dingodb:main with commit bb89a58 Nov 30, 2026
13 checks passed
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