Why might an old transaction still be unavailable even when a Solana node passes its health check?

Solana's getHealth checks whether the current RPC node is within the configured threshold of the cluster's latest slot. A response of ok means it is keeping up with the cluster's progress for this check. This result does not measure how much history the node retains, nor does it verify whether a particular transaction is available.

For example, a reconciliation task uses a node to query a payment that was just confirmed, while also using it to recheck records from several months ago. The node can handle recent data promptly, yet queries for old transactions may still come up empty because historical coverage is insufficient. If the task checks only getHealth, it may mistake a missing old record for proof that the transaction never occurred.

Monitoring can be split into two parts. The first records node health checks. The second uses historical transactions that have already been independently verified to run read tests, recording the request time and target node. If the current progress is abnormal, check synchronization; if an old sample cannot be read, check historical data coverage. Health checks can show whether the current node is keeping up, while historical samples verify whether this reconciliation task can be completed.

$SOL #Solana

Source: https://solana.com/developers/docs/rpc/http/gethealth