A system and method for synchronizing a database comprising raw data and
metadata derived from the raw data, but when the metadata has not yet
been updated. The raw data and the metadata are first synchronized, with
the raw data having been assigned a version number. After
synchronization, any stale metadata will be updated and assigned the same
version number as the raw data.