Skip to content

Conversation

@CRZbulabula
Copy link
Contributor

@CRZbulabula CRZbulabula commented Aug 25, 2025

In this PR, we imprelement a new data partition allocation strategy, whose name is SHUFFLE, to facilitate test case construction. To activate this feature, just append the following config:

data_partition_allocation_strategy=SHUFFLE

As the result, this strategy tries to allocate adjacent DataPartitions as inconsistent as possible, but please note the result could be unbalanced.

@sonarqubecloud
Copy link

Quality Gate Failed Quality Gate failed

Failed conditions
1 Security Hotspot
D Reliability Rating on New Code (required ≥ A)

See analysis details on SonarQube Cloud

Catch issues before they fail your Quality Gate with our IDE extension SonarQube for IDE

@codecov
Copy link

codecov bot commented Aug 25, 2025

Codecov Report

❌ Patch coverage is 10.12658% with 71 lines in your changes missing coverage. Please review.
✅ Project coverage is 38.99%. Comparing base (5fd2b81) to head (1f63790).
⚠️ Report is 12 commits behind head on master.

Files with missing lines Patch % Lines
...gnode/manager/load/balancer/PartitionBalancer.java 8.33% 66 Missing ⚠️
...he/iotdb/confignode/conf/ConfigNodeDescriptor.java 0.00% 3 Missing ⚠️
...apache/iotdb/confignode/conf/ConfigNodeConfig.java 50.00% 2 Missing ⚠️
Additional details and impacted files
@@             Coverage Diff              @@
##             master   #16260      +/-   ##
============================================
- Coverage     38.99%   38.99%   -0.01%     
  Complexity      198      198              
============================================
  Files          4886     4886              
  Lines        319616   319665      +49     
  Branches      40348    40356       +8     
============================================
+ Hits         124650   124665      +15     
- Misses       194966   195000      +34     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@CRZbulabula CRZbulabula merged commit 4862e7a into master Aug 26, 2025
29 of 30 checks passed
@CRZbulabula CRZbulabula deleted the random-partition branch August 26, 2025 14:20
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.

2 participants