Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/candidate-9.4.x' into candidate-…
Browse files Browse the repository at this point in the history
…9.6.x

Signed-off-by: Gavin Halliday <[email protected]>
  • Loading branch information
ghalliday committed Jul 31, 2024
2 parents 5202761 + ff9c16e commit b5d36a8
Show file tree
Hide file tree
Showing 14 changed files with 27 additions and 23 deletions.
2 changes: 1 addition & 1 deletion esp/src/src-react/components/LogViewer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ export const LogViewer: React.FunctionComponent<LogViewerProps> = ({
csvFormatter: level => Level[level].toUpperCase()
},
id: { label: nlsHPCC.Source, width: 212, sortable: false },
message: { label: nlsHPCC.Message, sortable: false }
message: { label: nlsHPCC.Message, width: 720, sortable: false }
};
}, []);

Expand Down
6 changes: 5 additions & 1 deletion helm/hpcc/templates/_helpers.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -1476,6 +1476,10 @@ Pass in dict with .root, .visibility defined
{{- end -}}
{{- end -}}

{{- define "hpcc.generateHelmVersion" -}}
helmVersion: 9.6.35-closedown0
{{- end -}}

{{/*
A template to generate a service
Pass in dict with .root, .name, .service, .defaultPort, .selector defined
Expand Down Expand Up @@ -1523,7 +1527,7 @@ kind: Service
metadata:
name: {{ $lvars.serviceName | quote }}
labels:
helmVersion: 9.6.35-closedown0
{{- include "hpcc.generateHelmVersion" . | nindent 4 }}
{{- include "hpcc.addStandardLabels" (dict "root" $.root "instance" $lvars.serviceName ) | indent 4 }}
{{- if $lvars.labels }}
{{ toYaml $lvars.labels | indent 4 }}
Expand Down
2 changes: 1 addition & 1 deletion helm/hpcc/templates/dafilesrv.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ spec:
labels:
{{- include "hpcc.addStandardLabels" (dict "root" $ "component" "dafilesrv" "name" "dafilesrv" "instance" .name) | indent 8 }}
server: {{ .name | quote }}
helmVersion: 9.6.35-closedown0
{{- include "hpcc.generateHelmVersion" . | nindent 8 }}
annotations:
checksum/config: {{ $configSHA }}
{{- include "hpcc.generateAnnotations" $commonCtx | indent 8 }}
Expand Down
2 changes: 1 addition & 1 deletion helm/hpcc/templates/dali.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ spec:
run: {{ $dali.name | quote }}
server: {{ $dali.name | quote }}
app: dali
helmVersion: 9.6.35-closedown0
{{- include "hpcc.generateHelmVersion" . | nindent 8 }}
{{- if hasKey $.Values.global "metrics" }}
{{- include "hpcc.generateMetricsReporterLabel" $.Values.global.metrics | nindent 8 }}
{{- end }}
Expand Down
2 changes: 1 addition & 1 deletion helm/hpcc/templates/dfuserver.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ spec:
{{- include "hpcc.addStandardLabels" (dict "root" $ "component" "dfuserver" "name" "dfuserver" "instance" .name) | indent 8 }}
run: {{ .name | quote }}
accessDali: "yes"
helmVersion: 9.6.35-closedown0
{{- include "hpcc.generateHelmVersion" . | nindent 8 }}
{{- if hasKey . "labels" }}
{{ toYaml .labels | indent 8 }}
{{- end }}
Expand Down
4 changes: 2 additions & 2 deletions helm/hpcc/templates/eclagent.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ data:
{{- include "hpcc.addStandardLabels" (dict "root" $ "component" $apptype "name" "eclagent" "instance" $appJobName "instanceOf" (printf "%s-job" .me.name)) | indent 12 }}
accessDali: "yes"
accessEsp: "yes"
helmVersion: 9.6.35-closedown0
{{- include "hpcc.generateHelmVersion" . | nindent 12 }}
{{- if hasKey .me "labels" }}
{{ toYaml .me.labels | indent 12 }}
{{- end }}
Expand Down Expand Up @@ -139,7 +139,7 @@ spec:
run: {{ .name | quote }}
accessDali: "yes"
accessEsp: {{ .useChildProcesses | default false | ternary "yes" "no" | quote }}
helmVersion: 9.6.35-closedown0
{{- include "hpcc.generateHelmVersion" . | nindent 8 }}
{{- if hasKey . "labels" }}
{{ toYaml .labels | indent 8 }}
{{- end }}
Expand Down
4 changes: 2 additions & 2 deletions helm/hpcc/templates/eclccserver.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ data:
{{- include "hpcc.addStandardLabels" (dict "root" $ "component" "eclccserver" "name" "eclccserver" "instance" $compileJobName "instanceOf" (printf "%s-job" .me.name)) | indent 12 }}
accessDali: "yes"
accessEsp: "yes"
helmVersion: 9.6.35-closedown0
{{- include "hpcc.generateHelmVersion" . | nindent 12 }}
{{- if hasKey .me "labels" }}
{{ toYaml .me.labels | indent 12 }}
{{- end }}
Expand Down Expand Up @@ -147,7 +147,7 @@ spec:
run: {{ .name | quote }}
accessDali: "yes"
accessEsp: {{ .useChildProcesses | default false | ternary "yes" "no" | quote }}
helmVersion: 9.6.35-closedown0
{{- include "hpcc.generateHelmVersion" . | nindent 8 }}
{{- if hasKey . "labels" }}
{{ toYaml .labels | indent 8 }}
{{- end }}
Expand Down
2 changes: 1 addition & 1 deletion helm/hpcc/templates/eclscheduler.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ spec:
run: {{ .name | quote }}
accessDali: "yes"
accessEsp: "no"
helmVersion: 9.6.35-closedown0
{{- include "hpcc.generateHelmVersion" . | nindent 8 }}
{{- if hasKey . "labels" }}
{{ toYaml .labels | indent 8 }}
{{- end }}
Expand Down
2 changes: 1 addition & 1 deletion helm/hpcc/templates/esp.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ spec:
accessSasha: "yes"
{{- end }}
app: {{ $application }}
helmVersion: 9.6.35-closedown0
{{- include "hpcc.generateHelmVersion" . | nindent 8 }}
{{- include "hpcc.addStandardLabels" (dict "root" $ "name" $application "component" "esp" "instance" .name) | indent 8 }}
{{- if hasKey $.Values.global "metrics" }}
{{- include "hpcc.generateMetricsReporterLabel" $.Values.global.metrics | nindent 8 }}
Expand Down
2 changes: 1 addition & 1 deletion helm/hpcc/templates/localroxie.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ spec:
server: {{ $servername | quote }}
accessDali: "yes"
accessEsp: "yes"
helmVersion: 9.6.35-closedown0
{{- include "hpcc.generateHelmVersion" . | nindent 8 }}
{{- include "hpcc.addStandardLabels" (dict "root" $ "component" "roxie-server" "name" "roxie" "instance" $roxie.name) | indent 8 }}
{{- if hasKey . "labels" }}
{{ toYaml .labels | indent 8 }}
Expand Down
8 changes: 4 additions & 4 deletions helm/hpcc/templates/roxie.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ spec:
{{- include "hpcc.addStandardLabels" (dict "root" $ "component" "topology-server" "name" "roxie" "instance" $commonCtx.toponame) | indent 8 }}
run: {{ $commonCtx.toponame | quote }}
roxie-cluster: {{ $roxie.name | quote }}
helmVersion: 9.6.35-closedown0
{{- include "hpcc.generateHelmVersion" . | nindent 8 }}
{{- if hasKey $.Values.global "metrics" }}
{{- include "hpcc.generateMetricsReporterLabel" $.Values.global.metrics | nindent 8}}
{{- end }}
Expand Down Expand Up @@ -182,7 +182,7 @@ kind: Service
metadata:
name: {{ $commonCtx.toponame | quote }}
labels:
helmVersion: 9.6.35-closedown0
{{- include "hpcc.generateHelmVersion" . | nindent 4 }}
{{- include "hpcc.addStandardLabels" (dict "root" $ "component" "topology-server" "name" "roxie" "instance" $commonCtx.toponame) | indent 4 }}
spec:
ports:
Expand Down Expand Up @@ -244,7 +244,7 @@ spec:
roxie-cluster: {{ $roxie.name | quote }}
accessDali: "yes"
accessEsp: "yes"
helmVersion: 9.6.35-closedown0
{{- include "hpcc.generateHelmVersion" . | nindent 8 }}
{{- include "hpcc.addStandardLabels" (dict "root" $ "component" "roxie-server" "name" "roxie" "instance" $servername) | indent 8 }}
{{- if hasKey $.Values.global "metrics" }}
{{- include "hpcc.generateMetricsReporterLabel" $.Values.global.metrics | nindent 8}}
Expand Down Expand Up @@ -352,7 +352,7 @@ spec:
roxie-cluster: {{ $roxie.name | quote }}
accessDali: "yes"
accessEsp: "yes"
helmVersion: 9.6.35-closedown0
{{- include "hpcc.generateHelmVersion" . | nindent 8 }}
{{- if hasKey $.Values.global "metrics" }}
{{- include "hpcc.generateMetricsReporterLabel" $.Values.global.metrics | nindent 8}}
{{- end }}
Expand Down
2 changes: 1 addition & 1 deletion helm/hpcc/templates/sasha.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ spec:
server: {{ $serviceName | quote }}
app: sasha
accessDali: {{ (has "dali" $sasha.access) | ternary "yes" "no" | quote }}
helmVersion: 9.6.35-closedown0
{{- include "hpcc.generateHelmVersion" . | nindent 8 }}
{{- if hasKey $sasha "labels" }}
{{ toYaml $sasha.labels | indent 8 }}
{{- end }}
Expand Down
10 changes: 5 additions & 5 deletions helm/hpcc/templates/thor.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ data:
labels:
accessDali: "yes"
accessEsp: "yes"
helmVersion: 9.6.35-closedown0
{{- include "hpcc.generateHelmVersion" . | nindent 12 }}
{{- include "hpcc.addStandardLabels" (dict "root" $ "component" "eclagent" "name" "thor" "instance" $eclAgentJobName "instanceOf" (printf "%s-job" .eclAgentName)) | indent 8 }}
{{- if hasKey .me "labels" }}
{{ toYaml .me.labels | indent 12 }}
Expand Down Expand Up @@ -153,7 +153,7 @@ data:
accessEsp: "yes"
app: "thor"
component: "thormanager"
helmVersion: 9.6.35-closedown0
{{- include "hpcc.generateHelmVersion" . | nindent 12 }}
instance: "_HPCC_JOBNAME_"
job: "_HPCC_JOBNAME_"
{{- include "hpcc.addStandardLabels" (dict "root" $ "component" "thormanager" "name" "thor" "instance" $thorManagerJobName "instanceOf" (printf "%s-thormanager-job" .me.name)) | indent 12 }}
Expand Down Expand Up @@ -220,7 +220,7 @@ data:
accessEsp: "yes"
app: "thor"
component: "thorworker"
helmVersion: 9.6.35-closedown0
{{- include "hpcc.generateHelmVersion" . | nindent 12 }}
instance: "_HPCC_JOBNAME_"
job: "_HPCC_JOBNAME_"
{{- include "hpcc.addStandardLabels" (dict "root" $ "component" "thorworker" "name" "thor" "instance" $thorWorkerJobName "instanceOf" (printf "%s-thorworker-job" .me.name)) | indent 12 }}
Expand Down Expand Up @@ -353,7 +353,7 @@ spec:
accessEsp: {{ $commonCtx.eclAgentUseChildProcesses | ternary "yes" "no" | quote }}
app: "thor"
component: "thor-eclagent"
helmVersion: 9.6.35-closedown0
{{- include "hpcc.generateHelmVersion" . | nindent 8 }}
instance: {{ $commonCtx.eclAgentName | quote }}
{{- include "hpcc.addStandardLabels" (dict "root" $ "component" "eclagent" "name" "thor" "instance" $commonCtx.eclAgentName ) | indent 8 }}
{{- if hasKey $commonCtx.me "labels" }}
Expand Down Expand Up @@ -418,7 +418,7 @@ spec:
accessEsp: "no"
app: "thor"
component: "thor-thoragent"
helmVersion: 9.6.35-closedown0
{{- include "hpcc.generateHelmVersion" . | nindent 8 }}
instance: {{ $commonCtx.thorAgentName | quote }}
{{- include "hpcc.addStandardLabels" (dict "root" $ "component" "eclagent" "name" "thor" "instance" $commonCtx.thorAgentName ) | indent 8 }}
{{- if hasKey $commonCtx.me "labels" }}
Expand Down
2 changes: 1 addition & 1 deletion system/mp/mpcomm.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2498,7 +2498,7 @@ bool CMPConnectThread::handleAcceptedSocket(ISocket *_sock, unsigned timeoutMs,
#endif
checkSelfDestruct(&connectHdr.id[0],sizeof(connectHdr.id));
Owned<CMPChannel> channel = parent->lookup(_remoteep);
if (!channel->attachSocket(sock.getClear(),_remoteep,hostep,false,&rd,addrval))
if (!channel->attachSocket(sock,_remoteep,hostep,false,&rd,addrval))
{
#ifdef _FULLTRACE
PROGLOG("MP Connect Thread: lookup failed");
Expand Down

0 comments on commit b5d36a8

Please sign in to comment.