DataStax Academy FAQ

DataStax Academy migrated to a new learning management system (LMS) in July 2020. We are also moving to a new Cassandra Certification process so there are changes to exam bookings, voucher system and issuing of certificates.

Check out the Academy FAQ pages for answers to your questions:


question

rashmimisal07_190319 avatar image
rashmimisal07_190319 asked ·

How can I check replication is happening between 2 data centers?

How do you check replication is happening between 2 data centers in

different geographical location?

replication
10 |1000 characters needed characters left characters exceeded

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.

1 Answer

Erick Ramirez avatar image
Erick Ramirez answered ·

Replication happens in real time. If a keyspace is replicated to both DC1 and DC2, the writes will be sent at the same time to all replicas in all DCs.

If a replica happens to be down (for whatever reason), the coordinator of the write request will store a hint (mutation) provided the consistency level for the write has been satisfied. When the replica comes back online, the coordinator will handoff the hint (replay the missed mutation) to the replica.

You will know when replication isn't being satisfied when nodes go down, or when you see dropped mutations either in the logs or the output of nodetool tpstats. You would have learned all this when you completed the DS201 Cassandra Foundations and DS210 Cassandra Operations courses at the DataStax Academy when you got certified so I don't think I'm telling you anything you don't already know.

In any case, you can read more about the topic in Data replication in Cassandra. Cheers!

Share
10 |1000 characters needed characters left characters exceeded

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.