Uploaded image for project: 'Geode'
  1. Geode
  2. GEODE-6336

gfsh create region does not support multiple configurations for the same region name

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Not A Problem
    • None
    • None
    • gfsh
    • None

    Description

      gfsh create region has group support but it does not allow the same region name to be created with different configurations in different groups.

      Geode has support for different configurations for the same region name in the same cluster.

      For example you can have some members define a PartitionedRegion as an accessor (it stores no data) and others that define it as a store (it actually stores data for the region).

      For replicas you can have some members be persistent, others non-persistent, and others be empty proxies.

      Cluster config does have group support so the way this was supposed to work was that each group could define the region in its own way and would not fail saying it was already created in another group. If a member decides to join multiple groups then it is an error if the same name is defined in more than one group. 

      As it is, you currently can not use gfsh to create regions in supported configurations. You would need to disable cluster config and instead define you regions with your own xml files or using apis each time.

       

      Attachments

        Activity

          People

            Unassigned Unassigned
            dschneider Darrel Schneider
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: