Skip to content

Conversation

@ChugR
Copy link
Contributor

@ChugR ChugR commented May 7, 2021

There is no on_modified event in proton python MessagingHandler.
Proton conflates Delivery.MODIFIED and Delivery.RELEASED state handling
and delivers both states in the on_released handler.

This patch makes the dispatch handler model precisely reflect the
proton handler model.

Chuck Rolke and others added 15 commits May 3, 2021 15:16
Non-terminal dispositions were added to effect TCP adaptor flow control
in the 1.16 release. Scraper needs adjustments to handle them.

 * Report negative disposition delta times as 0 seconds
 * Allow non-terminal dispositions to be overwritten without logging an error
and not on the core thread. Move flush_outgoing_bufs call to
handle_disconnected function.

This closes apache#1174

(cherry picked from commit 18bce61)
When TCP adaptor receives an EOS in the incoming streaming link then
it calls pn_raw_write_close to the corresponding PN raw connection.
This sends a FIN to the raw connection peer.

If the adaptor then continues to honor the RX window closure then it
never reads data from the raw connection that now has a close in
progress. Further, when the incoming TCP window is full then the
raw connection never returns the client's FIN and the connection
is stuck open.

This patch causes the adaptor to override backpressure flow control
and to keep reading from a raw connection after a write_close has been
effected.

This closes apache#1177

(cherry picked from commit 7ef0a0f)
This patch makes the qd_timer_cancel() and qd_timer_free() routines
block if the timer callback is currently running on another thread.
This ensures that the callback is not executing when these calls
return.

It includes a fix to the HTTP1 adapter to avoid freeing its timer
while holding the adaptor lock.

This closes apache#1170

(cherry picked from commit 34b3c11)

Needed by fix for blocker JIRA DISPATCH-2046
DISPATCH-1679: fix qd_connector_t leak
DISPATCH-1917: fix race when accessing connector->conn_msg buffer

This closes apache#1176

(cherry picked from commit 8545a42)
…nd system_tests_grpc. This closes apache#1188.

(cherry picked from commit 566320a)
The command 'sudo apt-get install clang-11 llvm-11-dev' failed and exited with 100 during. This closes apache#1189.

(cherry picked from commit 58f7568)
…gh time to respond to HELLO message. This closes apache#1184.

(cherry picked from commit 422666d)
There is no on_modified event in proton python MessagingHandler.
Proton conflates Delivery.MODIFIED and Delivery.RELEASED state handling
and delivers both states in the on_released handler.

This patch makes the dispatch handler model precisely reflect the
proton handler model.
@ChugR
Copy link
Contributor Author

ChugR commented May 7, 2021

Whoops. bad pr for sure

@ChugR ChugR closed this May 7, 2021
@ChugR ChugR deleted the DISPATCH-1595 branch May 7, 2021 14:20
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.

4 participants