ICCG: low-cost and efficient consistency with adaptive synchronization for metadata replication