From 7b1115bc4481ebbc744a2e984c317fef445fdaa7 Mon Sep 17 00:00:00 2001 From: g-pan Date: Thu, 30 May 2024 17:19:38 -0400 Subject: [PATCH] HPCC-28781 Document PreferredReadPlanes Signed-off-by: g-pan --- .../ContainerizedMods/ConfigureValues.xml | 45 ++++++++++++++++--- 1 file changed, 40 insertions(+), 5 deletions(-) diff --git a/docs/EN_US/ContainerizedHPCC/ContainerizedMods/ConfigureValues.xml b/docs/EN_US/ContainerizedHPCC/ContainerizedMods/ConfigureValues.xml index c4f60001e04..80e62634f7f 100644 --- a/docs/EN_US/ContainerizedHPCC/ContainerizedMods/ConfigureValues.xml +++ b/docs/EN_US/ContainerizedHPCC/ContainerizedMods/ConfigureValues.xml @@ -509,7 +509,7 @@ components - + @@ -839,8 +839,43 @@ format: ds := DATASET('~remote::hpcc2::somescope1::somelfn1', rec); + + + + Preferred Storage + + The preferredReadPlanes option is available + for each type of cluster--hThor, Thor, and Roxie. + + This option is only significant for logical files which reside + on multiple storage planes. When specified, the HPCC Systems platform + will seek to read files from the preferred plane(s) if a file resides + on them. These preferred planes must exist and be defined in + storage.planes + + The following is an example of a Thor cluster configured with + the preferredDataReadPlanes option. + + thor: +- name: thor + prefix: thor + numWorkers: 2 + maxJobs: 4 + maxGraphs: 3 + preferredDataReadPlanes: + - data-copy + - indexdata-copy + + + In the above example, running a query that reads a file that + resides on both "data" and "data-copy" (in that order) normally would + read the first copy on "data". With that + preferredDataReadPlanes specified, if that file + also resides on "data-copy", Thor will read that copy. - + This can be useful when there are multiple copies of files on + different planes with different characteristics that can impact + performance. @@ -1031,7 +1066,7 @@ thor: integrating applications in different domains. CORS defines how client web applications in one domain can interact with resources in another domain. You can configure CORS support settings in the ESP section of - the values.yaml file as illustrated below: + the values.yaml file as illustrated below: esp: - name: eclwatch @@ -1297,9 +1332,9 @@ thor: - + - +