mirror of
https://github.com/FerretDB/documentdb.git
synced 2026-11-25 11:49:53 -05:00
### Does this PR have any customer impact? no ### Type (Feature, Refactoring, Bugfix, DevOps, Testing, Perf, etc) bugfix ### Does it involve schema level changes? (Table, Column, Index, UDF, etc level changes) no ### Are you introducing any new config? If yes, do you have tests with and without them being set? no ### Release Note (Refer [Template](../docs/release_notes/pgmongo_template.md)) - Retries the `Lost Path` error at the GW ### Description retry lost path error at GW ---- #### AI description (iteration 1) #### PR Classification Bug fix to handle "Lost Path" errors at the gateway. #### PR Summary This pull request addresses the issue of "Lost Path" errors by updating error handling to retry operations at the gateway. - `/oss/pg_helio_api/src/commands/commands_common.c`: Added logic to detect "Lost Path" errors and update the error message and code to prompt a retry at the gateway. - `/gateway/managed/Mongo.Postgres.Runtime/PostgresClient.cs`: Added handling for the new internal error code "M0000" to recognize and retry operations when an invalid/lost index path is detected.