# ERR Replica diskless replication failed: timeout waiting for RDB file from master

- **ID:** `redis/replica-diskless-replication-timeout`
- **Domain:** redis
- **Category:** network_error
- **Error Code:** `ERM`
- **Verification:** ai_generated
- **Fix Rate:** 82%

## Root Cause

The replica did not receive the full RDB file within repl-timeout during diskless replication, often due to network congestion or slow master I/O.

## Version Compatibility

| Version | Status | Introduced | Deprecated |
|---------|--------|------------|------------|
| 6.0 | active | — | — |
| 7.0 | active | — | — |
| 7.2 | active | — | — |

## Workarounds

1. **Use 'redis-cli --latency' to check network latency between master and replica. If > 100ms, consider placing them in the same data center or using a faster link.** (85% success)
   ```
   Use 'redis-cli --latency' to check network latency between master and replica. If > 100ms, consider placing them in the same data center or using a faster link.
   ```
2. **Run 'CONFIG SET repl-timeout 120' and 'CONFIG SET repl-backlog-size 100mb' on master to accommodate larger RDB files.** (80% success)
   ```
   Run 'CONFIG SET repl-timeout 120' and 'CONFIG SET repl-backlog-size 100mb' on master to accommodate larger RDB files.
   ```

## Dead Ends

- **** — Falls back to disk-based replication, which can be slower and cause disk I/O spikes. (55% fail)
- **** — May mask underlying network issues; can cause long failover delays. (65% fail)
- **** — Temporary fix; timeout will recur if network or master issues persist. (75% fail)
