New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[HZ-940] Improve IO pipelines #21066
Conversation
The job Click to expand the log file-------------------------- ---------SUMMARY---------- -------------------------- [ERROR] COMPILATION ERROR : -------------------------- [ERROR] /home/jenkins/jenkins_slave/workspace/Hazelcast-pr-EE-compiler/hazelcast-enterprise/hazelcast-enterprise/src/main/java/com/hazelcast/internal/nio/ssl/MemberTLSChannelInitializer.java:[31,48] error: no suitable constructor found for SingleProtocolDecoder(ProtocolType,InboundHandler[],SingleProtocolEncoder,boolean) -------------------------- [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.5.1:compile (default-compile) on project hazelcast-enterprise: Compilation failure -------------------------- ---------ERRORS----------- -------------------------- [ERROR] /home/jenkins/jenkins_slave/workspace/Hazelcast-pr-EE-compiler/hazelcast-enterprise/hazelcast-enterprise/src/main/java/com/hazelcast/internal/nio/ssl/MemberTLSChannelInitializer.java:[31,48] error: no suitable constructor found for SingleProtocolDecoder(ProtocolType,InboundHandler[],SingleProtocolEncoder,boolean) -------------------------- [ERROR] /home/jenkins/jenkins_slave/workspace/Hazelcast-pr-EE-compiler/hazelcast-enterprise/hazelcast-enterprise/src/main/java/com/hazelcast/internal/nio/ssl/MemberTLSChannelInitializer.java:[31,48] error: no suitable constructor found for SingleProtocolDecoder(ProtocolType,InboundHandler[],SingleProtocolEncoder,boolean) -------------------------- |
Thank you for the fixes 👍 |
hazelcast/src/main/java/com/hazelcast/internal/server/tcp/MemberProtocolEncoder.java
Outdated
Show resolved
Hide resolved
c8eb862
to
33de351
Compare
The job Click to expand the log file-------------------------- ---------SUMMARY---------- -------------------------- [ERROR] COMPILATION ERROR : -------------------------- [ERROR] /appdisk/jenkins/jenkins_slave/workspace/Hazelcast-pr-EE-compiler/hazelcast-enterprise/hazelcast-enterprise/src/main/java/com/hazelcast/internal/nio/ssl/MemberTLSChannelInitializer.java:[31,48] error: no suitable constructor found for SingleProtocolDecoder(ProtocolType,InboundHandler[],SingleProtocolEncoder,boolean) -------------------------- [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.5.1:compile (default-compile) on project hazelcast-enterprise: Compilation failure -------------------------- ---------ERRORS----------- -------------------------- [ERROR] /appdisk/jenkins/jenkins_slave/workspace/Hazelcast-pr-EE-compiler/hazelcast-enterprise/hazelcast-enterprise/src/main/java/com/hazelcast/internal/nio/ssl/MemberTLSChannelInitializer.java:[31,48] error: no suitable constructor found for SingleProtocolDecoder(ProtocolType,InboundHandler[],SingleProtocolEncoder,boolean) -------------------------- [ERROR] /appdisk/jenkins/jenkins_slave/workspace/Hazelcast-pr-EE-compiler/hazelcast-enterprise/hazelcast-enterprise/src/main/java/com/hazelcast/internal/nio/ssl/MemberTLSChannelInitializer.java:[31,48] error: no suitable constructor found for SingleProtocolDecoder(ProtocolType,InboundHandler[],SingleProtocolEncoder,boolean) -------------------------- |
The job Click to expand the log file-------------------------- ---------SUMMARY---------- -------------------------- [ERROR] COMPILATION ERROR : -------------------------- [ERROR] /appdisk/jenkins/jenkins_slave/workspace/Hazelcast-pr-EE-compiler/hazelcast-enterprise/hazelcast-enterprise/src/main/java/com/hazelcast/internal/nio/ssl/MemberTLSChannelInitializer.java:[31,48] error: no suitable constructor found for SingleProtocolDecoder(ProtocolType,InboundHandler[],SingleProtocolEncoder,boolean) -------------------------- [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.5.1:compile (default-compile) on project hazelcast-enterprise: Compilation failure -------------------------- ---------ERRORS----------- -------------------------- [ERROR] /appdisk/jenkins/jenkins_slave/workspace/Hazelcast-pr-EE-compiler/hazelcast-enterprise/hazelcast-enterprise/src/main/java/com/hazelcast/internal/nio/ssl/MemberTLSChannelInitializer.java:[31,48] error: no suitable constructor found for SingleProtocolDecoder(ProtocolType,InboundHandler[],SingleProtocolEncoder,boolean) -------------------------- [ERROR] /appdisk/jenkins/jenkins_slave/workspace/Hazelcast-pr-EE-compiler/hazelcast-enterprise/hazelcast-enterprise/src/main/java/com/hazelcast/internal/nio/ssl/MemberTLSChannelInitializer.java:[31,48] error: no suitable constructor found for SingleProtocolDecoder(ProtocolType,InboundHandler[],SingleProtocolEncoder,boolean) -------------------------- |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the improvements 🙂
* [HZ-940] Improve IO pipelines (hazelcast#21066) * Wait for the decoder's protocol confirmation before sending the member data [HZ-1163] (hazelcast#21391) * Add null checks to SingleProtocolEncoder protocol verification signals (hazelcast#21497) Co-authored-by: ufukyilmaz <ufuk.yilmaz@hazelcast.com>
* [HZ-940] Improve IO pipelines (hazelcast#21066) * Wait for the decoder's protocol confirmation before sending the member data [HZ-1163] (hazelcast#21391) * Add null checks to SingleProtocolEncoder protocol verification signals (hazelcast#21497) Co-authored-by: ufukyilmaz <ufuk.yilmaz@hazelcast.com>
* [HZ-940] Improve IO pipelines (hazelcast#21066) * Wait for the decoder's protocol confirmation before sending the member data [HZ-1163] (hazelcast#21391) * Add null checks to SingleProtocolEncoder protocol verification signals (hazelcast#21497) Co-authored-by: ufukyilmaz <ufuk.yilmaz@hazelcast.com>
Backports (cherry-picks) #21066 #21391 #21497 to `5.0.5`. EE part of the fix for hazelcast/hazelcast-enterprise#6181 --------- Co-authored-by: ufukyilmaz <ufuk.yilmaz@hazelcast.com> Co-authored-by: Viliam Durina <viliam@hazelcast.com>
Backports (cherry-picks) #21066 #21391 #21497 to `5.0.z`. EE part of the fix for hazelcast/hazelcast-enterprise#6182 --------- Co-authored-by: ufukyilmaz <ufuk.yilmaz@hazelcast.com> Co-authored-by: Viliam Durina <viliam@hazelcast.com>
This is the OS side of the fix for hazelcast/hazelcast-enterprise#4531
It improves protocol handshake processiong on IO pipelines. It mainly:
MemberProtocolEncoder
;SingleProtocolDecoder
callingSingleProtocolEncoder.setupNextEncoder()
) as it was causing troubles. The handler chain changes can only be made by the owning thread. SeeOutboundPipeline.replace()
javadoc for instance.