Use lww while comparing timestamps in metadata.
Merge branch 'compactdvv' into compactdvv_test