Closed leixm closed 2 months ago
TimeSlidingHub remove expire node when reading.
Metrics UserProduceSpeed is not correct.
You can see that if a user no longer writes data, UserProduceSpeed still retains the last value until user expires.
No.
UTs.
@AngersZhuuuu @boneanxs @RexXiong @SteNicholas PTAL.
@leixm, thanks for contribution. Merged to main(v0.6.0), branch-0.5(v0.5.2) and branch-0.4(v0.4.3).
What changes were proposed in this pull request?
TimeSlidingHub remove expire node when reading.
Why are the changes needed?
Metrics UserProduceSpeed is not correct.
You can see that if a user no longer writes data, UserProduceSpeed still retains the last value until user expires.
Does this PR introduce any user-facing change?
No.
How was this patch tested?
UTs.