Files
documentdb/pg_helio_api
Deepak Bisht 42e8635a15 Merged PR 1476107: Retry Lost path at the GW
### 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.
2024-10-10 11:17:14 +03:00
..