oceanbase / odc

OceanBase Developer Center(ODC), An open-source, enterprise-grade database tool for collaborative development
https://github.com/oceanbase/odc
Apache License 2.0
534 stars 54 forks source link

[Bug]: If you create a new schema table, the schema supports a maximum of 1,000 shards #3470

Closed qymsummer closed 3 weeks ago

qymsummer commented 1 month ago

ODC version

4.3.2

OB version

no related

What happened?

If you create a new schema table, the maximum number of shards in a schema is 1,000

What did you expect to happen?

If you create a new logic database table, the maximum number of shards in the logic database is 1,000, and the number of shards exceeds 1,000 and the maximum number of tables is Integer.MAX_VALUE.

How can we reproduce it (as minimally and precisely as possible)?

Create a logical table, enter a logical table with more than 1000 databases and more than Integer.MAX_VALUE, and observe the page response

Anything else we need to know?

No response

qymsummer commented 3 weeks ago

Image pass