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

ASF GitHub Bot commented on GEODE-8543:
---------------------------------------

pdxcodemonkey commented on pull request #705:
URL: https://github.com/apache/geode-native/pull/705#issuecomment-755445765


   @jvarenina  I'm getting build errors on Windows:
   ```
   
C:\nativeclient\cppcache\integration\test\DisconnectEndPointAtException.cpp(54):
 error C2079: 'previousTestLog' uses undefined class 
'std::basic_ifstream<char,std::char_traits<char>>' 
[C:\build\cppcache\integration\test\cpp-integration-test.vcxproj]
     Building Custom Rule 
C:/nativeclient/cppcache/integration-test/CMakeLists.txt
   
C:\nativeclient\cppcache\integration\test\DisconnectEndPointAtException.cpp(54):
 error C2440: 'initializing': cannot convert from 'std::string' to 'int' 
[C:\build\cppcache\integration\test\cpp-integration-test.vcxproj]
     
C:\nativeclient\cppcache\integration\test\DisconnectEndPointAtException.cpp(54):
 note: No user-defined-conversion operator available that can perform this 
conversion, or the operator cannot be called
   
C:\nativeclient\cppcache\integration\test\DisconnectEndPointAtException.cpp(168):
 error C2079: 'testLog' uses undefined class 
'std::basic_ifstream<char,std::char_traits<char>>' 
[C:\build\cppcache\integration\test\cpp-integration-test.vcxproj]
   
C:\nativeclient\cppcache\integration\test\DisconnectEndPointAtException.cpp(168):
 error C2440: 'initializing': cannot convert from 'std::string' to 'int' 
[C:\build\cppcache\integration\test\cpp-integration-test.vcxproj]
     
C:\nativeclient\cppcache\integration\test\DisconnectEndPointAtException.cpp(168):
 note: No user-defined-conversion operator available that can perform this 
conversion, or the operator cannot be called
   
C:\nativeclient\cppcache\integration\test\DisconnectEndPointAtException.cpp(174):
 error C2672: 'getline': no matching overloaded function found 
[C:\build\cppcache\integration\test\cpp-integration-test.vcxproj]
     testOverflowPutGetSqLite.cpp
   
C:\nativeclient\cppcache\integration\test\DisconnectEndPointAtException.cpp(174):
 error C2784: 'std::basic_istream<_Elem,_Traits> 
&std::getline(std::basic_istream<_Elem,_Traits> 
&,std::basic_string<_Elem,_Traits,_Alloc> &)': could not deduce template 
argument for 'std::basic_istream<_Elem,_Traits> &' from 'int' 
[C:\build\cppcache\integration\test\cpp-integration-test.vcxproj]
     Building Custom Rule 
C:/nativeclient/cppcache/integration-test/CMakeLists.txt
     testThinClientInterest1Cacheless.cpp
     C:\Program Files (x86)\Microsoft Visual 
Studio\2017\Community\VC\Tools\MSVC\14.15.26726\include\string(160): note: see 
declaration of 'std::getline'
   
C:\nativeclient\cppcache\integration\test\DisconnectEndPointAtException.cpp(174):
 error C2780: 'std::basic_istream<_Elem,_Traits> 
&std::getline(std::basic_istream<_Elem,_Traits> 
&,std::basic_string<_Elem,_Traits,_Alloc> &,const _Elem)': expects 3 arguments 
- 2 provided [C:\build\cppcache\integration\test\cpp-integration-test.vcxproj]
     C:\Program Files (x86)\Microsoft Visual 
Studio\2017\Community\VC\Tools\MSVC\14.15.26726\include\string(149): note: see 
declaration of 'std::getline'
     testThinClientRegex3.cpp
   
C:\nativeclient\cppcache\integration\test\DisconnectEndPointAtException.cpp(174):
 error C2784: 'std::basic_istream<_Elem,_Traits> 
&std::getline(std::basic_istream<_Elem,_Traits> 
&&,std::basic_string<_Elem,_Traits,_Alloc> &)': could not deduce template 
argument for 'std::basic_istream<_Elem,_Traits> &&' from 'int' 
[C:\build\cppcache\integration\test\cpp-integration-test.vcxproj]
     C:\Program Files (x86)\Microsoft Visual 
Studio\2017\Community\VC\Tools\MSVC\14.15.26726\include\string(129): note: see 
declaration of 'std::getline'
   
C:\nativeclient\cppcache\integration\test\DisconnectEndPointAtException.cpp(174):
 error C2780: 'std::basic_istream<_Elem,_Traits> 
&std::getline(std::basic_istream<_Elem,_Traits> 
&&,std::basic_string<_Elem,_Traits,_Alloc> &,const _Elem)': expects 3 arguments 
- 2 provided [C:\build\cppcache\integration\test\cpp-integration-test.vcxproj]
     C:\Program Files (x86)\Microsoft Visual 
Studio\2017\Community\VC\Tools\MSVC\14.15.26726\include\string(76): note: see 
declaration of 'std::getline'
     testThinClientLargePutAllWithCallBackArg.cpp
   ```


----------------------------------------------------------------
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:
[email protected]


> Client disconnects from server due to exception on other server
> ---------------------------------------------------------------
>
>                 Key: GEODE-8543
>                 URL: https://issues.apache.org/jira/browse/GEODE-8543
>             Project: Geode
>          Issue Type: Bug
>          Components: native client
>            Reporter: Alberto Bustamante Reyes
>            Assignee: Jakov Varenina
>            Priority: Major
>              Labels: pull-request-available
>
> In ThinClientBaseDM::handleEPError when the client receives an exception from 
> a given endpoint, it will mark that server dead if in the exception contains 
> "java.lang.OutOfMemoryError",
> "org.apache.geode.distributed.ShutdownException" or 
> "org.apache.geode.cache.CacheClosedException" ( in 
> ThinClientBaseDM::unrecoverableServerError() )
> The problem is that the server causing the exception can be a different 
> server than the endpoint the client is connected to. In that case,
> the client will wrongly close a connection to a working server.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to