[ConfigNode] Fence Region creation across database deletion#18285
[ConfigNode] Fence Region creation across database deletion#18285CRZbulabula wants to merge 5 commits into
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
Use "java.util.Random.nextLong()" instead.
See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AZ-JnuMsoTbuALo9VJZu&open=AZ-JnuMsoTbuALo9VJZu&pullRequest=18285
sonarqubecloud / SonarCloud Code Analysis
Abbreviation in name 'fileTTLTables' must contain no more than '2' consecutive capital letters.
See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AZ-Jnt9hoTbuALo9VJZl&open=AZ-Jnt9hoTbuALo9VJZl&pullRequest=18285
sonarqubecloud / SonarCloud Code Analysis
Cast one of the operands of this addition operation to a "long".
See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AZ-JnuPqoTbuALo9VJZx&open=AZ-JnuPqoTbuALo9VJZx&pullRequest=18285
sonarqubecloud / SonarCloud Code Analysis
Line is longer than 100 characters (found 121).
See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AZ-JnufDoTbuALo9VJaT&open=AZ-JnufDoTbuALo9VJaT&pullRequest=18285
sonarqubecloud / SonarCloud Code Analysis
Line is longer than 100 characters (found 167).
See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AZ-JnugEoTbuALo9VJaX&open=AZ-JnugEoTbuALo9VJaX&pullRequest=18285
sonarqubecloud / SonarCloud Code Analysis
Replace this instanceof check and cast with 'instanceof QueryProcessException queryprocessexception'
See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AZ-JnuhcoTbuALo9VJaa&open=AZ-JnuhcoTbuALo9VJaa&pullRequest=18285
sonarqubecloud / SonarCloud Code Analysis
Refactor this method to reduce its Cognitive Complexity from 36 to the 15 allowed.
See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AZ-NREqPuxJDfLdTxlEw&open=AZ-NREqPuxJDfLdTxlEw&pullRequest=18285
sonarqubecloud / SonarCloud Code Analysis
Use "nextLong()" instead.
See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AZ-JnuMsoTbuALo9VJZw&open=AZ-JnuMsoTbuALo9VJZw&pullRequest=18285
sonarqubecloud / SonarCloud Code Analysis
Replace this instanceof check and cast with 'instanceof LocalDate localdate'
See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AZ-JnuQPoTbuALo9VJZz&open=AZ-JnuQPoTbuALo9VJZz&pullRequest=18285
sonarqubecloud / SonarCloud Code Analysis
Replace this instanceof check and cast with 'instanceof Reservation reservation'
See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AZ-Jnuf4oTbuALo9VJaU&open=AZ-Jnuf4oTbuALo9VJaU&pullRequest=18285
sonarqubecloud / SonarCloud Code Analysis
Use try-with-resources or close this "Reservation" in a "finally" clause.
See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AZ-JnugEoTbuALo9VJaW&open=AZ-JnugEoTbuALo9VJaW&pullRequest=18285
sonarqubecloud / SonarCloud Code Analysis
Remove this call to "wait" or move it into a "while" loop.
See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AZ-JnuLuoTbuALo9VJZs&open=AZ-JnuLuoTbuALo9VJZs&pullRequest=18285
sonarqubecloud / SonarCloud Code Analysis
Extract this nested ternary operation into an independent statement.
See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AZ-JnuJNoTbuALo9VJZo&open=AZ-JnuJNoTbuALo9VJZo&pullRequest=18285
sonarqubecloud / SonarCloud Code Analysis
Line is longer than 100 characters (found 223).
See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AZ-JnuKJoTbuALo9VJZr&open=AZ-JnuKJoTbuALo9VJZr&pullRequest=18285
sonarqubecloud / SonarCloud Code Analysis
Replace this instanceof check and cast with 'instanceof ConfigTableNode configtablenode'
See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AZ-NRFCfuxJDfLdTxlE0&open=AZ-NRFCfuxJDfLdTxlE0&pullRequest=18285
sonarqubecloud / SonarCloud Code Analysis
Move this method into "Reservation".
See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AZ-Jnuf4oTbuALo9VJaV&open=AZ-Jnuf4oTbuALo9VJaV&pullRequest=18285
sonarqubecloud / SonarCloud Code Analysis
Method has 10 parameters, which is greater than 7 authorized.
See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AZ-NRESfuxJDfLdTxlEq&open=AZ-NRESfuxJDfLdTxlEq&pullRequest=18285
sonarqubecloud / SonarCloud Code Analysis
Remove this unnecessary cast to "long".
See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AZ-NREqPuxJDfLdTxlEv&open=AZ-NREqPuxJDfLdTxlEv&pullRequest=18285
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=AZ-JnufDoTbuALo9VJaS&open=AZ-JnufDoTbuALo9VJaS&pullRequest=18285
sonarqubecloud / SonarCloud Code Analysis
Refactor this method to reduce its Cognitive Complexity from 18 to the 15 allowed.
See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AZ-JnuMsoTbuALo9VJZv&open=AZ-JnuMsoTbuALo9VJZv&pullRequest=18285
sonarqubecloud / SonarCloud Code Analysis
Line is longer than 100 characters (found 197).
See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AZ-JnugEoTbuALo9VJaY&open=AZ-JnugEoTbuALo9VJaY&pullRequest=18285
sonarqubecloud / SonarCloud Code Analysis
Remove this unnecessary cast to "long".
See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AZ-NRESfuxJDfLdTxlEr&open=AZ-NRESfuxJDfLdTxlEr&pullRequest=18285
sonarqubecloud / SonarCloud Code Analysis
Replace this instanceof check and cast with 'instanceof QueryProcessException queryprocessexception'
See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AZ-JnuhroTbuALo9VJab&open=AZ-JnuhroTbuALo9VJab&pullRequest=18285
sonarqubecloud / SonarCloud Code Analysis
Abbreviation in name 'getTTLTables' must contain no more than '2' consecutive capital letters.
See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AZ-Jnt9hoTbuALo9VJZm&open=AZ-Jnt9hoTbuALo9VJZm&pullRequest=18285
sonarqubecloud / SonarCloud Code Analysis
Line is longer than 100 characters (found 116).
See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AZ-JnuKJoTbuALo9VJZq&open=AZ-JnuKJoTbuALo9VJZq&pullRequest=18285