Repository navigation
Fix/josk 640 recovery types - #28
Merged
Merged
Conversation
- Rewrite README: one CRON helper, re-registration table, shorter examples, fixed anchors - RedisAdapter throws when a cluster client is passed without useHashTags: true - Remove duplicate Meteor assets test (covered by test/types/packed.mjs)
…ter scripts by key
- JoSk#shutdown({ timeout }) destroys the instance, waits for running
handlers to call ready(), then hands unfinished interval claims back to
storage so peers run them on their next poll instead of after zombieTime
- destroy() hands back tasks claimed but not started (concurrency queue,
claims that land mid-iterate); releases flush after iterate() returns
- Adapters return claimLeaseId on claimed tasks; update() writes only while
the stored lease matches, so a handler finishing after zombie recovery
cannot overwrite the newer run's schedule
- RedisAdapter sends scripts on cluster clients via sendCommand(firstKey),
working around redis@4 cluster EVAL routing to a random master
(~4% MOVED failures with 3 masters)
- One isClusterClient() check for setup, ping, and script routing
- Live contract suite runs against Redis Cluster when REDIS_CLUSTER_URLS is
set; new CI job covers redis@4 and redis@5 on a 3-master cluster
- Docs and skill references for shutdown(), fencing, and adapter contract
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.
setIntervaland updated JoSk API and troubleshooting references..superpowersfrom Git, npm, and Meteor packages.