User story #9204
closedUser story #1808: Add an Audit mode to Rudder: only check properties, no modification on nodes
User story #8924: Policy mode API (Global, Directive, Node)
Clean up unused NodeXXXModified events
Description
With the parent ticket, we are merging several disjoint events related to node into a new "node properties" event.
For now, the implementation is able to read both old events and new ones, and so we are assure that old archives and events in the DB are still correctly readable.
But we need to do a migration so that we have a release from which we can say "starting now, we don't have to care about old disjoint node properties". And so be able to remove the code diffenitly after a couple of version;
UPDATE: read comments to see why actually, we don't need that migration.
Updated by François ARMAND about 8 years ago
- Related to Architecture #9202: Clean old fileFormat migration and fileFormat numbering policy added
Updated by François ARMAND about 8 years ago
With some more looking, we don't need a migration:
- the 3.2 eventlog details (the XML part) for node ("NodeHeartbeatModified", "NodePropertiesModified", "NodeAgentRunPeriodModified") have the same structure "NodeModified", so that the unserialisation of a NodeModified correctly unserialize the 3 old one ;
- in 4.0, we are only producing "ModifyNodeEventType" eventType, whereas in 3.2 we were producing "ModifyNodeHeartbeatEventType", "ModifyNodePropertiesEventType" and "ModifyNodeAgentRunPeriodEventType". So we just have to say that now, the 3 old eventType for node are mapped to the new "ModifyNodeEventType"
With that, we don't have to change the file format nor the eventType. The only modification if to have ModifyNodeEventType mapped from 4 string in place of one - something that we can afford to maintain.
Updated by François ARMAND about 8 years ago
- Subject changed from Update XML fileFormat to 7 and add a migration to Clean up unused NodeXXXModified events
- Description updated (diff)
Updated by François ARMAND about 8 years ago
- Status changed from In progress to Pending technical review
- Assignee changed from François ARMAND to Vincent MEMBRÉ
- Pull Request set to https://github.com/Normation/rudder/pull/1233
Updated by François ARMAND about 8 years ago
- Status changed from Pending technical review to Pending release
- % Done changed from 0 to 100
Applied in changeset rudder|eeaef6c419e4762f8758373c720ec09bc8717be1.
Updated by Benoît PECCATTE about 8 years ago
- Target version changed from 4.0.0~rc2 to 318
Updated by Vincent MEMBRÉ about 8 years ago
- Target version changed from 318 to 4.0.0~rc2
Updated by Vincent MEMBRÉ about 8 years ago
- Target version changed from 4.0.0~rc2 to 4.0.0~rc1
Updated by Alexis Mousset about 8 years ago
- Status changed from Pending release to Released
This bug has been fixed in Rudder 4.0.0 which was released the 10th November 2016.