Bug 486419
| Summary: | Producer flow control could cause problems in a cluster. | ||
|---|---|---|---|
| Product: | Red Hat Enterprise MRG | Reporter: | Alan Conway <aconway> |
| Component: | qpid-cpp | Assignee: | Alan Conway <aconway> |
| Status: | CLOSED DUPLICATE | QA Contact: | ppecka <ppecka> |
| Severity: | medium | Docs Contact: | |
| Priority: | urgent | ||
| Version: | 1.1 | CC: | gsim, jross, ppecka |
| Target Milestone: | 1.1.1 | ||
| Target Release: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2011-07-19 13:45:35 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Description
Alan Conway
2009-02-19 17:29:49 UTC
> Scenario: Broker has max publish rate set to 100 per sec. Client sends
> 100 messages starting at time t1, then runs out of credit. Cluster
> processes those one hundred messages updating clock on each. At the end
> of processing those messages the clock is still less than t2 (where t2 =
> t1 + 1 sec, the time at which new credit can be allocated to the session).
>
> If there is no more 'real' cluster traffic, one node will have to send
> an internally generated multicast to coincide with t2 and trigger
> reallocation of credit.
Yes you're right - in situations which use a timer we need one member to register a real timer event and multicast a clock update when the timer goes off. All nodes would register the original flow-control event with the cluster timer, which runs events based on cluster time changing.
Fixed in revision 747528 Not fixed with my delirious cluster-clock solution suggested above. When in a cluster only the directy connected node does flow control calculations, then multicasts the required commands. All nodes process the sending of the commands in cluster-order. Alan, the resolution of this is a little unclear to me. At any rate, I suspect this bug is obviated by a subsequent change. Safe to close this one? It was fixed in revision 747528 which is on the mrg_2.0.x branch. Frantisek, this one is pretty old. Did it get verified? Is testing for this issue still meaningful since BZ700822 introduced a change in clustered producer flow control and is already in verified state? Otherwise this issue needs clarification on what should be tested here and how the mechanism works. This does not need further testing, testing for BZ700822 would cover this as well. *** This bug has been marked as a duplicate of bug 700822 *** |