You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@rocketmq.apache.org by "asapple (via GitHub)" <gi...@apache.org> on 2024/12/09 09:37:39 UTC
[I] [Enhancement] Refactor Complex Logic in updateNameServerAddressList Method [rocketmq]
asapple opened a new issue, #9039:
URL: https://github.com/apache/rocketmq/issues/9039
### Before Creating the Enhancement Request
- [X] I have confirmed that this should be classified as an enhancement rather than a bug/feature.
### Summary
The current implementation of the updateNameServerAddressList method is overly complex, with multiple responsibilities combined into a single method. This makes the code harder to read, understand, and maintain.
### Motivation
The method handles a variety of tasks (address list comparison, updating, and channel closure handling), which results in confusing logic and increases the chance of introducing bugs when modifications are needed.
### Describe the Solution You'd Like
Refactor the updateNameServerAddressList method to separate concerns into smaller, well-defined methods
### Describe Alternatives You've Considered
null
### Additional Context
_No response_
--
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: commits-unsubscribe@rocketmq.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] [Enhancement] Refactor Complex Logic in updateNameServerAddressList Method [rocketmq]
Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on issue #9039:
URL: https://github.com/apache/rocketmq/issues/9039#issuecomment-3634809424
This issue is stale because it has been open for 365 days with no activity. It will be closed in 3 days if no further activity occurs.
--
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: commits-unsubscribe@rocketmq.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] [Enhancement] Refactor Complex Logic in updateNameServerAddressList Method [rocketmq]
Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on issue #9039:
URL: https://github.com/apache/rocketmq/issues/9039#issuecomment-3649961609
This issue was closed because it has been inactive for 3 days since being marked as stale.
--
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: commits-unsubscribe@rocketmq.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] [Enhancement] Refactor Complex Logic in updateNameServerAddressList Method [rocketmq]
Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] closed issue #9039: [Enhancement] Refactor Complex Logic in updateNameServerAddressList Method
URL: https://github.com/apache/rocketmq/issues/9039
--
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: commits-unsubscribe@rocketmq.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org