jingshanglu commented on code in PR #18147:
URL: https://github.com/apache/shardingsphere/pull/18147#discussion_r889842199
##########
shardingsphere-kernel/shardingsphere-transaction/shardingsphere-transaction-type/shardingsphere-transaction-xa/shardingsphere-transaction-xa-provider/shardingsphere-transaction-xa-narayana/src/main/java/org/apache/shardingsphere/transaction/xa/narayana/config/NarayanaConfigurationFileGenerator.java:
##########
@@ -98,6 +100,17 @@ private NarayanaConfigEntry createEntry(final String key,
final Collection<Strin
return result;
}
+ private String getRecoveryId(final Properties transactionProps, final
InstanceContext instanceContext) {
+ if (transactionProps.containsKey("xaRecoveryNodes")) {
Review Comment:
`getRecoveryId` This function is not used, we can delete it.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]