Initial revision for redis flush