Good day,
I am probably doing something wrong here so any help would be appreciated. I am running KeyDB on a kubernetes cluster as 3 headless pods backed by 8 Gig statefulsets. They do not have much data but I keep on running out of space for some reason.
redis-master-0:
# Keyspace
db0:keys=39,expires=0,avg_ttl=0
db6:keys=493,expires=0,avg_ttl=0
db7:keys=5,expires=5,avg_ttl=333500870
db8:keys=2,expires=0,avg_ttl=0
db9:keys=1,expires=0,avg_ttl=0
My configuration is:
exec keydb-server /etc/keydb/redis.conf \
--active-replica yes \
--multi-master yes \
--appendonly yes \
--save "" \
--bind 0.0.0.0 \
--port "${PORT}" \
--protected-mode no \
--server-threads 4 \
--repl-diskless-sync no \
--repl-timeout 600 \
"REPLICAS[@]}"
Errors that may help?
1:12:S 17 Feb 2021 16:46:38.373 * Full resync requested by replica 127.0.0.1:6379
1:12:S 17 Feb 2021 16:46:38.373 * Waiting for end of BGSAVE for SYNC
1:12:S 17 Feb 2021 16:46:38.453 # Background saving terminated by signal 11
1:12:S 17 Feb 2021 16:46:38.454 # Connection with replica 127.0.0.1:6379 lost.
1:12:S 17 Feb 2021 16:46:38.454 # SYNC failed. BGSAVE child returned an error
1:12:S 17 Feb 2021 16:46:38.454 # Connection with replica 127.0.0.1:6379 lost.
1:12:S 17 Feb 2021 16:46:38.454 # SYNC failed. BGSAVE child returned an error
1:12:S 17 Feb 2021 16:46:39.262 * Connecting to MASTER redis-master-1.redis-headless:6379
1:12:S 17 Feb 2021 16:46:39.264 * MASTER <-> REPLICA sync started
1:12:S 17 Feb 2021 16:46:39.264 * Non blocking connect for SYNC fired the event.
1:12:S 17 Feb 2021 16:46:39.266 * Master replied to PING, replication can continue...
1:12:S 17 Feb 2021 16:46:39.269 * Partial resynchronization not possible (no cached master)
1:12:S 17 Feb 2021 16:46:39.271 * Full resync from master: 1a96aa9c9141db4f5dee262e34e9a3a105b167f8:13342
1:12:S 17 Feb 2021 16:46:42.272 # I/O error reading bulk count from MASTER: Resource temporarily unavailable
1:12:S 17 Feb 2021 16:46:42.275 * Replica 127.0.0.1:6379 asks for synchronization
1:12:S 17 Feb 2021 16:46:42.275 * Full resync requested by replica 127.0.0.1:6379
1:12:S 17 Feb 2021 16:46:42.275 * Replication backlog created, my new replication IDs are 'ab5eb9631be42ce7daa6219d6a402165c90d24cd' and '0000000000000000000000000000000000000000'
1:12:S 17 Feb 2021 16:46:42.275 * Starting BGSAVE for SYNC with target: disk
1:12:S 17 Feb 2021 16:46:42.276 * Background saving started by pid 75087
1:12:S 17 Feb 2021 16:46:42.276 * Replica 127.0.0.1:6379 asks for synchronization
1:12:S 17 Feb 2021 16:46:42.276 * Full resync requested by replica 127.0.0.1:6379
1:12:S 17 Feb 2021 16:46:42.276 * Waiting for end of BGSAVE for SYNC
1:12:S 17 Feb 2021 16:46:42.373 # Background saving terminated by signal 11
1:12:S 17 Feb 2021 16:46:42.373 # Connection with replica 127.0.0.1:6379 lost.
1:12:S 17 Feb 2021 16:46:42.373 # SYNC failed. BGSAVE child returned an error
1:12:S 17 Feb 2021 16:46:42.373 # Connection with replica 127.0.0.1:6379 lost.
1:12:S 17 Feb 2021 16:46:42.373 # SYNC failed. BGSAVE child returned an error
1:12:S 17 Feb 2021 16:46:43.176 * Connecting to MASTER redis-master-2.redis-headless:6379
1:12:S 17 Feb 2021 16:46:43.178 * MASTER <-> REPLICA sync started
1:12:S 17 Feb 2021 16:46:43.178 * Non blocking connect for SYNC fired the event.
1:12:S 17 Feb 2021 16:46:43.180 * Master replied to PING, replication can continue...
1:12:S 17 Feb 2021 16:46:43.181 * Partial resynchronization not possible (no cached master)
1:12:S 17 Feb 2021 16:46:43.183 * Full resync from master: 31b695e92d8dc8eb7855fbe78e36cb860c1a9ce4:11456
Thanks!
Curt