As of our 20.1 release, CockroachDB supports online primary key changes. This means that it's now possible to change the primary key of a table while performing read and write operations on the table.