CR changes: passed error code as a 2nd parameter of getDbNodeHeartbeat()