Activity log for bug #1468994

Date Who What changed Old value New value Message
2015-06-26 04:55:08 Menno Finlay-Smits bug added bug
2015-06-26 04:55:18 Menno Finlay-Smits nominated for series juju-core/1.24
2015-06-26 04:55:18 Menno Finlay-Smits bug task added juju-core/1.24
2015-06-26 04:55:23 Menno Finlay-Smits juju-core/1.24: milestone 1.24.2
2015-06-26 04:55:27 Menno Finlay-Smits juju-core/1.24: assignee Menno Smits (menno.smits)
2015-06-26 04:55:29 Menno Finlay-Smits juju-core/1.24: importance Undecided Critical
2015-06-26 04:55:33 Menno Finlay-Smits juju-core/1.24: status New In Progress
2015-06-26 04:56:31 Menno Finlay-Smits summary Non-multi-env documents written to settings collection Multi-env unsafe documents written to settings collection
2015-06-26 04:56:39 Menno Finlay-Smits summary Multi-env unsafe documents written to settings collection Multi-env unsafe leadership documents written to settings collection
2015-06-26 05:18:46 Menno Finlay-Smits summary Multi-env unsafe leadership documents written to settings collection leadership settings documents written out without env-uuid field
2015-06-26 05:22:48 Menno Finlay-Smits description A bare empty map is written to the settings collection by addLeadershipSettingsOp which is unsupported by the multi-env txn layer that automatically adds the env-uuid field and env UUID prefix to the _id field. This leaves means the document is written out without appropriate environment information addLeadershipSettingsOp should be updated to using bson.D/M. In addition the multi-env txn layer should error out when it sees a document expressed with an unsupported type. This issue also exposed a way which the addEnvUUIDToEntityCollection upgrade helper can be improved. It should not attempt to add an env-uuid prefix to the _id if it's already there. This was seen and was causing upgrade failures which investigating another issue. A bare empty map is written to the settings collection by addLeadershipSettingsOp which is unsupported by the multi-env txn layer. This means that the document is written out without the env-uuid field. The lack of an env-uuid field causes the addEnvUUIDToEntityCollection upgrade helper to do the wrong thing when working on the settings collection, adding a env UUID prefix to _id field when there's already one there. Fixes: 1. addLeadershipSettingsOp should be updated to using bson.D/M so that the multi-env txn layer can automatically add the env-uuid field. 2. The multi-env txn layer should error out when it sees a document expressed with an unsupported type. 3. the addEnvUUIDToEntityCollection upgrade helper should not attempt to add an env UUID prefix to the _id if it's already there.
2015-06-26 05:37:01 Menno Finlay-Smits juju-core: status Triaged In Progress
2015-06-29 10:23:46 Menno Finlay-Smits juju-core: status In Progress Fix Committed
2015-06-29 10:23:48 Menno Finlay-Smits juju-core/1.24: status In Progress Fix Committed
2015-06-29 16:15:40 Curtis Hovey juju-core: importance Critical High
2015-07-01 14:15:43 Curtis Hovey juju-core/1.24: status Fix Committed Fix Released
2015-07-07 20:51:35 Curtis Hovey juju-core: status Fix Committed Fix Released