prevent duplicate time, sequence_number on write