Fix race condition in publisher and make sure to sync up snapshot trees
Fix race condition in publisher and make sure to sync up snapshot trees

james2doyle/lit,kidaa/lit,luvit/lit,1yvT0s/lit,squeek502/lit,zhaozg/lit