Note: This term may have other meanings in other contexts. Here, we are defining it in the context of a distributed database.
The Replication Layer is the layer of distributed database software that copies data between nodes and ensures consistency between these copies. In CockroachDB, this is accomplished by implementing the Raft consensus protocol.