jvarenina opened a new pull request #866: URL: https://github.com/apache/geode-native/pull/866
Fault: Client clears result by calling ResultCollector::clearResult and re-executes the function even thought Function.isHa() is set to false. Fix: Client will not clear result and retry the function, but it will fail with the received exception from server. Added integration test: 1.FunctionExecutionTest.testThatFunctionExecutionThrowsExceptionNonHAWithFilter 2.FunctionExecutionTest.testThatFunctionExecutionThrowsExceptionNonHA The integration test reproduces the problem in a following way: 1. Populate region so that all buckets are created 2. Shutdown one of the three available servers 3. Peforme rebalance operation, so that buckets are recovered on running servers 4. Execute the function. Function execution will fail with the InternalFunctionInvocationTargetException exception, because client will try to execute single hop function with old PR meatada information (PR metadata received before the rebalance operation). -- 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]
