« Previous | Next » 

Revision 9d38c6e1

ID9d38c6e1c2d8eea9aaef8b1fb9e3cfd25a0a5daa
Parent be1fa613
Child b989e85d

Added by Iustin Pop over 13 years ago

Switch the global serial_no to the top object

Currently the serial_no that is incremented every time the configuration
file is written is located on the 'cluster' object in the configuration
structure. However, this is wrong as the cluster serial_no should be
incremented only when the cluster state is changed (for whatever
definition of “changed” we will use), not simply because the
configuration file is written.

This patch changes so that the ConfigWriter._BumpSerialNo affects the
top-level ConfigData object.

Reviewed-by: ultrotter

Files

  • added
  • modified
  • copied
  • renamed
  • deleted

View differences