Read gtid and run number for redis
Write gtid and run to redis