CCRDT: implement repair/merge functionality