# Changelog ## 2023-04-12 Release v1.4.1 + Enhancement & New Features + Support PolarDB-X Engine 2.0.0 + Remove single download proxy for consensus logs in point-in-time recovery(PITR) + Bug Fix + Fix readonly pxc when shareGms is `true` + Fix Compute Nodes metadata inconsistency when upgrading frequently ## 2023-03-23 Release v1.4.0 + Enhancement & New Features + Support rebuild dn pod automatically + Support consensus log backup + Support point-in-time recovery(PITR) + Support backup schedule + Support restore without backup object + Support debug runmode of PolarDB-X cluster + Support default PrometheusRule for polardbx cluster. + Use *Cluster IP* as the default communication address among dn pods + Use container network as the default network type + Bug Fix + Fix backup failure on follower when using non-host network + Fix grafana cpu and mem usage issue for kube-state-metrics 2.3.0 + Fix restore issue when binlog checksum is none. ## 2023-03-17 Release v1.4.0-beta + Enhancement & New Features + Support rebuild dn pod automatically + Support consensus log backup + Support point-in-time recovery(PITR) + Support backup schedule + Support restore without backup object + Support debug runmode of PolarDB-X cluster + Support default PrometheusRule for polardbx cluster. + Use *Cluster IP* as the default communication address among dn pods + Use container network as the default network type + Bug Fix + Fix backup failure on follower when using non-host network + Fix grafana cpu and mem usage issue for kube-state-metrics 2.3.0 + Fix restore issue when binlog checksum is none. ## 2022-11-17 Release v1.3.0 + Enhancement & New Features + Support backup and restore. + Support multiple architecture: linux/amd64, linux/arm64. + Support log(audit, error) collection. + Support read only cluster. + Support parameter template and configuration. + Support XStore node rebuild. + Support splitting dn data and log into different directories. + Support archiving cold data into OSS and NFS. + Bug Fix + Fix `mycnfOverwrite` not working issue. + Fix issue of cn topology rules not working in host network mode. + Fix XStore node not ready when ip changed in container network mode. + Fix logstash oom + Fix rebuild job does continue, when the instance is upgrading + Fix failing to create readonly pxc when dnReplicas is less than 2 + Fix xstore topology of restored instance not in sync with original instance + Fix binlog purge lock not working during backup + Fix change leader command issue for xsl. + Fix backup progress hang in binlogbackuping phase. ## 2022-10-26 Release v1.3.0-alpha.1 + Enhancement & New Features + Support backup and restore. + Support multiple architecture: linux/amd64, linux/arm64. + Support log(audit, error) collection. + Support read only cluster. + Support parameter template and configuration. + Support XStore node rebuild. + Support splitting dn data and log into different directories. + Support archiving cold data into OSS and NFS. + Bug Fix + Fix `mycnfOverwrite` not working issue. + Fix issue of cn topology rules not working in host network mode. + Fix XStore node not ready when ip changed in container network mode. ## 2022-06-07 Release v1.2.2. This is a bugfix release. Fix DN scale up/down and upgrade issue. Fix grafana memory usage panel when deployed on minikube. Create xstore of DN in parallel. Fix node selector issue for polardbx-monitor. Disable service links in pod spec. Fix overriding my.cnf passing to the script without section. ## 2022-04-11 Release v1.2.1. This is a bugfix release. + Fix the CDC problem by setting the 'consensuslog_revise' variable of galaxyengine to ON. + Update docker registry mirror used in China mainland from ustc to sjtug. + Fix the scale in/out progress: use "schedule rebalance" command. ## 2022-03-31 Release v1.2.0. + Enhancement & New Features + Provide a new CR `PolarDBXMonitor` for declaring the monitoring of some `PolarDBXCluster`. The controller will create `ServiceMonitors` to make prometheus scraping the metrics. + Provide a new chart `polardbx-monitor` which packages a customized [kube-prometheus](https://github.com/prometheus-operator/kube-prometheus) release with predefined dashboards for monitoring PolarDB-X clusters. + Provide support for xpaxos version of [galaxyengine](https://github.com/ApsaraDB/galaxyengine). Now the `PolarDBXCluster` controller will create a typical paxos cluster (leader + follower + logger) for each GMS and DN by default. + **Note** this is a breaking change. After the upgrade, the old `XStores` will be in an unmaintainable state. Update of the GMS/DN is not possible due to incompatible data/log formats. You may have to delete all the `PolarDBXCluster` in your Kubernetes before/after the upgrade. + If you want to keep the compatibility, you can disable this feature by declaring feature gate with negative symbol `EnableGalaxyCluster-`. After that, no multi-node `XStore` with galaxy engine can be created. + Support scaling up/down and self-healing of the `XStores`. + Bug Fix + Fix the behavior of polardbx-exporter when part of the scrape tasks fail. ## 2022-01-27 Release v1.1.0. + Enhancement & New Features + Support scaling in/out the PolarDBXCluster. + Support configure SSL on PolarDBXCluster. + Add a new CRD PolarDBXCluster for setting and reviewing the configs of PolarDB-X cluster. + `config.dynamic.CN` is not going to sync with cluster while phase is running. + Support admission webhooks for PolarDBXCluster and PolarDBXClusterKnobs. Now the bad specs will be rejected. + Support specifying `imagePullPolicy` in component templates. + Add label "polardbx/name" to Services、Secrets and ConfigMaps owned by PolarDBXCluster. + Support webhooks for PolarDBXCluster and PolarDBXClusterKnobs. + Support the complete spec of node selectors in `spec.topology.rules` of PolarDBXCluster. + Create headless services for pods of xstore. Record DNS domains instead of raw IP for records of DN in GMS and among galaxyengine xstores. + Support overwrite image tag in values.yaml (helm). + Support collect metrics for hotspot JVM 11. + Add e2e test tests. + Bug Fix + Fix the wrong call stack when logging with `flow.Error` in some cases. + Fix the wrong timeout in polardbx-init. + Fix configuring host path of data volumes in values.yaml (helm). + Fix removing ini keys in galaxyengine's config. + Fix a `removeNull` in hsperfdata. ## 2021-10-15 Release v1.0.0. + Provide v1 APIs: + PolarDBXCluster + XStore + Support deploy operator with Helm 3.