Fix that WALBuffer waits for flush instead of file-roll #17628
Quality Gate failed
Failed conditions
B Maintainability 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
Distance between variable 'file' declaration and its first usage is 4, but allowed 3. Consider making that variable final if you still need to store its value in advance (before method calls that might have side effects on the original value).
See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AZ4MWO9DJxyiBuPnoZZo&open=AZ4MWO9DJxyiBuPnoZZo&pullRequest=17628
sonarqubecloud / SonarCloud Code Analysis
A "Brain Method" was detected. Refactor it to reduce at least one of the following metrics: LOC from 122 to 64, Complexity from 24 to 14, Nesting Level from 6 to 2, Number of Variables from 12 to 6.
See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AZ4MWPOPJxyiBuPnoZZp&open=AZ4MWPOPJxyiBuPnoZZp&pullRequest=17628
sonarqubecloud / SonarCloud Code Analysis
Remove this call to "await" or move it into a "while" loop.
See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AZ4MWO9DJxyiBuPnoZZm&open=AZ4MWO9DJxyiBuPnoZZm&pullRequest=17628
sonarqubecloud / SonarCloud Code Analysis
Remove this call to "await" or move it into a "while" loop.
See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AZ4MWO9DJxyiBuPnoZZn&open=AZ4MWO9DJxyiBuPnoZZn&pullRequest=17628