Repository navigation
chore(cyclestore): remove the CycleStore module and vLLM shadow adapter - #648
Merged
Merged
Conversation
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.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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
src/cyclestore/andtest/cyclestore/(51 files).integration/vllm/src/dfkv_vllm/cyclestore_shadow.py,cyclestore_multi_connector.pyand their four test files.scheduler.pyandconnector.py, and the "CycleStore shadow" section fromintegration/vllm/README.md.DFKV_BUILD_CYCLESTOREoption, thesrc/cyclestore/test/cyclestoreglob exclusions and theadd_subdirectoryfrom the rootCMakeLists.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 cyclestoreis 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.pyand its harness test: owned-process startup fixes.test/cache/ram_tier_test.cc: RamTier flush test synchronization.Testing
python -m py_compileon the editedscheduler.pyandconnector.py.