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

How to dynamically set the values of actualDataNodes in the latest version of sharing-jdbc #34369

Open
wzlstudy opened this issue Jan 16, 2025 · 0 comments

Comments

@wzlstudy
Copy link

wzlstudy commented Jan 16, 2025

Question

I need to implement a feature: divide each month of the year into a table, such as table_2024_01, table_2024_02,...,table_2024_12, Now I need to generate 12 tables for the next year at the end of each year, so I need to dynamically update the values of actualDataNodes. I have looked through the relevant issues, like issue16725 , but the method does not exist in sharding-jdbc 5.5.1 version. How can the latest version of sharding-jdbc implement the function of dynamically setting actualDataNodes;

Note: I am using sharding-jdbc, so the DistSQL method of sharding-proxy is not suitable for me;

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

No branches or pull requests

1 participant