[ https://issues.apache.org/jira/browse/HBASE-28978?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
guluo reassigned HBASE-28978: ----------------------------- Assignee: guluo Description: StoreFileInfo.isMobRefFile() is used to determine whether a file is a reference MOB file created through snapshot. But StoreFileInfo.isMobRefFile() may mistakenly identify the real MOB file as a reference MOB file created through snapshot. For example: A reference MOB file, the name is t02_mob=34916d9a943a3b1fdb4a2bbeef2e3e97-d41d8cd98f00b204e9800998ecf8427e20241112464aebcdfc354fbb834d58900de1226d_6424974cfc2ba56e1c6f43c34e833a8e, StoreFileInfo.isMobRefFile() would return true for this name; A real MOb file, the name is d41d8cd98f00b204e9800998ecf8427e202411128ebcda68f97943cb80b64a00a0841a8d_6424974cfc2ba56e1c6f43c34e833a8e, StoreFileInfo.isMobRefFile() would also return true for this name. > StoreFileInfo.isMobRefFile() would return true if the file is mob file not a > reference mob file > ----------------------------------------------------------------------------------------------- > > Key: HBASE-28978 > URL: https://issues.apache.org/jira/browse/HBASE-28978 > Project: HBase > Issue Type: Bug > Components: HFile, mob > Reporter: guluo > Assignee: guluo > Priority: Major > > StoreFileInfo.isMobRefFile() is used to determine whether a file is a > reference MOB file created through snapshot. > But StoreFileInfo.isMobRefFile() may mistakenly identify the real MOB file as > a reference MOB file created through snapshot. > For example: > A reference MOB file, the name is > t02_mob=34916d9a943a3b1fdb4a2bbeef2e3e97-d41d8cd98f00b204e9800998ecf8427e20241112464aebcdfc354fbb834d58900de1226d_6424974cfc2ba56e1c6f43c34e833a8e, > StoreFileInfo.isMobRefFile() would return true for this name; > A real MOb file, the name is > d41d8cd98f00b204e9800998ecf8427e202411128ebcda68f97943cb80b64a00a0841a8d_6424974cfc2ba56e1c6f43c34e833a8e, > StoreFileInfo.isMobRefFile() would also return true for this name. -- This message was sent by Atlassian Jira (v8.20.10#820010)