Skip to content

[DynamicScheduler] Incorrect score logging in Score method #66

@B-Betty

Description

@B-Betty

Description
In the Score method of pkg/plugins/dynamix/plugins.go , there's a logging issue where the displayed "score" value is actually the post-hotValue-adjusted value rather than the original score. This makes debugging and analysis difficult as the logs don't show the original score before hotValue adjustment.

Steps to reproduce:
Enable debug logging (V=4) 
Observe scheduler scoring logs 
Compare the logged "score" value with what would be expected from getNodeScore
Expected behavior:
The log should show:
· The original score from getNodeScore 
· The hotValue adjustment 
· The final normalized score

Actual behavior:
The log shows the adjusted score (after hotValue subtraction) in both the "score" and "final score" positions, making it impossible to see the original score.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions