Skip to content

Remove retry in ES query - #6191

Merged
pmbrull merged 11 commits into
open-metadata:mainfrom
pmbrull:es-retry-search
Jul 20, 2022
Merged

pmbrull merged 11 commits into
open-metadata:mainfrom
pmbrull:es-retry-search

Conversation

@pmbrull

@pmbrull pmbrull commented Jul 19, 2022

Copy link
Copy Markdown
Member

Describe your changes :

As it was doing more harm than good.

The original idea was to allow some time for ES to get indexed when ingesting view lineaged, but while this is not an issue (and even if we miss it, next ingestion would pick the table up), it is just slowing down the usage pipelines.

Type of change :

  • Bug fix
  • Improvement
  • New feature
  • [] Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • [] Documentation

Frontend Preview (Screenshots) :

For frontend related change, please link screenshots of your changes preview! Optional for backend related changes.

Checklist:

  • I have read the CONTRIBUTING document.
  • I have commented on my code, particularly in hard-to-understand areas.
  • I have added tests that prove my fix is effective or that my feature works.
  • All new and existing tests passed.

Reviewers

@pmbrull
pmbrull temporarily deployed to cypress July 19, 2022 12:26 Inactive
@pmbrull
pmbrull temporarily deployed to cypress July 19, 2022 12:26 Inactive
@pmbrull
pmbrull requested a review from a team July 19, 2022 12:26
@pmbrull
pmbrull temporarily deployed to cypress July 19, 2022 12:57 Inactive
@pmbrull
pmbrull temporarily deployed to cypress July 19, 2022 12:57 Inactive
@cypress

cypress Bot commented Jul 19, 2022 •

Copy link
Copy Markdown



Test summary

47 • 0 • 3 • 0


Run details

Project openmetadata
Status Passed
Commit ab3f789
Started Jul 20, 2022 10:28 AM
Ended Jul 20, 2022 10:37 AM
Duration 08:29 💡
OS Linux Ubuntu - 20.04
Browser Chrome 103

View run in Cypress Dashboard ➡️


This comment has been generated by cypress-bot as a result of this project's GitHub integration settings. You can manage this integration in this project's settings in the Cypress Dashboard

@pmbrull
pmbrull temporarily deployed to cypress July 19, 2022 13:42 Inactive
@pmbrull
pmbrull temporarily deployed to cypress July 19, 2022 13:42 Inactive
@pmbrull
pmbrull temporarily deployed to cypress July 20, 2022 06:48 Inactive
@pmbrull
pmbrull temporarily deployed to cypress July 20, 2022 06:48 Inactive
@pmbrull
pmbrull temporarily deployed to cypress July 20, 2022 08:49 Inactive
@pmbrull
pmbrull temporarily deployed to cypress July 20, 2022 08:49 Inactive
@pmbrull
pmbrull requested a review from nahuelverdugo July 20, 2022 08:49
@pmbrull
pmbrull temporarily deployed to cypress July 20, 2022 08:50 Inactive
@pmbrull
pmbrull temporarily deployed to cypress July 20, 2022 08:50 Inactive
@github-actions

Copy link
Copy Markdown
Contributor

The Python checkstyle failed.

Please run make py_format in the root of your repository and commit the changes to this PR.
You can also use pre-commit to automate the Python code formatting.

You can install the pre-commit hooks with make install_test precommit_install.

@pmbrull
pmbrull temporarily deployed to cypress July 20, 2022 08:58 Inactive
@pmbrull
pmbrull temporarily deployed to cypress July 20, 2022 08:58 Inactive

@nahuelverdugo nahuelverdugo left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Minor suggestion

@pmbrull
pmbrull temporarily deployed to cypress July 20, 2022 10:12 Inactive
@pmbrull
pmbrull temporarily deployed to cypress July 20, 2022 10:12 Inactive
@sonarqubecloud

Copy link
Copy Markdown

[open-metadata-ingestion] Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

100.0% 100.0% Coverage
0.0% 0.0% Duplication

@pmbrull
pmbrull merged commit 2936c0e into open-metadata:main Jul 20, 2022
pmbrull added a commit to pmbrull/OpenMetadata that referenced this pull request Jul 27, 2022
pmbrull added a commit that referenced this pull request Jul 27, 2022
* Fix #5890 - Add health endpoint (#6030)

* Add health endpoint

* Replace rest_status for health

* Update message

* [ISSUE-6162] Upgrade RS SQL statement query (#6188)

* Upgrade RS SQL statement query

* Fix query, remove dupes

* [ISSUE-6162] Escape wildcards on revised RS query (#6200)

[ISSUE-6162] Escape wildcards on revised RS query (#6200)

* Remove retry in ES query (#6191)

Remove retry in ES query (#6191)

* min/max

* Fix  #6161 - kill endpoint for Airflow REST (#6244)

Fix  #6161 - kill endpoint for Airflow REST (#6244)

* Fixes #6031 & #6236 -- Handle binary field & UUID when ingesting sample data (#6233)

Fixes #6031 & #6236 -- Handle binary field & UUID when ingesting sample data (#6233)

* overwrite default sum function to add super for BQ overflow (#6252)

* [TASK-6241] Cache ES ingestion when ingesting usage (#6276)

* Cache ingestion

* Uncomment secrets manager

* Fix experiment stuff

* Fix style

* Add LRU cache

* Add tests

* Fix code smell

* [TASK-6140] Add OMeta header to SQLAlchemy-based queries (#6293)

[TASK-6140] Add OMeta header to SQLAlchemy-based queries (#6293)

* Fix #6248: Use PUT API instead of POST for tag & tagCategory (#6344)

* Fix #6248: Use PUT API instead of POST for tag & tagCategory

* Restructure yield_tag topology

* Renamed method to create_or_update

* compressed logs

* Update packages

* feat(ui): sync OMD theme with AntD components (#6148)

* feat(ui): sync omd theme with antd components

* update package.json

* fixed failing cypress

* fix layout break issue

Co-authored-by: Shailesh Parmar <[email protected]>
(cherry picked from commit 574dbce)

* Fix sql queries formatting

Co-authored-by: Francisco J. Jurado Moreno <[email protected]>
Co-authored-by: Teddy <[email protected]>
Co-authored-by: Mayur Singal <[email protected]>
Co-authored-by: Chirag Madlani <[email protected]>

This branch was previously deployed

1 inactive deployment
cypress — ab3f7894 Deployed Jul 20, 2022 by pmbrull
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