Checkpoint object replacement with std::pair & support for incompatible database removal