Skip to content

Fix error handling for existing entries in CreateIfNotExistsNamespace#75

Open
CsongSY wants to merge 6 commits into
RocksLabs:unstablefrom
CsongSY:fix20250416
Open

Fix error handling for existing entries in CreateIfNotExistsNamespace#75
CsongSY wants to merge 6 commits into
RocksLabs:unstablefrom
CsongSY:fix20250416

Conversation

@CsongSY
Copy link
Copy Markdown
Contributor

@CsongSY CsongSY commented Apr 16, 2025

Description:
This PR improves the error handling logic in the CreateIfNotExistsNamespace function. Specifically:
It ensures that the error message check for existing entries is more robust and consistent.
Refactors the condition to handle both "the entry already existed" and "already exists" messages.


Changes: Updated the conditional logic in CreateIfNotExistsNamespace to handle specific error messages more effectively.

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.

1 participant