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

Remove _primary preference from get/mget requests #391

Merged
merged 1 commit into from
Aug 31, 2023

Conversation

dreamer-89
Copy link
Member

@dreamer-89 dreamer-89 commented Aug 30, 2023

Description

With opensearch-project/OpenSearch#8536, core now ensures realtime reads for segment replication enabled indices as well. Thus, there is no need to pass _primary preference for get/mget requests.

Issues Resolved

#346

Check List

  • Commits are signed per the DCO using --signoff

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.

@codecov
Copy link

codecov bot commented Aug 30, 2023

Codecov Report

Merging #391 (1e24cdd) into main (446fb23) will increase coverage by 0.10%.
The diff coverage is 100.00%.

@@             Coverage Diff              @@
##               main     #391      +/-   ##
============================================
+ Coverage     88.48%   88.59%   +0.10%     
  Complexity      752      752              
============================================
  Files            92       92              
  Lines          2718     2717       -1     
  Branches        221      221              
============================================
+ Hits           2405     2407       +2     
+ Misses          232      230       -2     
+ Partials         81       80       -1     
Files Changed Coverage Δ
...pensearch/geospatial/ip2geo/dao/DatasourceDao.java 85.80% <100.00%> (-0.10%) ⬇️

... and 1 file with indirect coverage changes

@naveentatikonda
Copy link
Member

@dreamer-89 can you please add CHANGELOG for this change. Also, should we backport this to 2.10 ?

@naveentatikonda naveentatikonda added backport 2.x Backport PR to 2.x branch skip-changelog backport 2.10 Backport to 2.10 branch labels Aug 31, 2023
@naveentatikonda naveentatikonda merged commit 66c3320 into opensearch-project:main Aug 31, 2023
19 of 31 checks passed
opensearch-trigger-bot bot pushed a commit that referenced this pull request Aug 31, 2023
Signed-off-by: Suraj Singh <[email protected]>
(cherry picked from commit 66c3320)
opensearch-trigger-bot bot pushed a commit that referenced this pull request Aug 31, 2023
Signed-off-by: Suraj Singh <[email protected]>
(cherry picked from commit 66c3320)
naveentatikonda pushed a commit that referenced this pull request Aug 31, 2023
Signed-off-by: Suraj Singh <[email protected]>
(cherry picked from commit 66c3320)

Co-authored-by: Suraj Singh <[email protected]>
naveentatikonda pushed a commit that referenced this pull request Aug 31, 2023
Signed-off-by: Suraj Singh <[email protected]>
(cherry picked from commit 66c3320)

Co-authored-by: Suraj Singh <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport 2.x Backport PR to 2.x branch backport 2.10 Backport to 2.10 branch skip-changelog
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants