It seems like this code path will get executed even if we successfully wrote the data locally and replicated to the other nodes.