Skip to content

Commit

Permalink
enable split commit by default (#127)
Browse files Browse the repository at this point in the history
* enable split commit by default

* added deepStoreUploadRetryEnabled config
  • Loading branch information
ravisingal committed Jul 13, 2023
1 parent 607017a commit 808c8e1
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 9 deletions.
9 changes: 5 additions & 4 deletions helm/templates/controller/configmap.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,6 @@ data:
controller.deleted.segments.retentionInDays={{ int .Values.controller.deleted.segments.retentionInDays }}
controller.offline.segment.interval.checker.frequencyPeriod = {{ .Values.controller.offline.segment.interval.checker.frequencyPeriod }}
{{- if eq .Values.cluster.storage.scheme "gs" }}
{{- if .Values.cluster.splitCommitEnabled }}
controller.allow.hlc.tables=false
controller.enable.split.commit=true
{{- end }}
controller.local.temp.dir={{ .Values.controller.local.temp.dir }}
pinot.controller.storage.factory.class.gs=org.apache.pinot.plugin.filesystem.GcsPinotFS
pinot.controller.storage.factory.gs.projectId={{ .Values.cluster.storage.gs.projectId }}
Expand All @@ -45,4 +41,9 @@ data:
pinot.controller.segment.fetcher.s3.class=org.apache.pinot.common.utils.fetcher.PinotFSSegmentFetcher
pinot.controller.storage.factory.s3.disableAcl=false
{{- end }}
{{- if .Values.cluster.splitCommitEnabled }}
controller.allow.hlc.tables=false
controller.enable.split.commit=true
controller.realtime.segment.deepStoreUploadRetryEnabled=true
{{- end }}
{{- end }}
8 changes: 4 additions & 4 deletions helm/templates/server/configmap.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40,10 +40,6 @@ data:
{{- end }}
{{- end }}
{{- if eq $.Values.cluster.storage.scheme "gs" }}
{{- if $.Values.cluster.splitCommitEnabled }}
pinot.server.instance.enable.split.commit=true
pinot.server.instance.segment.store.uri={{ $.Values.controller.data.dir }}
{{- end }}
pinot.server.storage.factory.class.gs=org.apache.pinot.plugin.filesystem.GcsPinotFS
pinot.server.storage.factory.gs.projectId={{ $.Values.cluster.storage.gs.projectId }}
pinot.server.storage.factory.gs.gcpKey={{ $.Values.cluster.storage.gs.gcpKey }}
Expand All @@ -57,5 +53,9 @@ data:
pinot.server.segment.fetcher.s3.class=org.apache.pinot.common.utils.fetcher.PinotFSSegmentFetcher
pinot.controller.storage.factory.s3.disableAcl=false
{{- end }}
{{- if $.Values.cluster.splitCommitEnabled }}
pinot.server.instance.enable.split.commit=true
pinot.server.instance.segment.store.uri={{ $.Values.controller.data.dir }}
{{- end }}
{{- end }}
{{- end }}
2 changes: 1 addition & 1 deletion helm/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ cluster:
name: pinot
storage:
scheme: file
splitCommitEnabled: false
splitCommitEnabled: true

controller:
name: controller
Expand Down

0 comments on commit 808c8e1

Please sign in to comment.