[
https://issues.apache.org/jira/browse/GEODE-3063?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16046973#comment-16046973
]
Darrel Schneider commented on GEODE-3063:
-----------------------------------------
Note that this page:
http://geode.apache.org/docs/guide/11/developing/partitioned_regions/colocating_partitioned_region_data.html
also says that you can't configure a resolver with gfsh so it should be fixed
just like was done on the other page.
I also see docs like this: "If you custom partition your region data, provide
the same custom resolver to all colocated regions"
and: "Data colocation requires the same data partitioning mechanism for all of
the colocated regions"
These are not true statements. First of all it can make sense to not have a
resolver on your top-level/central/parent region that the other region(s) will
be colocated with. Instead you may just want to add a resolver on each of the
regions colocated with it and have them resolver based on the parent region's
keys. Second of all, you can have different resolvers on colocated regions.
Each of these regions may have a different type of key and you make want a
different resolver implementation of each type of key. This is allowed.
The only requirement I have been able to find is that for a single partitioned
region (colocated or not) it must be configured with the same resolver class
name across the entire cluster.
> Improve docs on default string-based partition resolver
> -------------------------------------------------------
>
> Key: GEODE-3063
> URL: https://issues.apache.org/jira/browse/GEODE-3063
> Project: Geode
> Issue Type: Bug
> Components: docs
> Reporter: Karen Smoler Miller
>
> The new default partition resolver at
> org.apache.geode.cache.util.StringPrefixPartitionResolver
> needs more detailed documentation.
> - An example of a string specifying a key in a region operation when this
> partition resolver is used.
> - What happens if the string specifying a key doesn't have a '|' delimiter.
> - An example of using this partition resolver to colocate two regions.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)