use replace in coalesced write-behind-queue