Partial resync is never possible
Describe the bug I have an issue with a 2-node active-replica setup where partial replication is never possible. Even if the replica backlog or replica-client buffers are not full, attempts for partial resync always fail due to having "no cached master."
To reproduce Configure 6.2.2 as active-replica with 2 nodes. Ensure that buffer, maxmemory, and repl-backlog-size are sufficient to allow for partial resync. Observe logs to see if any partial resysncs are successful.
Expected behavior I would expect for replicas to be able to do partial resync as long as their replication offset is not outside the offset range of the backlog.
Additional information bind 127.0.0.1 ******** protected-mode yes port 6379 tcp-backlog 65536 timeout 0 tcp-keepalive 300 daemonize yes supervised no pidfile "/var/run/keydb/keydb-server.pid" loglevel notice logfile "/var/log/keydb/keydb-server.log" databases 1 always-show-logo no save "" stop-writes-on-bgsave-error no rdbcompression yes rdbchecksum no dbfilename "dump.rdb" dir "/var/lib/keydb" multi-master no active-replica yes allow-write-during-load yes multi-master-no-forward yes replicaof ******** 6379 masterauth "" replica-serve-stale-data yes repl-diskless-sync yes repl-diskless-sync-delay 0 repl-timeout 600 repl-disable-tcp-nodelay no repl-backlog-size 32gb replica-priority 100 requirepass "" maxclients 10208 maxmemory 64gb maxmemory-policy allkeys-lru lazyfree-lazy-eviction yes lazyfree-lazy-expire yes lazyfree-lazy-server-del yes replica-lazy-flush yes lazyfree-lazy-user-del yes lazyfree-lazy-user-flush yes appendonly no appendfilename "appendonly.aof" appendfsync everysec no-appendfsync-on-rewrite no auto-aof-rewrite-percentage 100 auto-aof-rewrite-min-size 64mb aof-load-truncated yes aof-use-rdb-preamble yes lua-time-limit 5000 slowlog-max-len 512 notify-keyspace-events "" hash-max-ziplist-entries 512 hash-max-ziplist-value 64 list-max-ziplist-size -2 list-compress-depth 0 set-max-intset-entries 512 zset-max-ziplist-entries 128 zset-max-ziplist-value 64 hll-sparse-max-bytes 3000 stream-node-max-bytes 4kb stream-node-max-entries 100 activerehashing yes client-output-buffer-limit normal 0 0 0 client-output-buffer-limit replica 16gb 16gb 0 client-output-buffer-limit pubsub 32mb 8mb 60 hz 100 dynamic-hz yes aof-rewrite-incremental-fsync yes rdb-save-incremental-fsync yes server-threads 10 min-clients-per-thread 6 server-thread-affinity true replica-read-only no user default on sanitize-payload #a8705cb7d7d5f38f884767df091b6ad13a2d80fe51a52fbf49a7bbe0c621820b ~* &* +@all