-
Notifications
You must be signed in to change notification settings - Fork 648
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
Use ElasticSearch 8.5.3 in Github Actions, remove Ubuntu 18 #2707
Merged
Conversation
This file contains 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
abitmore
force-pushed
the
support-es8
branch
4 times, most recently
from
December 9, 2022 15:47
acca49b
to
396a714
Compare
abitmore
changed the title
Use ES 8.5.3 in Github Actions, remove Ubuntu 18
Use ElasticSearch 8.5.3 in Github Actions, remove Ubuntu 18
Jan 8, 2023
Since ES version 8, cannot specify a type when using the Search API or the Count API.
since it tests almost nothing.
Kudos, SonarCloud Quality Gate passed! |
17 tasks
abitmore
added a commit
that referenced
this pull request
Jan 10, 2023
Fix Github Actions Ubuntu release build (Follow-up of PR #2707)
This was referenced Jul 3, 2023
abitmore
modified the milestones:
7.1.0 - Feature Release,
7.0.0 - Protocol Upgrade Release
Sep 25, 2023
17 tasks
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
For issues #2670 and #2706.
Note: BitShares Mekong 6.1 can work with ElasticSearch version 8 already, except that
xpack.security.http.ssl.enabled=false
, andhistory_api::get_account_history
API doesn't work, andes_test
unit tests will fail.This PR fixes the API and the test cases mentioned above.
key_not_found_exception: {"key":"count"}
bitshares-core/tests/elasticsearch/main.cpp
Line 84 in bd440cf
Cause: cannot specify types in ES 8 (see Fix for ES7 : Specifying types is deprecated. #1997).
_doc
is used in theelasticsearch_plugin::get_account_history()
function, which is used in an API and related unit tests. I think nobody is using it in production._doc
is used in theelasticsearch_plugin::get_operation_by_id()
function, which is unused (added in elasticsearch history api #1682 #1725 with context)._doc
is used multiple times ines_test
. Note that_doc
is needed for theGET
API, but should not be used with theSEARCH
API or theCOUNT
API.Wildcard expressions or all indices are not allowed
when trying to delete all indices for cleanup in unit tests.Cause: different default behavior between ES 7 and ES 8.