Revision 9d38c6e1 lib/config.py
b/lib/config.py | ||
---|---|---|
677 | 677 |
"""Bump up the serial number of the config. |
678 | 678 |
|
679 | 679 |
""" |
680 |
self._config_data.cluster.serial_no += 1
|
|
680 |
self._config_data.serial_no += 1 |
|
681 | 681 |
|
682 | 682 |
def _OpenConfig(self): |
683 | 683 |
"""Read the config data from disk. |
... | ... | |
805 | 805 |
|
806 | 806 |
self._config_data = objects.ConfigData(nodes={node: nodeconfig}, |
807 | 807 |
instances={}, |
808 |
cluster=globalconfig) |
|
808 |
cluster=globalconfig, |
|
809 |
serial_no=1) |
|
809 | 810 |
self._WriteConfig() |
810 | 811 |
|
811 | 812 |
@locking.ssynchronized(_config_lock, shared=1) |
Also available in: Unified diff