Skip to content

Conversation

@kjnilsson
Copy link
Contributor

@kjnilsson kjnilsson commented Nov 2, 2021

This should avoid channel crashes when the leader has recently changed
and the amqqueue record hasn't yet been updated.

Also catch errors in the QQ tick temporary process that updates metrics.
During shutdown the metrics ETS table may disappear before this process has finished
which would result in a noisy error in the logs.

Also handle case where a QQ "pid" was passed to a function expecting an actual pid.

@kjnilsson kjnilsson marked this pull request as ready for review November 2, 2021 15:18
@kjnilsson kjnilsson changed the title QQ: try all servers when registering enqueuer DO NOT MERVGE: QQ: try all servers when registering enqueuer Nov 3, 2021
@kjnilsson kjnilsson changed the title DO NOT MERVGE: QQ: try all servers when registering enqueuer DO NOT MERGE: QQ: try all servers when registering enqueuer Nov 3, 2021
@kjnilsson kjnilsson changed the title DO NOT MERGE: QQ: try all servers when registering enqueuer DO NOT MERVGE: QQ: try all servers when registering enqueuer Nov 3, 2021
@kjnilsson kjnilsson changed the title DO NOT MERVGE: QQ: try all servers when registering enqueuer DO NOT MERGE: QQ: try all servers when registering enqueuer Nov 3, 2021
@kjnilsson kjnilsson requested a review from mkuratczyk November 3, 2021 10:50
@kjnilsson kjnilsson force-pushed the qq-register-enqueuer-reliability branch from dd880aa to 0141745 Compare November 4, 2021 12:23
Copy link
Contributor

@mkuratczyk mkuratczyk left a comment

Choose a reason for hiding this comment

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

I can no longer reproduce the failures we wanted to address.

@mergify mergify bot added the make label Nov 8, 2021
This should avoid channel crashes when the leader has recently changed
and the amqqueue record hasn't yet been updated.

Also catch errors in the QQ tick temporary process that updates metrics.
During shutdown the metrics ETS table may disappear before this process has finished
which would result in a noisy error in the logs.
In a function called if a queue declare returns 'absent'.
Refactor how the single active consumer check is performed when consuming.

Improve timeouts in rabbit_fifo_client.
@kjnilsson kjnilsson force-pushed the qq-register-enqueuer-reliability branch 2 times, most recently from f52f287 to 3d7edce Compare November 8, 2021 12:57
@kjnilsson kjnilsson changed the title DO NOT MERGE: QQ: try all servers when registering enqueuer QQ: try all servers when registering enqueuer Nov 8, 2021
@kjnilsson kjnilsson changed the title QQ: try all servers when registering enqueuer QQ: stability and channel side improvements Nov 8, 2021
@michaelklishin michaelklishin merged commit 339322d into master Nov 8, 2021
@michaelklishin michaelklishin deleted the qq-register-enqueuer-reliability branch November 8, 2021 13:05
michaelklishin added a commit that referenced this pull request Nov 8, 2021
QQ: stability and channel side improvements (backport #3628)
@michaelklishin michaelklishin added this to the 3.9.9 milestone Nov 9, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants