The default value of the property client.rm.tableMetaCheckEnable
should be changed to false
to align with the behavior of Seata Client 2.1.0 and earlier
#7042
Labels
good first issue
Good for newcomers
task: help-wanted
Extra attention is needed
type: bug
Category issues or prs related to bug.
Why you need it?
Is your feature request related to a problem? Please describe in details
client.rm.tableMetaCheckEnable
is alwaystrue
, but this property never took effect in Seata Client 2.1.0 and before until bugfix: fix cache scheduled refresh issue. #6661 was merged on the Seata 2.2.0 milestone.client.rm.tableMetaCheckEnable
remainstrue
, which is like entering the big world of Otome game for unit testing. It will continue to try to send requests after the TM and RM of Seata Client are destroyed, which looks like a connection leak.client.rm.tableMetaCheckerInterval
is60000L
, corresponding to 60 seconds. The unit test deliberately takes 2 minutes to complete throughAwaitility.await().timeout(Duration.ofMinutes(5L)).pollDelay(Duration.ofMinutes(2L)).until(() -> true);
. Verified unit test under Ubuntu 22.04.4 LTS withSDKMAN!
andDocker CE
.How it could be?
A clear and concise description of what you want to happen. You can explain more about input of the feature, and output of it.
client.rm.tableMetaCheckEnable
should be changed tofalse
to align with the behavior of Seata Client 2.1.0 and earlier.Other related information
Add any other context or screenshots about the feature request here.
The text was updated successfully, but these errors were encountered: