Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Should CeresDB support interface route in No-Meta mode? #702

Closed
MichaelLeeHZ opened this issue Mar 7, 2023 · 3 comments
Closed

Should CeresDB support interface route in No-Meta mode? #702

MichaelLeeHZ opened this issue Mar 7, 2023 · 3 comments
Labels
feature New feature or request

Comments

@MichaelLeeHZ
Copy link
Contributor

Describe This Problem

In With-Meta mode, We can use route interface to query table's location as follow:

curl --location --request POST 'http://{CeresMetaAddr}:8080/api/v1/route' \
--header 'Content-Type: application/json' \
--data-raw '{
    "clusterName":"defaultCluster",
    "schemaName":"public",
    "table":["demo"]
}'

But there is no one in No-Meta mode.

Proposal

Should we support interface route in No-Meta mode?

Additional Context

No response

@MichaelLeeHZ MichaelLeeHZ added the feature New feature or request label Mar 7, 2023
@ShiKaiWi ShiKaiWi marked this as a duplicate and then as not a duplicate of #146 Mar 7, 2023
@ShiKaiWi
Copy link
Member

ShiKaiWi commented Mar 7, 2023

Duplicate of #146

@ShiKaiWi ShiKaiWi marked this as a duplicate of #146 Mar 7, 2023
@ShiKaiWi
Copy link
Member

ShiKaiWi commented Mar 7, 2023

If #146 fixed, we can retrieve routing information from CeresDB rather than CeresMeta no matter which mode is chosen.

@MichaelLeeHZ
Copy link
Contributor Author

If #146 fixed, we can retrieve routing information from CeresDB rather than CeresMeta no matter which mode is chosen.

Yes, I think it is more reasonable to retrieve routing information from CeresDB. It is not necessary for users to be aware of Meta.

@ShiKaiWi ShiKaiWi closed this as completed Mar 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants