Title: fix: Fixed IntegrityError on SqlRegistry by ntkathole · Pull Request #6047 · feast-dev/feast · GitHub
Open Graph Title: fix: Fixed IntegrityError on SqlRegistry by ntkathole · Pull Request #6047 · feast-dev/feast
X Title: fix: Fixed IntegrityError on SqlRegistry by ntkathole · Pull Request #6047 · feast-dev/feast
Description: What this PR does / why we need it: This PR fixes rest api tests intermittent failures. Sometimes gRPC registry server is crashing on startup with a UniqueViolation: sqlalchemy.exc.IntegrityError: (psycopg.errors.UniqueViolation) duplicate key value violates unique constraint "projects_pkey" DETAIL: Key (project_id)=(driver_ranking) already exists. The Feast pod has two containers (online server + registry server) and these create their own SqlRegistry instance against the same shared Postgres. During initialization, multiple processes race on _maybe_init_project_metadata() -- INSERT into feast_metadata Fixes #5977
Open Graph Description: What this PR does / why we need it: This PR fixes rest api tests intermittent failures. Sometimes gRPC registry server is crashing on startup with a UniqueViolation: sqlalchemy.exc.IntegrityError:...
X Description: What this PR does / why we need it: This PR fixes rest api tests intermittent failures. Sometimes gRPC registry server is crashing on startup with a UniqueViolation: sqlalchemy.exc.IntegrityError:...
Opengraph URL: https://github.com/feast-dev/feast/pull/6047
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:8f508e9e-9417-cbb8-3b07-0397f5dcf376 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | B5AA:15D40:32F59B:49DBDE:6A4E031B |
| html-safe-nonce | 32b6f2777b732ddf8c9068e90ea9a00ecc619a2e077b3caa0b609ae0b495209b |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCNUFBOjE1RDQwOjMyRjU5Qjo0OURCREU6NkE0RTAzMUIiLCJ2aXNpdG9yX2lkIjoiNDg2MTU5MDY3NjYwMzUzNjE1NSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 2cba1095a018f58aa265fa17f95d30cc0e7efd277f07c3e0f1f27953065bd771 |
| hovercard-subject-tag | pull_request:3348483827 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/feast-dev/feast/pull/6047/files |
| twitter:image | https://avatars.githubusercontent.com/u/16951913?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/16951913?s=400&v=4 |
| og:image:alt | What this PR does / why we need it: This PR fixes rest api tests intermittent failures. Sometimes gRPC registry server is crashing on startup with a UniqueViolation: sqlalchemy.exc.IntegrityError:... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | df0492960db29b4938cb72070351d6b1d0c6c0767b27ceb8394bbf4fcc0223c6 |
| turbo-cache-control | no-preview |
| diff-view | unified |
| go-import | github.com/feast-dev/feast git https://github.com/feast-dev/feast.git |
| octolytics-dimension-user_id | 57027613 |
| octolytics-dimension-user_login | feast-dev |
| octolytics-dimension-repository_id | 161133770 |
| octolytics-dimension-repository_nwo | feast-dev/feast |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 161133770 |
| octolytics-dimension-repository_network_root_nwo | feast-dev/feast |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 52bde38e24398476f8eb1e0760c81346c6a00812 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width