Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(anna): Hot reloadable dynamic config. #1478

Open
wants to merge 1 commit into
base: anna_v2
Choose a base branch
from

Conversation

rohitkulshreshtha
Copy link
Contributor

Editing a k8s ConfigMap now cause configuration to be reloaded across all pods where the server is running.

│ 2024-10-04T01:43:21.722805Z TRACE run_async:run_available_async:run_stratum{tick=1 stratum=0}: gossip_server::config: Event: Event { kind: Modify(Name(To)), paths: ["/config/dynamic/..data"], attr:tracker: Some(1307780), attr:fla
│ 2024-10-04T01:43:21.722888Z TRACE run_async:run_available_async:run_stratum{tick=1 stratum=0}: gossip_server: Settings updated. Reloading seed nodes 
│ 2024-10-04T01:43:21.723242Z TRACE run_async:run_available_async:run_stratum{tick=1 stratum=0}: hydroflow::scheduled::graph: return=true 
│ 2024-10-04T01:43:21.723260Z TRACE run_async:run_available_async:next_stratum{current_tick_only=false}: hydroflow::scheduled::graph: Starting `next_stratum` call. events_received_tick=true can_start_tick=false 
│ 2024-10-04T01:43:21.723263Z TRACE run_async:run_available_async:next_stratum{current_tick_only=false}: hydroflow::scheduled::graph: Starting tick, setting `can_start_tick = false`. 
│ 2024-10-04T01:43:21.723266Z TRACE run_async:run_available_async:next_stratum{current_tick_only=false}: hydroflow::scheduled::graph: Looking for work on stratum. tick=1 stratum=0
│ 2024-10-04T01:43:21.723270Z TRACE run_async:run_available_async:next_stratum{current_tick_only=false}: hydroflow::scheduled::graph: Looking for work on stratum. tick=1 stratum=1 
│ 2024-10-04T01:43:21.723274Z TRACE run_async:run_available_async:next_stratum{current_tick_only=false}: hydroflow::scheduled::graph: Work found on stratum. tick=1 stratum=1 
│ 2024-10-04T01:43:21.723277Z TRACE run_async:run_available_async:next_stratum{current_tick_only=false}: hydroflow::scheduled::graph: return=true
│ 2024-10-04T01:43:21.723282Z TRACE run_async:run_available_async:run_stratum{tick=1 stratum=1}: hydroflow::scheduled::graph: Running subgraph. sg_id=5 sg_name="Subgraph GraphSubgraphId(3v1)"
│ 2024-10-04T01:43:21.723289Z  INFO run_async:run_available_async:run_stratum{tick=1 stratum=1}: gossip_server::server: Updated seed nodes: [SeedNode { id: "gossip-kv-seed-nodes-0", address: 10.244.0.3:3001 }

Copy link

Deploying hydroflow with  Cloudflare Pages  Cloudflare Pages

Latest commit: f373b77
Status: ✅  Deploy successful!
Preview URL: https://b0ee6476.hydroflow.pages.dev
Branch Preview URL: https://rohit-k8s-live-config-update.hydroflow.pages.dev

View logs

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