File tree Expand file tree Collapse file tree 5 files changed +9
-8
lines changed
cluster/charts/fuel-streams
crates/domains/migrations Expand file tree Collapse file tree 5 files changed +9
-8
lines changed Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ apiVersion: v2
2
2
appVersion : " 1.0"
3
3
description : A Helm chart for Kubernetes
4
4
name : fuel-streams
5
- version : 0.11.4
5
+ version : 0.11.5
6
6
dependencies :
7
7
- name : nats
8
8
version : 1.3.2
Original file line number Diff line number Diff line change 2
2
{{- $cronjob := $dune.cronjob -}}
3
3
{{- $name := "dune" -}}
4
4
{{- $component := "dune" -}}
5
+ {{- $pvcName := printf "%s-dune-state" (include "fuel-streams.fullname" .) -}}
5
6
{{- $serviceDict := dict "root" . "context" $dune "name" $name "component" $component -}}
6
7
{{- if $dune.enabled -}}
7
8
apiVersion : batch/v1
@@ -30,11 +31,11 @@ spec:
30
31
- " {{ $dune.storage.mountPath }}"
31
32
{{- include "k8s.container-config" $serviceDict | nindent 14 }}
32
33
volumeMounts :
33
- - name : {{ $ dune.storage.name }}
34
+ - name : dune-state
34
35
mountPath : {{ $dune.storage.mountPath }}
35
36
volumes :
36
- - name : {{ $ dune.storage.name }}
37
+ - name : dune-state
37
38
persistentVolumeClaim :
38
- claimName : {{ include "fuel-streams.fullname" . }}-dune-state
39
+ claimName : {{ $pvcName }}
39
40
restartPolicy : OnFailure
40
41
{{- end }}
Original file line number Diff line number Diff line change 2
2
{{- $storage := $dune.storage }}
3
3
{{- $component := "dune" -}}
4
4
{{- $pvcName := printf "%s-dune-state" (include "fuel-streams.fullname" .) -}}
5
- {{- $storageDict := dict "root" . "context" $storage "name" "dune-storage" "component" $component -}}
5
+ {{- $storageDict := dict "root" . "context" $storage "name" $pvcName "component" $component -}}
6
6
{{- if $dune.enabled }}
7
7
apiVersion : v1
8
8
kind : PersistentVolumeClaim
Original file line number Diff line number Diff line change @@ -420,7 +420,6 @@ dune:
420
420
tag : latest
421
421
422
422
storage :
423
- name : dune-state
424
423
size : 10Mi # Small size since we only store block height state
425
424
storageClass : " gp3-generic"
426
425
accessMode : ReadWriteOnce
Original file line number Diff line number Diff line change @@ -100,7 +100,6 @@ CREATE INDEX IF NOT EXISTS idx_transactions_is_upgrade ON transactions (is_upgra
100
100
CREATE INDEX IF NOT EXISTS idx_transactions_is_upload ON transactions (is_upload);
101
101
CREATE INDEX IF NOT EXISTS idx_transactions_inputs_count ON transactions (inputs_count);
102
102
CREATE INDEX IF NOT EXISTS idx_transactions_outputs_count ON transactions (outputs_count);
103
- CREATE INDEX IF NOT EXISTS idx_transactions_script ON transactions (script);
104
103
CREATE INDEX IF NOT EXISTS idx_transactions_block_time ON transactions (block_time);
105
104
CREATE INDEX IF NOT EXISTS idx_transactions_created_at ON transactions (created_at);
106
105
@@ -256,7 +255,6 @@ CREATE TABLE "transaction_proof_set" (
256
255
);
257
256
258
257
CREATE INDEX IF NOT EXISTS idx_transaction_proof_set_tx_id ON transaction_proof_set (tx_id);
259
- CREATE INDEX IF NOT EXISTS idx_transaction_proof_set_proof_hash ON transaction_proof_set (proof_hash);
260
258
CREATE INDEX IF NOT EXISTS idx_transaction_proof_set_block_height ON transaction_proof_set (block_height);
261
259
CREATE INDEX IF NOT EXISTS idx_transaction_proof_set_block_time ON transaction_proof_set (block_time);
262
260
CREATE INDEX IF NOT EXISTS idx_transaction_proof_set_created_at ON transaction_proof_set (created_at);
@@ -283,3 +281,6 @@ CREATE INDEX IF NOT EXISTS idx_transaction_policies_tx_id ON transaction_policie
283
281
CREATE INDEX IF NOT EXISTS idx_transaction_policies_block_height ON transaction_policies (block_height);
284
282
CREATE INDEX IF NOT EXISTS idx_transaction_policies_block_time ON transaction_policies (block_time);
285
283
CREATE INDEX IF NOT EXISTS idx_transaction_policies_created_at ON transaction_policies (created_at);
284
+
285
+ DROP INDEX IF EXISTS idx_transactions_script;
286
+ DROP INDEX IF EXISTS idx_transaction_proof_set_proof_hash;
You can’t perform that action at this time.
0 commit comments