Problem: A production alert arrived with the subject indicating “client replied sms” and a Severity 3 priority: inbound reply messages were not being recorded by the downstream processing pipeline. The affected pipeline is an Apache Spark Structured Streaming job that consumes reply events from a message broker and uses a persistent checkpoint directory to track […]
Knowledge Base Case Studies Data Management and Analytics Data Analytics 21 Jul 2026 Triage and resolution of a high-severity Apache Spark alert caused by executor memory pressureProblem: An automated notification opened a Severity 2 case for Apache Spark with minimal details from the reporter. The only information attached to the alert was the product (Apache Spark) and the high-severity flag; no application logs or job identifiers were provided. Initial observable behavior from follow-up checks showed repeat Spark application failures on the […]
Knowledge Base Case Studies Data Management and Analytics Data Analytics 20 May 2026 Resolving a Complex PostgreSQL Patroni Replica FailureProblem The database architecture reached its limit when a critical node stopped responding. A standby node experienced a PostgreSQL Patroni replica failure, repeatedly logging “incorrect resource manager data checksum” errors. The system stopped working because corrupted Write-Ahead Log segments completely broke the replication stream. A dangerous shortcut would involve running continuous base backups to force […]
Database 8 May 2026 Enabling WAL archiving on a DR Patroni standby to allow backups from the replicaProblem: A customer running Patroni-managed PostgreSQL v15.17 (Patroni 3.3.2) asked whether Commvault backups can be taken from the DR site’s Standby Leader. The DR cluster is a replicating standby of Production. The request asked specifically whether WAL file generation can be started on the DR Standby Leader and whether Commvault’s option to delete WALs after […]
Knowledge Base Case Studies Data Management and Analytics Database 25 Apr 2026 PostgreSQL cluster recovery after unclean shutdownProblem: A Patroni-managed PostgreSQL cluster (PostgreSQL 15.17, Patroni 3.3.2) running asynchronous replication intermittently failed to rejoin an ex-master after a physical host reboot performed as part of high‑availability testing. Test pattern: hard shutdown of the former primary for ~5 minutes, then restart. Symptom observed on restart: the node failed to rejoin with the error “requested […]
Knowledge Base Case Studies Data Management and Analytics Database 15 Apr 2026 Removing a transitive commons-collections 3.x vulnerability from an Apache NiFi distributionProblem: An official Apache NiFi Docker image (standard distribution) was scanned by a security tool and reported a high-severity finding: sonatype-2024-3350 (commons-collections version 3.2.2). The scanner identified the vulnerable class (SetUniqueList) inside the nifi-toolkit-assembly artifact (zip:bin, NiFi distribution version 2.8.0). The deployment context was a stock NiFi image pulled from the vendor registry — no […]
Case Studies Data Management and Analytics Data Analytics 10 Apr 2026 Troubleshooting inconsistent SELECT performance across identical Patroni PostgreSQL clustersProblem: Seven identical Patroni-managed PostgreSQL 15.15 clusters (Patroni 3.3.2) showed divergent behaviour for the same SELECT query: clusters labelled 1–5 returned results quickly while clusters 6–7 returned the same query much slower. Dataset sizes, indexes, constraints and foreign keys were reported as equivalent across clusters. One temporary mitigation (set enable_mergejoin = false) had been applied […]
Case Studies Data Management and Analytics Database 3 Apr 2026 Expanding a KRaft Kafka Cluster by Two Brokers without Data LossProblem: Client requested a step‑by‑step procedure to add two new servers to an existing three‑node Kafka cluster running in KRaft mode, with the explicit requirement to avoid any data loss. The cluster’s existing configuration (server.properties) and current controller.quorum.voters format were provided for reference. The observable concern was that adding voters and brokers incorrectly could cause […]
Knowledge Base Case Studies Data Management and Analytics Data Analytics 3 Apr 2026 Pruning oversized Cassandra ‘backups’ folders while preserving incremental retentionProblem: The data mount was approaching full capacity. Investigation showed that the keyspace-level backups directories inside the Cassandra data directories were consuming the majority of space (≈150 GB). No active snapshots were present on the cluster when the issue was reported. The cluster configuration had incremental_backups: true in cassandra.yaml because the customer wanted to retain […]
Knowledge Base Case Studies Data Management and Analytics Database