checkpoint -- works mostly the same as upstream module but for PXC