Uploaded image for project: 'Ignite'
  1. Ignite
  2. IGNITE-15998

Add separate configuration for system data region

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 2.13
    • cache
    • Added separate configuration for system data region
    • Docs Required, Release Notes Required

    Description

      AS IS

      Currently, Ignite users can control only two system region parameters: initialSize and maxSize. These properties are managed by DataStorageConfiguration, but same time default and user-specified regions have org.apache.ignite.configuration.DataRegionConfiguration for configuring them. It is not wise to use the same class for the system region, because there are some restrictions the codebase is relying on, but keeping to `drill new holes` in DataStorageConfiguration for the system region is not good either.

       

      TO BE

      Implement configuration class for systemDataRegion similar to org.apache.ignite.configuration.DataRegionConfiguration, but with more restricted options, ready to be added more on-demand.

      Move systemRegionProperties from org.apache.ignite.configuration.DataStorageConfiguration to own class.

       

      API changes:

      1. Declare deprecated:
        • org.apache.ignite.configuration.DataStorageConfiguration#setSystemRegionInitialSize
        • org.apache.ignite.configuration.DataStorageConfiguration#getSystemRegionInitialSize
        • org.apache.ignite.configuration.DataStorageConfiguration#setSystemRegionMaxSize
        • org.apache.ignite.configuration.DataStorageConfiguration#getSystemRegionMaxSize
      2. Add new methods:
        • org.apache.ignite.configuration.DataStorageConfiguration#setSystemDataRegionConfiguration(SystemDataRegionConfiguration)
        • org.apache.ignite.configuration.DataStorageConfiguration#getSystemDataRegionConfiguration
      3. Add new configuration class org.apache.ignite.configuration.SystemDataRegionConfiguration

      Attachments

        Issue Links

          Activity

            People

              erixon Eduard Rakhmankulov
              erixon Eduard Rakhmankulov
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 3h
                  3h