Subscription: add topic owner epoch fencing #17780
Quality Gate failed
Failed conditions
8.4% Duplication on New Code (required ≤ 5%)
Annotations
sonarqubecloud / SonarCloud Code Analysis
Member name 'xDataType' must match pattern '^[a-z][a-z0-9][a-zA-Z0-9]*$'.
See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AZ6RFuWA5nSEz7HZmaeS&open=AZ6RFuWA5nSEz7HZmaeS&pullRequest=17780
sonarqubecloud / SonarCloud Code Analysis
Line is longer than 100 characters (found 118).
See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AZ6RFuHd5nSEz7HZmadR&open=AZ6RFuHd5nSEz7HZmadR&pullRequest=17780
sonarqubecloud / SonarCloud Code Analysis
Add a nested comment explaining why this method is empty, throw an UnsupportedOperationException or complete the implementation.
See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AZ6RFuU_5nSEz7HZmads&open=AZ6RFuU_5nSEz7HZmads&pullRequest=17780
sonarqubecloud / SonarCloud Code Analysis
Remove this unnecessary cast to "double".
See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AZ6RFuXm5nSEz7HZmaem&open=AZ6RFuXm5nSEz7HZmaem&pullRequest=17780
sonarqubecloud / SonarCloud Code Analysis
Line is longer than 100 characters (found 107).
See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AZ6RFuTD5nSEz7HZmadb&open=AZ6RFuTD5nSEz7HZmadb&pullRequest=17780
sonarqubecloud / SonarCloud Code Analysis
Member name 'xDataType' must match pattern '^[a-z][a-z0-9][a-zA-Z0-9]*$'.
See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AZ6RFuU_5nSEz7HZmady&open=AZ6RFuU_5nSEz7HZmady&pullRequest=17780
sonarqubecloud / SonarCloud Code Analysis
Remove this unnecessary cast to "double".
See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AZ6RFuU_5nSEz7HZmadw&open=AZ6RFuU_5nSEz7HZmadw&pullRequest=17780
sonarqubecloud / SonarCloud Code Analysis
A "Brain Method" was detected. Refactor it to reduce at least one of the following metrics: LOC from 81 to 64, Complexity from 19 to 14, Nesting Level from 5 to 2, Number of Variables from 17 to 6.
See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AZ6RFuBf5nSEz7HZmadN&open=AZ6RFuBf5nSEz7HZmadN&pullRequest=17780
sonarqubecloud / SonarCloud Code Analysis
Distance between variable 'm3' 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=AZ6RFuUV5nSEz7HZmadd&open=AZ6RFuUV5nSEz7HZmadd&pullRequest=17780
sonarqubecloud / SonarCloud Code Analysis
Rename "m3" which hides the field declared at line 44.
See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AZ6RFuX95nSEz7HZmaex&open=AZ6RFuX95nSEz7HZmaex&pullRequest=17780
sonarqubecloud / SonarCloud Code Analysis
Define a constant instead of duplicating this literal "regr_intercept" 3 times.
See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AZ6RFt385nSEz7HZmadH&open=AZ6RFt385nSEz7HZmadH&pullRequest=17780
sonarqubecloud / SonarCloud Code Analysis
Remove this unnecessary cast to "double".
See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AZ6RFuXm5nSEz7HZmaes&open=AZ6RFuXm5nSEz7HZmaes&pullRequest=17780
sonarqubecloud / SonarCloud Code Analysis
Remove this unnecessary cast to "double".
See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AZ6RFuYp5nSEz7HZmafM&open=AZ6RFuYp5nSEz7HZmafM&pullRequest=17780
sonarqubecloud / SonarCloud Code Analysis
'block rcurly' has incorrect indentation level 8, expected level should be 6.
See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AZ5uLPLMYgb0IV-Vu4_C&open=AZ5uLPLMYgb0IV-Vu4_C&pullRequest=17780
sonarqubecloud / SonarCloud Code Analysis
Remove this unnecessary cast to "double".
See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AZ6RFuVV5nSEz7HZmad5&open=AZ6RFuVV5nSEz7HZmad5&pullRequest=17780
sonarqubecloud / SonarCloud Code Analysis
Remove this unnecessary cast to "double".
See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AZ6RFuWA5nSEz7HZmaeQ&open=AZ6RFuWA5nSEz7HZmaeQ&pullRequest=17780
sonarqubecloud / SonarCloud Code Analysis
Local variable name 'nA' must match pattern '^[a-z]([a-z0-9][a-zA-Z0-9]*)?$'.
See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AZ6RFuUV5nSEz7HZmadi&open=AZ6RFuUV5nSEz7HZmadi&pullRequest=17780
sonarqubecloud / SonarCloud Code Analysis
Local variable name 'nTotal' must match pattern '^[a-z]([a-z0-9][a-zA-Z0-9]*)?$'.
See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AZ6RFuVq5nSEz7HZmaeK&open=AZ6RFuVq5nSEz7HZmaeK&pullRequest=17780
sonarqubecloud / SonarCloud Code Analysis
Remove this unnecessary cast to "double".
See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AZ6RFuYp5nSEz7HZmafJ&open=AZ6RFuYp5nSEz7HZmafJ&pullRequest=17780
sonarqubecloud / SonarCloud Code Analysis
Local variable name 'nA' must match pattern '^[a-z]([a-z0-9][a-zA-Z0-9]*)?$'.
See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AZ6RFuVq5nSEz7HZmaeF&open=AZ6RFuVq5nSEz7HZmaeF&pullRequest=17780
sonarqubecloud / SonarCloud Code Analysis
Remove this unnecessary cast to "double".
See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AZ6RFuWA5nSEz7HZmaeN&open=AZ6RFuWA5nSEz7HZmaeN&pullRequest=17780
sonarqubecloud / SonarCloud Code Analysis
Member name 'yDataType' must match pattern '^[a-z][a-z0-9][a-zA-Z0-9]*$'.
See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AZ6RFuVV5nSEz7HZmad7&open=AZ6RFuVV5nSEz7HZmad7&pullRequest=17780
sonarqubecloud / SonarCloud Code Analysis
Local variable name 'nA' must match pattern '^[a-z]([a-z0-9][a-zA-Z0-9]*)?$'.
See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AZ6RFuX95nSEz7HZmae_&open=AZ6RFuX95nSEz7HZmae_&pullRequest=17780
sonarqubecloud / SonarCloud Code Analysis
Parameter name 'xDataType' must match pattern '^[a-z]([a-z0-9][a-zA-Z0-9]*)?$'.
See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AZ6RFuU_5nSEz7HZmad0&open=AZ6RFuU_5nSEz7HZmad0&pullRequest=17780
sonarqubecloud / SonarCloud Code Analysis
Distance between variable 'm4' declaration and its first usage is 5, 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=AZ6RFuUV5nSEz7HZmade&open=AZ6RFuUV5nSEz7HZmade&pullRequest=17780