dockerzhang opened a new issue #950: URL: https://github.com/apache/incubator-inlong/issues/950
<p>like below code:</p> <p>If the updMasterAddrByDns() is called concurrently, it is likely to be overwritten. The function should only set the content of this translation, not in the overwrite mode.</p> <p><a href="https://github.com/apache/incubator-tubemq/blob/master/tubemq-client-twins/tubemq-client-cpp/src/client_service.cc#L278" class="external-link" rel="nofollow">https://github.com/apache/incubator-tubemq/blob/master/tubemq-client-twins/tubemq-client-cpp/src/client_service.cc#L278</a></p> <p> <span class="image-wrap" style=""><img src="https://issues.apache.org/jira/secure/attachment/13011585/13011585_image-2020-09-16-10-25-36-558.png" style="border: 0px solid black" /></span> </p> <p>And all dns translation operations should be performed under dns_mutex_ instead of mutex_</p> <i>JIRA link - <a href="https://issues.apache.org/jira/browse/INLONG-354">[INLONG-354]</a> created by gosonzhang</i> -- 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]
