You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@geode.apache.org by GitBox <gi...@apache.org> on 2020/04/30 16:54:29 UTC

[GitHub] [geode] bschuchardt opened a new pull request #5027: Revert "GEODE-8020: buffer corruption in SSL communications (#4994)"

bschuchardt opened a new pull request #5027:
URL: https://github.com/apache/geode/pull/5027


   This reverts commit ec8db54ad7f342542762beb8f3e912dff44e3a53.
   
   The fix for GEODE-8020 reduced performance in SSL benchmark tests.
   Unfortunately this revert leaves SSL communications broken, but there
   are no CI tests that show that this is the case.
   
   Thank you for submitting a contribution to Apache Geode.
   
   In order to streamline the review of the contribution we ask you
   to ensure the following steps have been taken:
   
   ### For all changes:
   - [ ] Is there a JIRA ticket associated with this PR? Is it referenced in the commit message?
   
   - [ ] Has your PR been rebased against the latest commit within the target branch (typically `develop`)?
   
   - [ ] Is your initial contribution a single, squashed commit?
   
   - [ ] Does `gradlew build` run cleanly?
   
   - [ ] Have you written or updated unit tests to verify your changes?
   
   - [ ] If adding new dependencies to the code, are these dependencies licensed in a way that is compatible for inclusion under [ASF 2.0](http://www.apache.org/legal/resolved.html#category-a)?
   
   ### Note:
   Please ensure that once the PR is submitted, check Concourse for build issues and
   submit an update to your PR as soon as possible. If you need help, please send an
   email to dev@geode.apache.org.
   


----------------------------------------------------------------
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:
users@infra.apache.org



[GitHub] [geode] bschuchardt commented on pull request #5027: Revert "GEODE-8020: buffer corruption in SSL communications (#4994)"

Posted by GitBox <gi...@apache.org>.
bschuchardt commented on pull request #5027:
URL: https://github.com/apache/geode/pull/5027#issuecomment-622034391


   @pivotal-jbarrett yes, the performance issue would be back, **but** the cluster would not hang.  That is currently the case with 1.10, 1.11 and 1.12.  They will hang.  It seems to only occur during HA events.  The performance drop is relative to builds containing the change that caused this hang.  There are no CI tests demonstrating the hang, so we released several times with this bug.  I can't leave in the functional fix w/o failing benchmark tests.  Taking out the functional fix lets the pipeline pass while I work on a new fix that doesn't degrade performance.


----------------------------------------------------------------
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:
users@infra.apache.org



[GitHub] [geode] pivotal-jbarrett commented on pull request #5027: Revert "GEODE-8020: buffer corruption in SSL communications (#4994)"

Posted by GitBox <gi...@apache.org>.
pivotal-jbarrett commented on pull request #5027:
URL: https://github.com/apache/geode/pull/5027#issuecomment-621984705


   > @pivotal-jbarrett yes, that's true. However, there is a system property that folks can use to disable use of pooled direct-buffers in comms: p2p.nodirectBuffers=true, and that will avoid the problem.
   
   Does disabling with the `p2p.nodirectBuffers=true` property result in the same performance issue that this revert corrects?


----------------------------------------------------------------
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:
users@infra.apache.org



[GitHub] [geode] bschuchardt edited a comment on pull request #5027: Revert "GEODE-8020: buffer corruption in SSL communications (#4994)"

Posted by GitBox <gi...@apache.org>.
bschuchardt edited a comment on pull request #5027:
URL: https://github.com/apache/geode/pull/5027#issuecomment-621982073


   @pivotal-jbarrett yes, that's true.  However, there is a system property that folks can use to disable use of pooled direct-buffers in comms: p2p.nodirectBuffers=true, and that will avoid the problem.


----------------------------------------------------------------
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:
users@infra.apache.org



[GitHub] [geode] bschuchardt commented on pull request #5027: Revert "GEODE-8020: buffer corruption in SSL communications (#4994)"

Posted by GitBox <gi...@apache.org>.
bschuchardt commented on pull request #5027:
URL: https://github.com/apache/geode/pull/5027#issuecomment-621982073


   @pivotal-jbarrett yes, that's true.  However, there is a system property that folks can use to disable use of pooled direct-buffers in comms: p2p.nodirectBuffers=true


----------------------------------------------------------------
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:
users@infra.apache.org



[GitHub] [geode] pivotal-jbarrett commented on pull request #5027: Revert "GEODE-8020: buffer corruption in SSL communications (#4994)"

Posted by GitBox <gi...@apache.org>.
pivotal-jbarrett commented on pull request #5027:
URL: https://github.com/apache/geode/pull/5027#issuecomment-621978149


   By reverting this we are re-introducing the issue that GEODE-8020 was trying to solve, correct?


----------------------------------------------------------------
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:
users@infra.apache.org



[GitHub] [geode] pivotal-jbarrett commented on pull request #5027: Revert "GEODE-8020: buffer corruption in SSL communications (#4994)"

Posted by GitBox <gi...@apache.org>.
pivotal-jbarrett commented on pull request #5027:
URL: https://github.com/apache/geode/pull/5027#issuecomment-622120981


   > @pivotal-jbarrett yes, the performance issue would be back, **but** the cluster would not hang. That is currently the case with 1.10, 1.11 and 1.12. They will hang. It seems to only occur during HA events. The performance drop is relative to builds containing the change that caused this hang. There are no CI tests demonstrating the hang, so we released several times with this bug. I can't leave in the functional fix w/o failing benchmark tests. Taking out the functional fix lets the pipeline pass while I work on a new fix that doesn't degrade performance.
   
   @bschuchardt Sounds reasonable to me. We should have a discussion on the dev list to decide what we want to do with the drop in performance. What percentage of drop are we experiencing over SSL?
   


----------------------------------------------------------------
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:
users@infra.apache.org