CAP: under a network partition, you must choose between consistency and availability.
AP (Cassandra): both sides keep accepting writes. They diverge during the partition; reconcile (last-write-wins, vector clocks) when partition heals. Available; not consistent.
CP (etcd, ZooKeeper): only the side with majority accepts writes. The minority side returns errors. Consistent; not fully available.