-
Notifications
You must be signed in to change notification settings - Fork 3.7k
[fix][client] Fix ArrayIndexOutOfBoundsException when using SameAuthParamsLookupAutoClusterFailover #23336
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
[fix][client] Fix ArrayIndexOutOfBoundsException when using SameAuthParamsLookupAutoClusterFailover #23336
Conversation
|
Any chance to add a test case? |
@poorbarcode @Technoboy- any chance to handle this? |
...ent/src/main/java/org/apache/pulsar/client/impl/SameAuthParamsLookupAutoClusterFailover.java
Show resolved
Hide resolved
|
@poorbarcode Do you have a chance to follow up on the review comment? |
Answered here: #23336 (comment) |
…kupAutoClusterFailover
8057c39 to
471669d
Compare
|
Rebase master |
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #23336 +/- ##
============================================
+ Coverage 73.57% 74.37% +0.80%
- Complexity 32624 35036 +2412
============================================
Files 1877 1944 +67
Lines 139502 147334 +7832
Branches 15299 16258 +959
============================================
+ Hits 102638 109583 +6945
- Misses 28908 29286 +378
- Partials 7956 8465 +509
Flags with carried forward coverage won't be shown. Click here to find out more.
|
|
Seems that #24662 was related. |
…aramsLookupAutoClusterFailover (apache#23336) (cherry picked from commit 8fd5bf5)
…aramsLookupAutoClusterFailover (apache#23336) (cherry picked from commit 8fd5bf5)
…aramsLookupAutoClusterFailover (apache#23336) (cherry picked from commit 8fd5bf5) (cherry picked from commit 3552cd9)
…aramsLookupAutoClusterFailover (apache#23336) (cherry picked from commit 8fd5bf5) (cherry picked from commit 3552cd9)
…aramsLookupAutoClusterFailover (apache#23336) (cherry picked from commit 8fd5bf5)
…aramsLookupAutoClusterFailover (apache#23336) (cherry picked from commit 8fd5bf5) (cherry picked from commit 8214bfd)
…aramsLookupAutoClusterFailover (apache#23336) (cherry picked from commit 8fd5bf5) (cherry picked from commit 8214bfd)
…aramsLookupAutoClusterFailover (apache#23336) (cherry picked from commit 8fd5bf5) (cherry picked from commit 8214bfd)
…aramsLookupAutoClusterFailover (apache#23336)
…aramsLookupAutoClusterFailover (apache#23336)
Motivation
There is a mistake in
SameAuthParamsLookupAutoClusterFailover.class, which may cause aArrayIndexOutOfBoundsException, but it affects nothing because it only happens when no server is available.Modifications
Documentation
docdoc-requireddoc-not-neededdoc-completeMatching PR in forked repository
PR in forked repository: x