Collector dispatches sample/ event multiple times to dispatcher when multiple dispatchers are configured
Bug #1437689 reported by
Rohit Jaiswal
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ceilometer |
Won't Fix
|
Low
|
Rohit Jaiswal |
Bug Description
The requeue_
data to be dispatched multiple times in below scenario-
When multiple dispatchers are enabled, if one dispatcher, say
database raise exception, then it will be requeued, but http dispatcher or file dispatcher may succeed, then the http dispatcher will handle that message twice, how could we avoid this scenario? does it depend on the http target to filter duplicate data?
Changed in ceilometer: | |
assignee: | nobody → Rohit Jaiswal (rohit-jaiswal-3) |
description: | updated |
description: | updated |
description: | updated |
Changed in ceilometer: | |
status: | New → Won't Fix |
To post a comment you must log in.
It might be complex for a dispatcher to handle duplicate data. Is it possible for each dispatcher to requeue data on a different error queue specific to that dispatcher? So, each dispatcher will queue data on a dispatcher-specific error queue on a failure, instead of the collector requeue on metering queue. There are fixed number of dispatchers, so the number and size of these error queues is expected to be within bounds, assuming there is a limited number of failures.. This frees up the metering queue from the burden of failed data and also allows collector to continue accepting new data.