Will a namespace TRUNCATE command be replicate via XDR?

Will a Truncate command on a namespace that has XDR enabled clear out the destination namespace too?

The namespace and XDR are configured like this:

xdr {
    enable-xdr true
    xdr-digestlog-path /opt/aerospike/xdr/digestlog 4G
    datacenter migration {
        dc-node-address-port IP_address 3000
    }
}

#namespace
namespace test {
        ...
        enable-xdr true
        xdr-remote-datacenter migration
        ...
        }
}

I assumed this was the expected behavior. However even after I truncate the source namespace and verify that it is empty, the destination namespace still has the data.

Is this the expected behavior of XDR?

XDR, will not propagate truncate to the destination, one will have to truncate separately on the destination.

1 Like

This topic was automatically closed 84 days after the last reply. New replies are no longer allowed.