partition: Use a transaction to write and a read lock to read the LDB_METADATA_SEQ_NUM