Merge "Clear the stat cache in addMissingMetadata() to avoid more POSTs"