[FIX] history id tracking with redis