[processor/servicegraph] Fixes the number of bucket counts#16025
Conversation
Signed-off-by: Jared Tan <jian.tan@daocloud.io>
Signed-off-by: Jared Tan <jian.tan@daocloud.io>
9229b37 to
9057817
Compare
|
@mapno hi, do you have time to help review this? |
|
@jpkrohling hi, do you have time to help review this PR? |
|
One thing I wanted to double check, looking at the associated issue, I can see that the the problem happens at line 331 of Are these buckets always going to have a fixed size of N+1 values? It does concern me that there is no check to see if the index is in the bounds of the slice, since this theoretically happen again. |
Fully tested, there are no out-of-scope errors indeed, it might be a check policy in , I guess |
Signed-off-by: Jared Tan <jian.tan@daocloud.io>
Signed-off-by: Jared Tan <jian.tan@daocloud.io> Signed-off-by: Jared Tan <jian.tan@daocloud.io>
|
This PR was marked stale due to lack of activity. It will be closed in 14 days. |
|
Any experter can follow up with this change? |
|
@MovieStoreGuy hi, I added some UT to test it, do you have time to help review this? We are eager to use the latest patches as soon as possible :-P |
|
Looks like the CI failed: |
resolved. |
|
@jpkrohling hi, pls help review this. :-P |
…metry#16025) * Fixes the number of explicit bucket counts. Signed-off-by: Jared Tan <jian.tan@daocloud.io> * add changelog Signed-off-by: Jared Tan <jian.tan@daocloud.io> * fix UT. Signed-off-by: Jared Tan <jian.tan@daocloud.io> * add UT Signed-off-by: Jared Tan <jian.tan@daocloud.io> * polish Signed-off-by: Jared Tan <jian.tan@daocloud.io> * fix ut Signed-off-by: Jared Tan <jian.tan@daocloud.io> Signed-off-by: Jared Tan <jian.tan@daocloud.io>
Description:
fix #16000
Link to tracking Issue:
Testing:
Documentation: