handling race conditions when asserting tables and views
merge