cshannon opened a new pull request, #3506: URL: https://github.com/apache/accumulo/pull/3506
MetadataConstraints will now validate mutations for updates of columns that store file metadata. A StoredTabletFile is created which will parse the metadata and eagerly load a ReferencedTabletFile to perform the validation checks. Tests have been added to verify that `DataFileColumnFamily`, `ScanFileColumnFamily`, and `DataFileColumnFamily` are all validated on updates. I added a flag to the StoredTabletFile class to allow an easy way to eagerly load the ReferencedTabletFile as I thought this may come in handy in the future for other use cases where we know we want to load the file immediately and validate. The other option of course is to not provide that flag and instead just call the getter on the constructed StoredTabletFile. If people prefer that approach instead that is fine too. There is some more work to be done for validating files but I figure more can be added for the follow on issue #3505 ,including GC delete markers. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
