collect_rabbitmq_stats.sh should write to a temp file prior to making stats available
Bug #1569143 reported by
Benjamin Kaehne
This bug affects 4 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack RabbitMQ Server Charm |
Fix Released
|
Medium
|
Liam Young | ||
rabbitmq-server (Juju Charms Collection) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
collect_
While reading information from rabbit, the script should stage all writes to a temp file then make stats avail to any scripts which may read off this file.
The current issue is that any script which reads the stats file while it is being generated could potentially read an empty or half written file resulting in false errors to the consumer of the file.
Changed in rabbitmq-server (Juju Charms Collection): | |
status: | New → Invalid |
Changed in charm-rabbitmq-server: | |
status: | New → Confirmed |
importance: | Undecided → Medium |
assignee: | nobody → Liam Young (gnuoy) |
Changed in charm-rabbitmq-server: | |
milestone: | none → 17.11 |
Changed in charm-rabbitmq-server: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Fix proposed to branch: master /review. openstack. org/508849
Review: https:/