Skip to content

Support some configurations about data partition base on database level#17425

Open
zerolbsony wants to merge 20 commits into
apache:masterfrom
zerolbsony:data-partition-config-by-database
Open

Support some configurations about data partition base on database level#17425
zerolbsony wants to merge 20 commits into
apache:masterfrom
zerolbsony:data-partition-config-by-database

Conversation

@zerolbsony
Copy link
Copy Markdown
Contributor

No description provided.

@zerolbsony zerolbsony force-pushed the data-partition-config-by-database branch from 84d9adf to 1934321 Compare April 2, 2026 07:12
@zerolbsony zerolbsony force-pushed the data-partition-config-by-database branch from 9bf8544 to cbfb381 Compare April 4, 2026 10:58
…se only compare start time with TTL so that don't need the interval parameter.
…nfig-by-database

# Conflicts:
#	iotdb-core/node-commons/src/main/java/org/apache/iotdb/commons/partition/SeriesPartitionTable.java
Defer tree insert time slot calculation until database resolution.

Refresh database time partition config before data partition fetch and compute query slots per database.

Expose database time partition metadata consistently in information schema.
Add no-database overloads for time partition utilities and TsFileSplitter
to preserve existing callers while supporting database-specific partition
configuration.
Convert database time partition config from milliseconds to the current
timestamp precision before caching it, and avoid double conversion during
partition table cleanup.

Also resolve tree-model write splitting with null session database by deriving
the database from the fetched data partition, so slot calculation and region
lookup stay consistent.
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