codelipenghui opened a new pull request #5786: Fix 
ArrayIndexOutOfBoundsException in PerformanceProducer.
URL: https://github.com/apache/pulsar/pull/5786
 
 
   Fixes #5760
   
   ### Motivation
   
   We use `org.HdrHistogram.Recorder` to record write latency and 
`highestTrackableValue` is `TimeUnit.SECONDS.toMicros(120000)`, but we record 
the value in micros, the error happens when the latency in micros is a very 
large number, so this PR change the `highestTrackableValue` of Recorder to 
`TimeUnit.SECONDS.toMicros(120000)`
   
   ### Does this pull request potentially affect one of the following parts:
   
   *If `yes` was chosen, please highlight the changes*
   
     - Dependencies (does it add or upgrade a dependency): (no)
     - The public API: (no)
     - The schema: (no)
     - The default values of configurations: (no)
     - The wire protocol: (no)
     - The rest endpoints: (no)
     - The admin cli options: (no)
     - Anything that affects deployment: (no)
   
   ### Documentation
   
     - Does this pull request introduce a new feature? (no)
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to