Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
OpenDAS
dynamo
Commits
065296c3
Unverified
Commit
065296c3
authored
Nov 14, 2025
by
Yan Ru Pei
Committed by
GitHub
Nov 14, 2025
Browse files
chore: use hyphens for Router-related keys (#4325)
Signed-off-by:
PeaBrane
<
yanrpei@gmail.com
>
parent
9f0a3155
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
5 deletions
+1
-5
lib/llm/src/discovery.rs
lib/llm/src/discovery.rs
+1
-1
lib/llm/src/kv_router/subscriber.rs
lib/llm/src/kv_router/subscriber.rs
+0
-4
No files found.
lib/llm/src/discovery.rs
View file @
065296c3
...
@@ -11,4 +11,4 @@ mod worker_monitor;
...
@@ -11,4 +11,4 @@ mod worker_monitor;
pub
use
worker_monitor
::{
KvWorkerMonitor
,
WorkerLoadState
};
pub
use
worker_monitor
::{
KvWorkerMonitor
,
WorkerLoadState
};
/// The root etcd path for KV Router registrations
/// The root etcd path for KV Router registrations
pub
const
KV_ROUTERS_ROOT_PATH
:
&
str
=
"v1/kv
_
routers"
;
pub
const
KV_ROUTERS_ROOT_PATH
:
&
str
=
"v1/kv
-
routers"
;
lib/llm/src/kv_router/subscriber.rs
View file @
065296c3
...
@@ -479,10 +479,6 @@ async fn cleanup_orphaned_consumers(
...
@@ -479,10 +479,6 @@ async fn cleanup_orphaned_consumers(
};
};
// Filter to only routers for this component
// Filter to only routers for this component
// Note: keys differ between storage backends:
// - FileStore: "namespace/component/uuid" (relative to bucket)
// - EtcdStore: "v1/kv_routers/namespace/component/uuid" (full path)
// Use contains() to handle both cases
let
component_path
=
component
.path
();
let
component_path
=
component
.path
();
let
active_uuids
:
HashSet
<
String
>
=
entries
let
active_uuids
:
HashSet
<
String
>
=
entries
.iter
()
.iter
()
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment