Skip to content
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

fix swapped arguments in com.teragrep.rlp_03.frame.delegate.event.Rel… #200

Merged
merged 1 commit into from
Jun 24, 2024

Conversation

kortemik
Copy link
Member

…pEventServerClose, which did not appear in tests because payload is zero length

closes #197

…pEventServerClose, which did not appear in tests because payload is zero length
@kortemik kortemik marked this pull request as ready for review June 24, 2024 07:43
Copy link
Contributor

@StrongestNumber9 StrongestNumber9 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@kortemik kortemik merged commit da8347f into teragrep:main_tx_frame_fragments Jun 24, 2024
1 check passed
StrongestNumber9 added a commit that referenced this pull request Jun 27, 2024
* Tx frame fragments (#189)

* partially done migration to tx-frame

* wip

* it does not work

* some fixes

* fix log level

* refactor write responsibility into the objects that are Writeable

* fix javadoc

* make classes final

* refactor Writeable interface, refactor RelpWriteImpl

* exit RelpWriteImpl on error

* make ManualPerformanceTest work again

* remove unnecessary copying of txn

* Revert "remove unnecessary copying of txn"

This reverts commit 19b312f.

* contains broken code, but improves performance, fixes later

* sync on 2024-06-03

* sync 2024-06-11

* more sync

* more buffer arrays

* remove obsolete TODO messages, increment PoolingDelegateTest delay

* move Writable and it's Decrations to package com.teragrep.rlp_03.channel.buffer.writable;

* add reporting capability for outstanding writes

* add todo for read not to throw on error but just to close the connection

* add outstanding() to RelpWriteFake

* reading refactor

* rename BufferLease isRefCountZero -> isTerminated

* remove unused BufferPool argument from Leaseful implementations

* fix BufferLease

* refactor Supplier<FrameDelegate> into ClockFactory

* Fixes javadoc issues

---------

Co-authored-by: StrongestNumber9 <16169054+StrongestNumber9@users.noreply.github.com>

* Adds maven enforcer and jacoco (#195)

* fix swapped arguments in com.teragrep.rlp_03.frame.delegate.event.RelpEventServerClose, which did not appear in tests because payload is zero length (#200)

* implement a fix for 198 (#201)

* implement a fix for 198

* clarify errors when NeedsReadException or NeedsWriteException interest op changes throw unexpectedly

* move  lock.unlock(); before debug logging in RelpReadImpl finally statement to avoid exception from logger causing lock to be left behind (#202)

* rename RelpRead to Ingress and RelpWrite to Egress (#203)

* rename RelpRead to Ingress and RelpWrite to Egress

* rename method relpWrite() to egress() in EstablishedContext

* net_01 restructuring (#204)

* re-structure networking code from rlp_03 package to net_01 package

* apply spotless

* extract common client code to EstablishedContextFactory (#205)

* extract common client code to EstablishedContextFactory

* avoid returning null on error in RelpClientFactory in case establishedContextFactory throws one

* fix exception type in RelpClientFactory from RuntimeException to CompletionException

* uncomment logging statements (#207)

* Adds dynamic properties based RelpEventOpen version string (#208)

* Adds dynamic properties based RelpEventOpen version string

* make version an object

* rename tag -> version, as it is in the properties

---------

Co-authored-by: Motoko Kusanagi <kordex@gmail.com>

* ingress interested (#209)

* ingress interested

* fix typo

* move register(clock) out from EstablishedContextImpl constructor

* allow Clock to re-register into a connection

* add note about Clock's responsibility to read all data

* add note about Clock's responsibility to read all data

* fix thread safety of IngressImpl register(clock) and unregister(clock)

* clarify exception messages, remove obsolete TODO

* apply spotless

* implement workaround for EstablishedContextStub being closed (#210)

* move com.teragrep.net_01.channel.context.frame; to com.teragrep.rlp_0… (#213)

* move com.teragrep.net_01.channel.context.frame; to com.teragrep.rlp_03.frame;

* apply spotless

* Removes net_01 files (#214)

* Removes IngressFake (#215)

* Should fix ReadmeTest (#216)

---------

Co-authored-by: Mikko Kortelainen <kortemik@users.noreply.github.com>
Co-authored-by: Motoko Kusanagi <kordex@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants