FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

[fix][broker][monitoring] fix message ack rate by tjiuming · Pull Request #16108 · apache/pulsar · GitHub

Repository navigation

[fix][broker][monitoring] fix message ack rate - #16108

Merged
codelipenghui merged 3 commits into
apache:masterfrom
tjiuming:fix/msg_ack_rate
Jun 21, 2022
Merged

codelipenghui merged 3 commits into
apache:masterfrom
tjiuming:fix/msg_ack_rate

Conversation

Copy link
Copy Markdown
Contributor

Motivation

fix PR.15674, there was a incorrect API usage in it, need to fix.

Modifications

fix issue

Documentation

Check the box below or label this PR directly.

Need to update docs?

  • doc-required
    (Your PR needs to update docs and you will update later)

  • doc-not-needed
    (Please explain why)

  • doc
    (Your PR contains doc changes)

  • doc-complete
    (Docs have been already added)

Copy link
Copy Markdown
Contributor Author

@codelipenghui PTAL

github-actions Bot added the doc-not-needed Your PR changes do not impact docs label Jun 17, 2022
codelipenghui added this to the 2.11.0 milestone Jun 20, 2022
tjiuming mentioned this pull request Jun 20, 2022
1 of 4 tasks

Copy link
Copy Markdown
Contributor

@tjiuming Please check the failed test

 Error:  Tests run: 15, Failures: 1, Errors: 0, Skipped: 11, Time elapsed: 35.275 s <<< FAILURE! - in org.apache.pulsar.broker.stats.ConsumerStatsTest
  Error:  testPersistentTopicMessageAckRateMetricNamespaceLevel(org.apache.pulsar.broker.stats.ConsumerStatsTest)  Time elapsed: 1.558 s  <<< FAILURE!
  java.lang.AssertionError: expected [2] but found [0]
  	at org.testng.Assert.fail(Assert.java:99)
  	at org.testng.Assert.failNotEquals(Assert.java:1037)
  	at org.testng.Assert.assertEqualsImpl(Assert.java:140)
  	at org.testng.Assert.assertEquals(Assert.java:122)
  	at org.testng.Assert.assertEquals(Assert.java:907)
  	at org.testng.Assert.assertEquals(Assert.java:917)
  	at org.apache.pulsar.broker.stats.ConsumerStatsTest.testMessageAckRateMetric(ConsumerStatsTest.java:299)
  	at org.apache.pulsar.broker.stats.ConsumerStatsTest.testPersistentTopicMessageAckRateMetricNamespaceLevel(ConsumerStatsTest.java:248)
  	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
  	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  	at java.base/java.lang.reflect.Method.invoke(Method.java:568)
  	at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:132)
  	at org.testng.internal.InvokeMethodRunnable.runOne(InvokeMethodRunnable.java:45)
  	at org.testng.internal.InvokeMethodRunnable.call(InvokeMethodRunnable.java:73)
  	at org.testng.internal.InvokeMethodRunnable.call(InvokeMethodRunnable.java:11)
  	at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
  	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
  	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
  	at java.base/java.lang.Thread.run(Thread.java:833)

Copy link
Copy Markdown
Contributor Author

@codelipenghui Fixed batch messages ack rate, PTAL

codelipenghui merged commit 8869d8c into apache:master Jun 21, 2022
tjiuming deleted the fix/msg_ack_rate branch June 22, 2022 14:29
codelipenghui pushed a commit that referenced this pull request Jun 28, 2022
mattisonchao added the cherry-picked/branch-2.9 Archived: 2.9 is end of life label Jul 2, 2022
nicoloboschi pushed a commit to datastax/pulsar that referenced this pull request Jul 4, 2022
(cherry picked from commit 8869d8c)
(cherry picked from commit 4ce967e)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cherry-picked/branch-2.9 Archived: 2.9 is end of life cherry-picked/branch-2.10 doc-not-needed Your PR changes do not impact docs release/2.9.4 release/2.10.2 type/bug The PR fixed a bug or issue reported a bug

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants


Back | FazBrowse Home | New Git URL