Git-Yang commented on issue #3680: URL: https://github.com/apache/rocketmq/issues/3680#issuecomment-1010868042
> > > we can modify changeInstanceNameToPID() method and cache `UtilAll.getPid()+ "#" + System.nanoTime();` > > > > > > I don't understand why it is need to cache UtilAll.getPid() + "#" + System.nanoTime()? > > what about this? > >  In this way, the problem of conflicts in the container can indeed be solved, and I think it is also an optimization way. The only question at the moment is whether it is necessary to resolve conflicts caused by users using custom instanceName. At present, our business students have reported that have encountered such problems many times. Since we expose the use of instanceName to the user in the document, but the user does not know the underlying implementation logic, they will often encounter conflicts. -- 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]
