[GitHub] [geode] upthewaterspout commented on pull request #5545: GEODE-8522: Switching a exception log back to debug

2020-09-25 Thread GitBox


upthewaterspout commented on pull request #5545:
URL: https://github.com/apache/geode/pull/5545#issuecomment-699140620


   @Bill - are my new changes better? I put in an info level message.
   
   I left the catch for ClassNotFoundException alone. I'm not really clear on 
why that exception is appropriate for a retry in this case, but I'm hesitant to 
change behavior in this PR. 



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.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org




[GitHub] [geode] upthewaterspout commented on pull request #5545: GEODE-8522: Switching a exception log back to debug

2020-09-25 Thread GitBox


upthewaterspout commented on pull request #5545:
URL: https://github.com/apache/geode/pull/5545#issuecomment-698644756


   @Bill - Regarding `locator-wait-time`, `locator-wait-time` used to be 
something that only took effect on servers, not locators. That changed fairly 
recently.
   
   It's still safe to start up multiple locators that all refer to each other 
without locator-wait-time - provided they can actually reach each other on 
startup! We have had some issues in K8s environments because there is race 
between when a locator tries to contact another locator and when the K8s DNS 
makes the locator name available.
   
   Good catch on those docs! Yeah, I don't see that string in the products 
since jgroups was removed in 2015.
   
   This particular log message *used* to be `debug` - you and I flipped it to 
info in this change - 53f1e1a81c3b58989a835d37f94466eb3dfc752f. I don't mind it 
being an info message - but I think we shouldn't be logging a stack trace in 
that case. Maybe just an info message that we failed to contact a particular 
locator. Let me know if you'd like me to make that change. Either way, I'll 
create a separate docs PR after we have this figured out.



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.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org




[GitHub] [geode] upthewaterspout commented on pull request #5545: GEODE-8522: Switching a exception log back to debug

2020-09-24 Thread GitBox


upthewaterspout commented on pull request #5545:
URL: https://github.com/apache/geode/pull/5545#issuecomment-698644756


   @Bill - Regarding `locator-wait-time`, `locator-wait-time` used to be 
something that only took effect on servers, not locators. That changed fairly 
recently.
   
   It's still safe to start up multiple locators that all refer to each other 
without locator-wait-time - provided they can actually reach each other on 
startup! We have had some issues in K8s environments because there is race 
between when a locator tries to contact another locator and when the K8s DNS 
makes the locator name available.
   
   Good catch on those docs! Yeah, I don't see that string in the products 
since jgroups was removed in 2015.
   
   This particular log message *used* to be `debug` - you and I flipped it to 
info in this change - 53f1e1a81c3b58989a835d37f94466eb3dfc752f. I don't mind it 
being an info message - but I think we shouldn't be logging a stack trace in 
that case. Maybe just an info message that we failed to contact a particular 
locator. Let me know if you'd like me to make that change. Either way, I'll 
create a separate docs PR after we have this figured out.



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.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org