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

Create Result Index immediately after datasource creation. #2414

Closed
wants to merge 1 commit into from

Conversation

vamsimanohar
Copy link
Member

@vamsimanohar vamsimanohar commented Nov 3, 2023

Description

Issues Resolved

#2268

Check List

  • New functionality includes testing.
    • All tests pass, including unit test, integration test and doctest
  • New functionality has been documented.
    • New functionality has javadoc added
    • New functionality has user manual doc added
  • 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.

Copy link

codecov bot commented Nov 3, 2023

Codecov Report

Merging #2414 (2c71216) into main (b8aa7ef) will increase coverage by 0.00%.
The diff coverage is 100.00%.

❗ Current head 2c71216 differs from pull request most recent head 3ebd124. Consider uploading reports for the commit 3ebd124 to get more accurate results

@@            Coverage Diff            @@
##               main    #2414   +/-   ##
=========================================
  Coverage     95.54%   95.55%           
- Complexity     4985     4988    +3     
=========================================
  Files           478      478           
  Lines         13883    13910   +27     
  Branches        931      932    +1     
=========================================
+ Hits          13265    13292   +27     
  Misses          598      598           
  Partials         20       20           
Flag Coverage Δ
sql-engine 95.55% <100.00%> (+<0.01%) ⬆️

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

Files Coverage Δ
...sql/datasources/service/DataSourceServiceImpl.java 100.00% <100.00%> (ø)
...s/storage/OpenSearchDataSourceMetadataStorage.java 100.00% <100.00%> (ø)

throw new RuntimeException("Index creation is not acknowledged.");
}
} catch (Throwable e) {
LOG.error("Datasource Query Result Index Creation failed due to :{}", e.getMessage());
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

if result index created failed, datasource creation should failed?

@vamsimanohar vamsimanohar force-pushed the main branch 2 times, most recently from 67f4b15 to aad2032 Compare November 7, 2023 22:13
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.

2 participants