[jira] [Commented] (GEODE-10318) locators property is unexpectedly being modified in InternalLocator

2022-05-23 Thread ASF subversion and git services (Jira)


[ 
https://issues.apache.org/jira/browse/GEODE-10318?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17541187#comment-17541187
 ] 

ASF subversion and git services commented on GEODE-10318:
-

Commit 7bc982dcb5c70950a020f797e836db01307768b3 in geode's branch 
refs/heads/support/1.15 from Jinmei Liao
[ https://gitbox.apache.org/repos/asf?p=geode.git;h=7bc982dcb5 ]

GEODE-10318: do not add duplicate entries in the locators list (#7703)

* move locator parsing to api package

(cherry picked from commit 7e052cde43208ec0ea62374a95472807d60f444a)


> locators property is unexpectedly being modified in InternalLocator
> ---
>
> Key: GEODE-10318
> URL: https://issues.apache.org/jira/browse/GEODE-10318
> Project: Geode
>  Issue Type: Bug
>  Components: locator
>Reporter: Jinmei Liao
>Assignee: Jinmei Liao
>Priority: Major
>  Labels: needsTriage, pull-request-available
>
> if a locator is started with existing "locators" attributes that points to 
> itself using ip address, ie.
> {code:java}
> locators=192.168.0.15[22348]
> {code}
> if the machine has a hostname specified in its host file
> {code:java}
> 192.168.0.15 abc-a01
> {code}
> Then after the locator is started, the log banner would show duplicate 
> entries in the locators attributes:
> {code:java}
> locators=192.168.0.15[22348],abc-a01[22348]
> {code}



--
This message was sent by Atlassian Jira
(v8.20.7#820007)


[jira] [Commented] (GEODE-10318) locators property is unexpectedly being modified in InternalLocator

2022-05-23 Thread ASF subversion and git services (Jira)


[ 
https://issues.apache.org/jira/browse/GEODE-10318?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17541039#comment-17541039
 ] 

ASF subversion and git services commented on GEODE-10318:
-

Commit 7e052cde43208ec0ea62374a95472807d60f444a in geode's branch 
refs/heads/develop from Jinmei Liao
[ https://gitbox.apache.org/repos/asf?p=geode.git;h=7e052cde43 ]

GEODE-10318: do not add duplicate entries in the locators list (#7703)

* move locator parsing to api package

> locators property is unexpectedly being modified in InternalLocator
> ---
>
> Key: GEODE-10318
> URL: https://issues.apache.org/jira/browse/GEODE-10318
> Project: Geode
>  Issue Type: Bug
>  Components: locator
>Reporter: Jinmei Liao
>Assignee: Jinmei Liao
>Priority: Major
>  Labels: needsTriage, pull-request-available
>
> if a locator is started with existing "locators" attributes that points to 
> itself using ip address, ie.
> {code:java}
> locators=192.168.0.15[22348]
> {code}
> if the machine has a hostname specified in its host file
> {code:java}
> 192.168.0.15 abc-a01
> {code}
> Then after the locator is started, the log banner would show duplicate 
> entries in the locators attributes:
> {code:java}
> locators=192.168.0.15[22348],abc-a01[22348]
> {code}



--
This message was sent by Atlassian Jira
(v8.20.7#820007)


[jira] [Commented] (GEODE-10318) locators property is unexpectedly being modified in InternalLocator

2022-05-18 Thread Jinmei Liao (Jira)


[ 
https://issues.apache.org/jira/browse/GEODE-10318?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17539020#comment-17539020
 ] 

Jinmei Liao commented on GEODE-10318:
-

We should not have duplicate entries in the locators attributes. User's 
original specification should be honored first. The order of precedence to use 
in the locator's list is:
To summarize the thread, the order of precedence is:

# Address from locator list
# hostname-for-client
# bind-address
# guess, prefer hostname

> locators property is unexpectedly being modified in InternalLocator
> ---
>
> Key: GEODE-10318
> URL: https://issues.apache.org/jira/browse/GEODE-10318
> Project: Geode
>  Issue Type: Bug
>  Components: locator
>Reporter: Jinmei Liao
>Priority: Major
>  Labels: needsTriage
>
> if a locator is started with existing "locators" attributes that points to 
> itself using ip address, ie.
> {code:java}
> locators=192.168.0.15[22348]
> {code}
> if the machine has a hostname specified in its host file
> {code:java}
> 192.168.0.15 abc-a01
> {code}
> Then after the locator is started, the log banner would show duplicate 
> entries in the locators attributes:
> {code:java}
> locators=192.168.0.15[22348],abc-a01[22348]
> {code}



--
This message was sent by Atlassian Jira
(v8.20.7#820007)