Multiple cluster nodes is showing cluster timeout

Client side code

client, err := aerospike.NewClientWithPolicyAndHost(aerospike.NewClientPolicy(), aerospike.NewHost("127.0.0.1", 3000), aerospike.NewHost("127.0.0.1", 4000))

aerospike configs

service {
    user root
    group root
    pidfile /var/run/aerospike/asd.pid
    proto-fd-max 15000
}

logging {
    file /dev/null {
    context any info
    }

    console {
        context any info
    }
}

network {
    service {
        address any
        port 3000
        access-address 172.18.0.3
    }

    heartbeat {
        address any
        mode mesh
        port 3002
        mesh-seed-address-port host.docker.internal 3002 # OK to have local node
        mesh-seed-address-port host.docker.internal 4002
        interval 150
        timeout 10
    }

    fabric {
        address any
        port 3001
    }
}

namespace abcd {
    replication-factor 2
    memory-size 1024M
    default-ttl 0 # 5 days, use 0 to never expire/evict.
    nsup-period 120
    storage-engine memory
    # To use file storage backing, comment out the line above and use the
    # following lines instead.
    storage-engine device {
        file /opt/aerospike/data/abcd.dat
        filesize 1G
        data-in-memory true # Store data in memory in addition to file.
    }
}

You have two storage engines defined for abcd - this can cause unexpected behavior.

Otherwise can you share the output of:

asadm -e "info"