introduce isWriteMetaData