| TiDB Operator Architecture & TidbCluster CRD Tuning | Deploys official TiDB Operator with fine-tuned TidbCluster CRD manifests, granular component resource allocations, sysctl kernel parameters, and automated controller reconciliations across heterogeneous node groups. | Deploys generic community Helm charts without configuring component-specific CRD parameters, leading to operator reconciliation loops and misconfigured controller states. | Treats TiDB components as generic stateless workloads or standard StatefulSets, bypassing the TiDB Operator lifecycle automation and breaking automated self-healing. | Deploys all components in a single default namespace using basic manifests, lacking topology spread constraints and proper service account RBAC isolation. |
| Dedicated Local NVMe Storage Classes for TiKV/TiFlash | Provisions dedicated local NVMe storage classes via sig-storage-local-static-provisioner with tuned ext4/XFS mount options, delivering sub-millisecond Raft WAL sync latencies and high-IOPS RocksDB compaction. | Mounts standard cloud network block storage (EBS/gp3) with burstable IOPS, causing severe Raft commit latency spikes and cascading store disconnection events during write spikes. | Shares network-attached NFS or shared cluster storage across TiKV pods, violating multi-Raft consistency guarantees and triggering filesystem corruption warnings. | Uses ephemeral container root disks without persistent volume claims, risking catastrophic data loss upon pod restarts or worker node rescheduling. |
| Placement Driver (PD) Multi-AZ Quorum Isolation | Architects a dedicated 3-node or 5-node PD quorum spread across separate availability zones with pod anti-affinity, tuned Raft election ticks, and prioritized network routes to keep TSO timestamp generation available. | Schedules all PD replicas on the same Kubernetes worker node or single failure domain, causing complete cluster-wide metadata paralysis when that single node reboots. | Runs an even number of PD replicas or mixes PD with heavy compute pods, leading to split-brain voting deadlocks during network partitions. | Exposes PD etcd ports directly across cluster networks without mutual TLS (mTLS) or network policies, compromising cluster consensus security. |
| PodDisruptionBudgets (PDB) & Anti-Affinity Hardening | Enforces strict PodDisruptionBudgets (maxUnavailable: 1), zone-level topologySpreadConstraints, and node anti-affinity for TiKV and PD pods, ensuring voluntary node drains and cluster auto-scaling never breach Raft quorum. | Omits PodDisruptionBudgets, allowing automated cluster upgrades or node autoscalers to terminate multiple TiKV stores simultaneously and causing region peer unavailabilities. | Configures soft anti-affinity that collapses during node shortages, placing multiple TiKV leader replicas onto a single overloaded Kubernetes hypervisor. | Ignores eviction tolerances and drain mechanics, resulting in sudden pod eviction cascades whenever worker nodes hit transient memory pressure. |
| Rolling Stateful Upgrades | Orchestrates phased rolling upgrades using TiDB Operator partition-based update strategies, automated TiKV region leader eviction prior to pod termination, and health check gates designed to prevent transaction loss. | Performs uncoordinated kubectl rollout restarts, forcibly terminating TiKV stores with active leader leases and causing client connection aborts and multi-second query stalls. | Schedules full-cluster maintenance windows for minor patch updates, taking down business-critical HTAP applications for hours. | Updates container image tags simultaneously across all StatefulSets without verifying schema or storage engine backward compatibility, corrupting Raft state machines. |
| Cloud-Native Prometheus, Grafana & Chaos Mesh Testing | Integrates TidbMonitor with Prometheus operator, deploys curated Grafana dashboards with TiKV raft-engine and PD TSO alerts, and validates cluster resilience using automated Chaos Mesh fault-injection pipelines. | Relies on generic Kubernetes node-exporter metrics, lacking visibility into TiKV Coprocessor queue depths, RocksDB write stalls, or TiFlash delta-layer merges. | Installs ad-hoc logging agents without central telemetry aggregation, forcing reactive troubleshooting only after production outages have already impacted users. | Runs synthetic load tests in staging without chaos engineering or failure injection, discovering quorum split and CSI volume unmount deadlocks only in production. |