You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What did you expect to see?
We expect to see the pump image in the system state is pingcap/tidb-binlog:v5.3.0 as we specify in the CR.
What did you see instead?
The pump image in the system state is pingcap/tidb-binlog:v5.4.0.
Additional comment
We suspect the correctness of the logic of using baseImage and image. For pump, if we do not specify baseImage for it, setPumpSpecDefault() will set tc.Spec.Pump.BaseImage to pingcap/tidb-binlog. However, PumpImage() will later check whether baseImage is empty. And in this case, baseImage will never be empty since it is already set to a default value. So the operator will let the baseImage preempts image. Thus, what we specify in pump.image is ignored.
The text was updated successfully, but these errors were encountered:
Bug Report
What version of Kubernetes are you using?
What version of TiDB Operator are you using?
What storage classes exist in the Kubernetes cluster and what are used for PD/TiKV pods?
$ kubectl get sc NAME PROVISIONER RECLAIMPOLICY VOLUMEBINDINGMODE ALLOWVOLUMEEXPANSION AGE standard (default) rancher.io/local-path Delete WaitForFirstConsumer false 9m4s $ kubectl get pvc -n {tidb-cluster-namespace} NAME STATUS VOLUME CAPACITY ACCESS MODES STORAGECLASS AGE pd-advanced-tidb-pd-0 Bound pvc-5d85aab1-3a5b-4bd2-a096-83be8a6e4c63 10Gi RWO standard 8m37s pd-advanced-tidb-pd-1 Bound pvc-22015e6c-601d-409e-b480-07458ce53711 10Gi RWO standard 8m37s pd-advanced-tidb-pd-2 Bound pvc-aa1bfdda-b2be-44ed-a721-a17ef5d6140c 10Gi RWO standard 8m37s tikv-advanced-tidb-tikv-0 Bound pvc-a702225b-1b7f-4363-8975-04f9170f5853 100Gi RWO standard 7m11s tikv-advanced-tidb-tikv-1 Bound pvc-fc633404-97d4-4359-9921-61faaf26b4c8 100Gi RWO standard 7m11s tikv-advanced-tidb-tikv-2 Bound pvc-69b6c9eb-6dcf-4ae6-91b8-912551c3c1d4 100Gi RWO standard 7m11s
What's the status of the TiDB cluster pods?
What did you do?
We deployed a CR file shown below. Note that the version of the pump image we use is 5.3.0.
CR file
What did you expect to see?
We expect to see the pump image in the system state is
pingcap/tidb-binlog:v5.3.0
as we specify in the CR.What did you see instead?
The pump image in the system state is
pingcap/tidb-binlog:v5.4.0
.Additional comment
We suspect the correctness of the logic of using
baseImage
andimage
. Forpump
, if we do not specifybaseImage
for it, setPumpSpecDefault() will settc.Spec.Pump.BaseImage
topingcap/tidb-binlog
. However, PumpImage() will later check whetherbaseImage
is empty. And in this case,baseImage
will never be empty since it is already set to a default value. So the operator will let thebaseImage
preemptsimage
. Thus, what we specify inpump.image
is ignored.The text was updated successfully, but these errors were encountered: