Repository navigation
feat(redis): read entry frames by their logical expiration - #578
Draft
cosmin-staicu wants to merge 1 commit into
Draft
cosmin-staicu wants to merge 1 commit into
cosmin-staicu wants to merge 1 commit into
Conversation
Reserve format id 0x0E and add the entry frame codec. Read framed values using wall-clock expiration and monotonic Redis lifetime. Teach key move and format inventory to recognize frames. Drop peer copies on refresh and carry monotonic bounds into local copies. Signed-off-by: Cosmin Staicu <cosmin.staicu@uipath.com>
This branch has not been deployed
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
Every node learns to read the entry frame before any node writes one, so a mixed fleet stays readable. Stacked on #574; this PR shows only its own layer.
Changes
0x0Efor the entry frame: no value serializer may claim it, and it stays a valid event id.No frame is written yet; writes come in the next PR of the stack.
Tests
Release, net10.0 and net8.0, with Redis: the full
UiPath.Caching.Testsproject passed; new classes cover the codec grammar, framed reads on both clocks, the refresh-event drop, and the local bounds.