Load: Optimized the downgraded logic for tsFile to insert more data when tsFile corrupted#17674
Quality Gate failed
Failed conditions
C 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
Annotations
sonarqubecloud / SonarCloud Code Analysis
Replace this usage of 'Stream.collect(Collectors.toList())' with 'Stream.toList()' and ensure that the list is unmodified.
See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AZ7uoz3G8fB74yYqVBQu&open=AZ7uoz3G8fB74yYqVBQu&pullRequest=17674
sonarqubecloud / SonarCloud Code Analysis
Refactor this code so that the Iterator supports multiple traversal
See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AZ7uoz3G8fB74yYqVBQt&open=AZ7uoz3G8fB74yYqVBQt&pullRequest=17674
sonarqubecloud / SonarCloud Code Analysis
Extract this nested try block into a separate method.
See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AZ7uoz8B8fB74yYqVBQw&open=AZ7uoz8B8fB74yYqVBQw&pullRequest=17674
sonarqubecloud / SonarCloud Code Analysis
Replace this instanceof check and cast with 'instanceof RuntimeException runtimeexception'
See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AZ7uoz3G8fB74yYqVBQv&open=AZ7uoz3G8fB74yYqVBQv&pullRequest=17674
sonarqubecloud / SonarCloud Code Analysis
A "Brain Method" was detected. Refactor it to reduce at least one of the following metrics: LOC from 134 to 64, Complexity from 34 to 14, Nesting Level from 4 to 2, Number of Variables from 8 to 6.
See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AZ7uoz8B8fB74yYqVBQx&open=AZ7uoz8B8fB74yYqVBQx&pullRequest=17674
sonarqubecloud / SonarCloud Code Analysis
Replace generic exceptions with specific library exceptions or a custom exception.
See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AZ7uoz3G8fB74yYqVBQs&open=AZ7uoz3G8fB74yYqVBQs&pullRequest=17674
sonarqubecloud / SonarCloud Code Analysis
Constructor has 13 parameters, which is greater than 7 authorized.
See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AZ7uoz8Z8fB74yYqVBQy&open=AZ7uoz8Z8fB74yYqVBQy&pullRequest=17674