ignite-dev 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-3529) IGFS: Simplify meta and data cache configuration.
Date Thu, 21 Jul 2016 13:31:20 GMT
Vladimir Ozerov created IGNITE-3529:
---------------------------------------

             Summary: IGFS: Simplify meta and data cache configuration.
                 Key: IGNITE-3529
                 URL: https://issues.apache.org/jira/browse/IGNITE-3529
             Project: Ignite
          Issue Type: Task
          Components: IGFS
    Affects Versions: 1.6
            Reporter: Vladimir Ozerov
             Fix For: 2.0


Currently IGFS configuration is rather complex because user have to manually do the following:
1) Configure meta cache
2) Configure data cache 
3) Wire them up with IGFS through {{FileSystemConfiguration.*CacheName}} properties. 

Instead, I propose to do the following:
1) Add two properties directly to {{FileSystemConfiguration}}:
- dataCacheConfiguration
- metaCacheConfiguration

2) Names of these cache will be ignored and overwritten with cache name unique to concrete
IGFS . E.g. *_data and *_meta, where * is IGFS name.

3) *THE MOST IMPORTANT THING* - provide sensible defaults. 

This way normally user will not bother about cache config at all. He will only need to add
IGFS config bean and set it's name.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message