[
https://issues.apache.org/jira/browse/GEODE-3063?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16261677#comment-16261677
]
ASF GitHub Bot commented on GEODE-3063:
---------------------------------------
karensmolermiller commented on a change in pull request #1077: GEODE-3063
partition resolver doc revisions
URL: https://github.com/apache/geode/pull/1077#discussion_r152431888
##########
File path:
geode-docs/developing/partitioned_regions/using_custom_partition_resolvers.html.md.erb
##########
@@ -19,47 +19,64 @@ See the License for the specific language governing
permissions and
limitations under the License.
-->
-By default, <%=vars.product_name%> partitions each data entry into a bucket
using a hashing policy on the key. Additionally, the physical location of the
key-value pair is abstracted away from the application. You can change these
policies for a partitioned region. You can provide your own data partitioning
resolver and you can additionally specify which members host which data buckets.
+By default, <%=vars.product_name%> partitions each data entry into a bucket
using a hashing policy on the key.
+Additionally, the physical location of the key-value pair
+is abstracted away from the application.
+You can change these policies for a partitioned region by providing
+your own partition resolver.
+The partitioning can go further with a fixed-partition resolver
+that specifies which members host which data buckets.
<a
id="custom_partition_region_data__section_CF05CE974C9C4AF78430DA55601D2158"></a>
**Note:**
-If you are colocating data between regions and custom partitioning the data in
the regions, all colocated regions must use the same custom partitioning
mechanism. See [Colocate Data from Different Partitioned
Regions](colocating_partitioned_region_data.html#colocating_partitioned_region_data).
+If you are both colocating region data and custom partitioning,
+all colocated regions must use the same custom partitioning mechanism.
+See [Colocate Data from Different Partitioned
Regions](colocating_partitioned_region_data.html#colocating_partitioned_region_data).
-<a
id="custom_partition_region_data__section_1D7043815DF24308ABE4C78BFDFEE686"></a>
+The two steps of implementing the interface
+and configuring the regions are described.
+These steps differ based on which partition resolver is used.
Review comment:
Thanks Dave! I made these changes.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
> 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
> Assignee: 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)