Vclocks db write