diff options
author | Chris St. Pierre <chris.a.st.pierre@gmail.com> | 2013-10-04 15:10:36 -0400 |
---|---|---|
committer | Chris St. Pierre <chris.a.st.pierre@gmail.com> | 2013-10-04 15:10:58 -0400 |
commit | 9a6a231ccb4f509c0f6fa932c97bad647d29af50 (patch) | |
tree | da2223d140f756cffa931b9f7143f396c48fa26d /src/sbin/bcfg2-build-reports | |
parent | 7f6c10db41c22b3924539aae19164a9ab9a80468 (diff) | |
download | bcfg2-9a6a231ccb4f509c0f6fa932c97bad647d29af50.tar.gz bcfg2-9a6a231ccb4f509c0f6fa932c97bad647d29af50.tar.bz2 bcfg2-9a6a231ccb4f509c0f6fa932c97bad647d29af50.zip |
Metadata: read in clients.xml on every write
This ensures consistency between the in-memory representation of
clients.xml and the representation on disk. If we don't read our
writes immediately, there's a race condition when creating a new
client: If it asserts its profile or version before the FAM event from
the clients.xml edit is processed, then the clients doesn't appear to
exist yet, and Bcfg2 complains.
Diffstat (limited to 'src/sbin/bcfg2-build-reports')
0 files changed, 0 insertions, 0 deletions