1. log metadata change for rawtable. 2. make getRawTableMetadata return a writable buffer.