adding support for slave checkpoint