ignite-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vladimir Ozerov (JIRA)" <j...@apache.org>
Subject [jira] [Created] (IGNITE-2813) IGFS: Optimize metadata format.
Date Fri, 11 Mar 2016 18:40:39 GMT
Vladimir Ozerov created IGNITE-2813:

             Summary: IGFS: Optimize metadata format.
                 Key: IGNITE-2813
                 URL: https://issues.apache.org/jira/browse/IGNITE-2813
             Project: Ignite
          Issue Type: Task
          Components: IGFS
    Affects Versions: 1.5.0.final
            Reporter: Vladimir Ozerov
             Fix For: 1.7

Currently our metadata appears to be too heavy. 

Short summary of {{IgfsFIleInfo}}:
{{id}} - files and dirs 
{{len}} - only files
{{blockSize}} - only files
{{props}} - files and dirs
{{lockId}} - only files
{{affKey}} - only files
{{fileMap}} - only files
{{accessTime}} - files and dirs
{{modificationTime}} - files and dirs
{{listing}} - only dirs
{{evictExclude}} - only files

The same applies to {{IgfsListingEntry}}

1) Split files and directories into separate classes. This will improve both performance and
maintainability of {{IgfsFileInfo}} class.
2) Investigate whether we need {{IgfsListingEntry}} at all. It looks like we only need it
for "listPaths" operation. Can we simply replace it with "String -> IgniteUuid" map?

This message was sent by Atlassian JIRA

View raw message