-
Notifications
You must be signed in to change notification settings - Fork 3.5k
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
Add backlogSize in topicStats #5914
Conversation
retest this please |
retest this please |
rerun integration tests |
rerun integration tests |
2 similar comments
rerun integration tests |
rerun integration tests |
run integration tests |
rerun integration tests |
1 similar comment
rerun integration tests |
(cherry picked from commit d1d5cf7)
(cherry picked from commit d1d5cf7)
(cherry picked from commit d1d5cf7)
this is not a good practice to break the metrics compatibility. After upgrading the release, it broke our users monitoring and it's not acceptable. we can always add new metrics if needed but it's better to avoid changing existing behavior as there are monitoring and alerts setup of existing metrics. |
@rdhabalia Also, mine is included in 2.5.1 or later. |
Compatibility was broken in 2.5 and it can be fixed in later version. |
@rdhabalia If revert this change, we will break the behavior for version 2.5.x - 2.7.x? |
@rdhabalia probably it is too late. |
it has already broken for all the systems which have been using Pulsar for last 7 years. if any system was using the metrics before 2.5, definitely needs this compatibility back and the one which is not using it, for it this doesn't matter. Introducing incompatibility and not handling is not a good practice. so, it's never late to make things right. |
@rdhabalia Could you please start an email thread for discussion? As far as I understand, most of the users are using 2.5.x 2.6.x 2.7.x. If there are 80% users working on 2.5.x - 2.7.x, I don't think revert this change is a good choice, it will break again. |
So the problem is for people upgrading from 2.4. I agree that we must not change the meaning of metrics and APIs. Probably it is better to not do now the mistake we did in the past with this PR. Users coming from 2.4 will have to update their monitoring systems. |
I don't agree and it's not a responsible statement to say that it's fine to let old users suffer from the change. |
Fix storageSize and add backlogSize in topicStats
Modifications
backlogSize
totopicStats