Add ImportWAL tool with WAL replay controls - #18516
Quality Gate failed
Failed conditions
E 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
Abbreviation in name 'WALReplayException' must contain no more than '2' consecutive capital letters.
See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AaAzdUktDJpul7RU4fgf&open=AaAzdUktDJpul7RU4fgf&pullRequest=18516
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=AaAzdUZBDJpul7RU4ffy&open=AaAzdUZBDJpul7RU4ffy&pullRequest=18516
sonarqubecloud / SonarCloud Code Analysis
Line is longer than 100 characters (found 101).
See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AaAzdUESDJpul7RU4ffN&open=AaAzdUESDJpul7RU4ffN&pullRequest=18516
sonarqubecloud / SonarCloud Code Analysis
Replace this use of System.err by a logger.
See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AaAzdUktDJpul7RU4ff-&open=AaAzdUktDJpul7RU4ff-&pullRequest=18516
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=AaAzdUktDJpul7RU4ff4&open=AaAzdUktDJpul7RU4ff4&pullRequest=18516
sonarqubecloud / SonarCloud Code Analysis
Abbreviation in name 'createWALReplayWorker' must contain no more than '2' consecutive capital letters.
See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AaAzdUktDJpul7RU4fgK&open=AaAzdUktDJpul7RU4fgK&pullRequest=18516
sonarqubecloud / SonarCloud Code Analysis
Line is longer than 100 characters (found 138).
See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AaAzdUktDJpul7RU4fgb&open=AaAzdUktDJpul7RU4fgb&pullRequest=18516
sonarqubecloud / SonarCloud Code Analysis
Refactor the code in order to not assign to this loop counter from within the loop body.
See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AaAzdUL4DJpul7RU4ffX&open=AaAzdUL4DJpul7RU4ffX&pullRequest=18516
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=AaAzdUktDJpul7RU4ff_&open=AaAzdUktDJpul7RU4ff_&pullRequest=18516
sonarqubecloud / SonarCloud Code Analysis
Abbreviation in name 'WALReplayer' must contain no more than '2' consecutive capital letters.
See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AaAzdUktDJpul7RU4fga&open=AaAzdUktDJpul7RU4fga&pullRequest=18516
sonarqubecloud / SonarCloud Code Analysis
All overloaded methods should be placed next to each other. Placing non-overloaded methods in between overloaded methods with the same type is a violation. Previous overloaded method located at line '45'.
See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AaAzdUCSDJpul7RU4ffL&open=AaAzdUCSDJpul7RU4ffL&pullRequest=18516
sonarqubecloud / SonarCloud Code Analysis
Refactor this method to reduce its Cognitive Complexity from 16 to the 15 allowed.
See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AaAzdUcUDJpul7RU4ffz&open=AaAzdUcUDJpul7RU4ffz&pullRequest=18516
sonarqubecloud / SonarCloud Code Analysis
Merge the previous cases into this one using comma-separated label.
See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AaAzdUngDJpul7RU4fgg&open=AaAzdUngDJpul7RU4fgg&pullRequest=18516
sonarqubecloud / SonarCloud Code Analysis
Define a constant instead of duplicating this literal "root." 3 times.
See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AaAzdUfeDJpul7RU4ff2&open=AaAzdUfeDJpul7RU4ff2&pullRequest=18516
sonarqubecloud / SonarCloud Code Analysis
Either re-interrupt this method or rethrow the "InterruptedException" that can be caught here.
See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AaAzdUktDJpul7RU4fgB&open=AaAzdUktDJpul7RU4fgB&pullRequest=18516
sonarqubecloud / SonarCloud Code Analysis
Use a thread-safe type; adding "volatile" is not enough to make this field thread-safe.
See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AaAzdUvqDJpul7RU4fgi&open=AaAzdUvqDJpul7RU4fgi&pullRequest=18516
sonarqubecloud / SonarCloud Code Analysis
Use a thread-safe type; adding "volatile" is not enough to make this field thread-safe.
See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AaAzdUxYDJpul7RU4fgk&open=AaAzdUxYDJpul7RU4fgk&pullRequest=18516
sonarqubecloud / SonarCloud Code Analysis
Line is longer than 100 characters (found 107).
See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AaAzdUsrDJpul7RU4fgh&open=AaAzdUsrDJpul7RU4fgh&pullRequest=18516
sonarqubecloud / SonarCloud Code Analysis
Use the "AtomicReference" API for synchronization instead of a "synchronized" block.
See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AaAzdTyiDJpul7RU4fe_&open=AaAzdTyiDJpul7RU4fe_&pullRequest=18516
sonarqubecloud / SonarCloud Code Analysis
Remove this expression which always evaluates to "false"
See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AaAzdUL4DJpul7RU4ffU&open=AaAzdUL4DJpul7RU4ffU&pullRequest=18516
sonarqubecloud / SonarCloud Code Analysis
Remove these unused method parameters "req", "loadStatus".
See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AaAzdTtnDJpul7RU4fe9&open=AaAzdTtnDJpul7RU4fe9&pullRequest=18516
sonarqubecloud / SonarCloud Code Analysis
Refactor this method to reduce its Cognitive Complexity from 23 to the 15 allowed.
See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AaAzdT4NDJpul7RU4ffJ&open=AaAzdT4NDJpul7RU4ffJ&pullRequest=18516
sonarqubecloud / SonarCloud Code Analysis
Line is longer than 100 characters (found 104).
See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AaAzdUktDJpul7RU4fgc&open=AaAzdUktDJpul7RU4fgc&pullRequest=18516
sonarqubecloud / SonarCloud Code Analysis
Define a constant instead of duplicating this literal "thread_num" 3 times.
See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AaAzdUktDJpul7RU4ff8&open=AaAzdUktDJpul7RU4ff8&pullRequest=18516
sonarqubecloud / SonarCloud Code Analysis
Method has 8 parameters, which is greater than 7 authorized.
See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AaAzdUSaDJpul7RU4ffg&open=AaAzdUSaDJpul7RU4ffg&pullRequest=18516