github.com/m3db/m3@v1.5.0/scripts/docker-integration-tests/replication/m3dbnode-cluster-b.yml (about)

     1  db:
     2    hostID:
     3      resolver: environment
     4      envVarName: M3DB_HOST_ID
     5  
     6    discovery:
     7      config:
     8        service:
     9          env: default_env
    10          zone: embedded
    11          service: m3db
    12          cacheDir: /var/lib/m3kv
    13          etcdClusters:
    14            - zone: embedded
    15              endpoints:
    16                - cluster_b_dbnode01:2379
    17        seedNodes:
    18          initialCluster:
    19            - hostID: cluster_b_m3db_local_1
    20              endpoint: http://cluster_b_dbnode01:2380
    21  
    22    # Disable repairs (within cluster b).
    23    repair:
    24      enabled: false
    25      # Repair settings still impact replication even if repairs
    26      # within the cluster are disabled.
    27      throttle: 1ms
    28      checkInterval: 1ms
    29  
    30    # Enable replication (from cluster a).
    31    replication:
    32      clusters:
    33        - name: "cluster-a"
    34          repairEnabled: true
    35          client:
    36            config:
    37              service:
    38                env: default_env
    39                zone: embedded
    40                service: m3db
    41                cacheDir: /var/lib/m3kv
    42                etcdClusters:
    43                  - zone: embedded
    44                    endpoints:
    45                      - cluster_a_dbnode01:2379