Skip to content
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:Clusters deployed using IPV6 do not support the DiscoverNodes method #461

Merged
merged 8 commits into from
Jan 24, 2024

Conversation

Zhang-jie-jun
Copy link
Contributor

Description

When using the opensearch-go library to access an opensearch cluster deployed with IPV6, an access error will occur when calling other APIs after calling the DiscoverNodes method.

Issues Resolved

List any issues this PR will resolve, e.g. Closes [...].

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

Copy link

codecov bot commented Jan 19, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (8d09ba8) 57.25% compared to head (b61a874) 57.26%.
Report is 1 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #461      +/-   ##
==========================================
+ Coverage   57.25%   57.26%   +0.01%     
==========================================
  Files         315      315              
  Lines        9820     9823       +3     
==========================================
+ Hits         5622     5625       +3     
  Misses       2904     2904              
  Partials     1294     1294              
Flag Coverage Δ
integration 50.80% <0.00%> (-0.02%) ⬇️
unit 12.84% <100.00%> (+0.02%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

Files Coverage Δ
opensearchtransport/discovery.go 63.07% <100.00%> (+0.87%) ⬆️

@Jakob3xD
Copy link
Collaborator

LGTM, only thing missing is the DCO. Can you please sign your commits.
Afterwards we are good to go from my side.

Zhang-jie-jun and others added 8 commits January 22, 2024 13:45
…ter deployed with IPV6, an access error will occur when calling other APIs after calling the DiscoverNodes method.

opensearch-project#458

Signed-off-by: 张洁俊 <82801500+Zhang-jie-jun@users.noreply.github.com>
Signed-off-by: 张洁俊(Jack) <zhang.jiejun@outlook.com>
Signed-off-by: 张洁俊(Jack) <zhang.jiejun@outlook.com>
Signed-off-by: 张洁俊(Jack) <zhang.jiejun@outlook.com>
Signed-off-by: 张洁俊(Jack) <zhang.jiejun@outlook.com>
Signed-off-by: 张洁俊(Jack) <zhang.jiejun@outlook.com>
Signed-off-by: 张洁俊(Jack) <zhang.jiejun@outlook.com>
Signed-off-by: 张洁俊(Jack) <zhang.jiejun@outlook.com>
Signed-off-by: 张洁俊(Jack) <zhang.jiejun@outlook.com>
@Zhang-jie-jun
Copy link
Contributor Author

LGTM, only thing missing is the DCO. Can you please sign your commits. Afterwards we are good to go from my side.

@Jakob3xD Jakob3xD merged commit 47d276c into opensearch-project:main Jan 24, 2024
98 checks passed
@Jakob3xD
Copy link
Collaborator

Thanks for the PR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants